Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
9b7d3929
Commit
9b7d3929
authored
May 14, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack: set Distribution: EEPM, fix epm status
parent
eb6b7ae2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
epm-status
bin/epm-status
+3
-1
generic.sh
repack.d/generic.sh
+1
-0
No files found.
bin/epm-status
View file @
9b7d3929
...
...
@@ -173,7 +173,9 @@ epm_status_thirdparty()
local
distribution
distribution
=
"
$(
epm print field Distribution
for
"
$pkg
"
2>/dev/null
)
"
echo
"
$distribution
"
|
grep
-q
"^ALT"
||
return
0
echo
"
$distribution
"
|
grep
-q
"^ALT"
&&
return
1
echo
"
$distribution
"
|
grep
-q
"^EEPM"
&&
return
1
return
0
;;
*
)
fatal
"Unsupported
$BASEDISTRNAME
"
...
...
repack.d/generic.sh
View file @
9b7d3929
...
...
@@ -70,6 +70,7 @@ set_rpm_field "Summary" "$PRODUCT (fixme: was empty Summary after alien)"
subst
"s|^
\(
Version: .*
\)
~.*|
\1
|"
$SPEC
# add our prefix to release
subst
"s|^Release: |Release: epm1.repacked.|"
$SPEC
set_rpm_field
"Distribution"
"EEPM"
subst
"s|^
\(
(Converted from a
\)
\(
.*
\)
\(
package.*
\)
|(Repacked from binary
\2
package with
$(
epm
--short
--version
)
)
\n\1
\2
\3
|"
$SPEC
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment