Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
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
korinf
etersoft-build-utils
Commits
478542eb
You need to sign in or sign up before continuing.
Commit
478542eb
authored
Mar 30, 2013
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use rpmreqs in get_rpmpkg_requires
parent
0da4d4a0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
rpmreqs
bin/rpmreqs
+3
-3
alt
share/eterbuild/functions/alt
+1
-1
No files found.
bin/rpmreqs
View file @
478542eb
...
@@ -16,8 +16,8 @@ if [ "$1" = "-h" ] || [ "$1" = "--help" ] ; then
...
@@ -16,8 +16,8 @@ if [ "$1" = "-h" ] || [ "$1" = "--help" ] ; then
exit
0
exit
0
fi
fi
#
copi
ed from aptU
#
mov
ed from aptU
get_rpm
pkg
_requires
()
get_rpm
_package
_requires
()
{
{
rpmquery
--requires
$@
|
cut
-f1
-d
" "
|
sed
-e
"s|(.*[0-9])||g"
|
grep
-v
"^rpmlib"
|
sort
-u
rpmquery
--requires
$@
|
cut
-f1
-d
" "
|
sed
-e
"s|(.*[0-9])||g"
|
grep
-v
"^rpmlib"
|
sort
-u
}
}
...
@@ -181,6 +181,6 @@ passwdqc-control"
...
@@ -181,6 +181,6 @@ passwdqc-control"
estrlist union
$REQLIST
| estrlist list -
estrlist union
$REQLIST
| estrlist list -
}
}
REQLIST
=
$(
get_rpm
pkg
_requires
$@
)
||
fatal
"can't get primary requires"
REQLIST
=
$(
get_rpm
_package
_requires
$@
)
||
fatal
"can't get primary requires"
trans_rpmdeps_to_pkgname_lav
$REQLIST
trans_rpmdeps_to_pkgname_lav
$REQLIST
share/eterbuild/functions/alt
View file @
478542eb
...
@@ -118,6 +118,6 @@ pkg_release_check()
...
@@ -118,6 +118,6 @@ pkg_release_check()
# copied from aptU
# copied from aptU
get_rpmpkg_requires
()
get_rpmpkg_requires
()
{
{
rpmquery
--requires
$@
|
cut
-f1
-d
" "
|
sed
-e
"s|([A-Z].*||g"
|
grep
-v
"^rpmlib"
|
sort
-u
$ETERBUILDBIN
/rpmreqs
$@
}
}
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