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
1
Merge Requests
1
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
c3df2fbf
Commit
c3df2fbf
authored
Dec 31, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmreqs: fix symbol version stripping to preserve () for apt
parent
7e547ae4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
rpmreqs
bin/rpmreqs
+2
-2
No files found.
bin/rpmreqs
View file @
c3df2fbf
...
...
@@ -19,7 +19,7 @@ fi
# moved from aptU
get_rpm_package_requires
()
{
(
rpmquery
--requires
"
$@
"
||
return
)
|
cut
-f1
-d
" "
|
sed
-e
"s|
\(
^lib.*
\)
(.*[0-9])|
\1
|g"
|
grep
-v
"^rpmlib"
|
sort
-u
(
rpmquery
--requires
"
$@
"
||
return
)
|
cut
-f1
-d
" "
|
sed
-e
's|\(^lib.*\)(.*[0-9])|\1()|g'
|
grep
-v
"^rpmlib"
|
sort
-u
}
filter_pkgname
()
...
...
@@ -143,7 +143,7 @@ trans_rpmdeps_to_pkgname_lav()
# FIXME: strange regexp for drop libNAME.so.NUM and perl(Package) and /bin/sh
REALPKGNAMELIST
=
$(
estrlist reg_exclude
".*
\.
so
\.
.* .*/.* .*(.*"
"
$REQLIST
"
)
# FIXME: external list? Set priorities/
REQCONVLIST
=
"
$(
estrlist exclude
"
$REALPKGNAMELIST
"
"
$REQLIST
"
| filter_multiple_provides
|
sed
-e
"s|
\(
[^)]
\)
(64bit)|
\1
.*(64bit)|g"
)
"
REQCONVLIST
=
"
$(
estrlist exclude
"
$REALPKGNAMELIST
"
"
$REQLIST
"
| filter_multiple_provides
)
"
# partially copied from aptU
#VIRTREQ=$(LANG=C apt-get install --print-uris $REQLIST 2>&1 | grep "is a virtual package provided by" | cut -f2 -d" " | sort -u)
...
...
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