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
5cafd5c3
Commit
5cafd5c3
authored
Dec 17, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm requires: add support for --short
parent
69eb3292
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
epm-requires
bin/epm-requires
+6
-1
No files found.
bin/epm-requires
View file @
5cafd5c3
...
...
@@ -30,7 +30,12 @@ epm_requires_files()
case
"
$PKGTYPE
"
in
rpm
)
assure_exists rpm
>
/dev/null
docmd rpm
-q
--requires
-p
$pkg_files
|
grep
-v
"^rpmlib("
|
grep
-v
"^/bin/sh$"
if
[
-n
"
$short
"
]
;
then
# TODO see also rpmreqs from etersoft-build-utils
docmd rpm
-q
--requires
-p
$pkg_files
|
grep
-v
"^rpmlib("
|
grep
-v
"^/bin/sh$"
|
grep
-v
"^/bin/bash"
|
grep
-v
"rtld(GNU_HASH)"
|
sed
-e
"s| .*||"
else
docmd rpm
-q
--requires
-p
$pkg_files
|
grep
-v
"^rpmlib("
|
grep
-v
"^/bin/sh$"
|
grep
-v
"^/bin/bash"
|
grep
-v
"rtld(GNU_HASH)"
fi
;;
deb
)
assure_exists dpkg
>
/dev/null
...
...
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