Extend the expat requirement to differentiate between 32 and 64 arches
(cherry picked from python3.15 commit a5ca170d3f1e6e19f5df66f21482c2b10593af42)
This commit is contained in:
parent
0b2d48a807
commit
2d0b50b214
1 changed files with 1 additions and 1 deletions
|
|
@ -585,7 +585,7 @@ Requires: tzdata
|
|||
# was used during the build time.
|
||||
# Other subpackages (like -debug) also need this, but they all depend on -libs.
|
||||
%global expat_version %(LANG=C rpm -q --qf '%%{version}' expat.%{_target_cpu} | sed 's/.*not installed/0/')
|
||||
Requires: expat >= %{expat_version}
|
||||
Requires: expat%{?_isa} >= %{expat_version}
|
||||
|
||||
|
||||
%description -n %{pkgname}-libs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue