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
Nurlan
eepm
Commits
5f14496a
Commit
5f14496a
authored
Dec 09, 2021
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack zoom: drop embedded libs from reqs
parent
6a5a6db3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
zoom.sh
repack.d/zoom.sh
+11
-3
No files found.
repack.d/zoom.sh
View file @
5f14496a
...
@@ -7,9 +7,17 @@ SPEC="$2"
...
@@ -7,9 +7,17 @@ SPEC="$2"
# TODO: s/freetype/libfreetype/
# TODO: s/freetype/libfreetype/
# see https://bugzilla.altlinux.org/show_bug.cgi?id=38892
# see https://bugzilla.altlinux.org/show_bug.cgi?id=38892
test
-f
/lib64/ld-linux-x86-64.so.2
&&
exit
if
[
!
-f
/lib64/ld-linux-x86-64.so.2
]
;
then
# drop x86_64 req from 32 bit binary
sed
-E
-i
-e
"s@/lib64/ld-linux-x86-64.so.2@/lib/ld-linux.so.2
\x
0________@"
$BUILDROOT
/opt/zoom/libQt5Core.so.
*
fi
#
drop x86_64 req from 32 bit binary
#
TODO: add all subdirs
s
ed
-E
-i
-e
"s@/lib64/ld-linux-x86-64.so.2@/lib/ld-linux.so.2
\x
0________@"
$BUILDROOT
/opt/zoom/libQt5Core.so.
*
s
ubst
's|%files|%files\n%dir /opt/zoom|'
$SPEC
subst
'1i%filter_from_requires /^mesa-dri-drivers(x86-32)/d'
$SPEC
subst
'1i%filter_from_requires /^mesa-dri-drivers(x86-32)/d'
$SPEC
# ignore embedded libs
for
i
in
libQt5 libav libfdkaac libmpg123 libquazip libturbojpeg libicu
;
do
subst
"1i%filter_from_requires /^
$i
.*/d"
$SPEC
done
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