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
9364416c
Commit
9364416c
authored
10 months ago
by
Boris Yumankulov
Committed by
Vitaly Lipatov
5 months ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add_unirequires: add 32 bit libs support (eterbug #17360)
parent
bd2ac4b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
common.sh
repack.d/common.sh
+9
-1
No files found.
repack.d/common.sh
View file @
9364416c
...
...
@@ -356,9 +356,17 @@ add_unirequires()
if
[
"
$EPMARCH
"
=
"64"
]
;
then
local
req reqs
reqs
=
''
while
IFS
=
read
-r
file
;
do
if
file
"
$file
"
|
grep
-q
"ELF 32-bit"
;
then
X32_ARCH
=
"true"
break
fi
done
< <
(
find
"
$BUILDROOT
"
-type
f
-executable
)
for
req
in
$*
;
do
reqs
=
"
$reqs
$req
"
echo
"
$req
"
|
grep
"^lib.*
\.
so"
|
grep
-q
-v
-F
"(64bit)"
&&
reqs
=
"
$reqs
"
'()(64bit)'
if
[
"
$X32_ARCH
"
!=
"true"
]
;
then
echo
"
$req
"
|
grep
"^lib.*
\.
so"
|
grep
-q
-v
-F
"(64bit)"
&&
reqs
=
"
$reqs
"
'()(64bit)'
fi
done
subst
"1iRequires:
$reqs
"
$SPEC
else
...
...
This diff is collapsed.
Click to expand it.
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