[packages/rpm] rename FORCE_RPMRC_GNU->APPEND_TARGET_ABI to better express intention
atler
atler at pld-linux.org
Sun Mar 28 19:22:23 CEST 2021
commit 95f0c2a4dad0d3e1f8e49081ac01f7ce9beae646
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Mar 28 18:19:13 2021 +0200
rename FORCE_RPMRC_GNU->APPEND_TARGET_ABI to better express intention
x32.patch | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/x32.patch b/x32.patch
index 75e134d..c057d1b 100644
--- a/x32.patch
+++ b/x32.patch
@@ -101,7 +101,7 @@ diff -ur rpm-4.16.1.2/installplatform rpm-4.16.1.2.x32/installplatform
ARCH_INSTALL_POST='%{nil}'
LIB=lib
+ TARGETCPU="%{_target_cpu}"
-+ FORCE_RPMRC_GNU=
++ APPEND_TARGET_ABI=
# XXX FIXME: incomplete and quite likely wrong too in places,
# consult various arch folks for correct names etc.
@@ -117,7 +117,7 @@ diff -ur rpm-4.16.1.2/installplatform rpm-4.16.1.2.x32/installplatform
+ ISABITS=x32
+ CANONARCH=x32
+ CANONCOLOR=7
-+ FORCE_RPMRC_GNU="%{?_gnu}"
++ APPEND_TARGET_ABI=1
+ TARGETCPU="x86_64"
;;
ia64)
@@ -142,7 +142,7 @@ diff -ur rpm-4.16.1.2/installplatform rpm-4.16.1.2.x32/installplatform
-e "s, at RPMCANONARCH@,$CANONARCH,g" \
-e "s, at RPMCANONCOLOR@,$CANONCOLOR," \
-e "s, at RPMRC_GNU@,$RPMRC_GNU," \
-+ -e "s, at FORCE_RPMRC_GNU@,$FORCE_RPMRC_GNU," \
++ -e "s, at TARGET_ABI@,${APPEND_TARGET_ABI:+%{?_gnu\}}," \
+ -e "s, at TARGETCPU@,$TARGETCPU," \
-e "s, at LIB@,$LIB," \
-e "s, at ARCH_INSTALL_POST@,$ARCH_INSTALL_POST," \
@@ -155,7 +155,7 @@ diff -ur rpm-4.16.1.2/platform.in rpm-4.16.1.2.x32/platform.in
%_os @RPMCANONOS@
%_gnu @RPMRC_GNU@
-%_target_platform %{_target_cpu}-%{_vendor}-%{_target_os}
-+%_target_platform @TARGETCPU at -%{_vendor}-%{_target_os}@FORCE_RPMRC_GNU@
++%_target_platform @TARGETCPU at -%{_vendor}-%{_target_os}@TARGET_ABI@
%optflags @RPMRC_OPTFLAGS@
%__isa_name @ISANAME@
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/afd1289ea1b9cde0efd428b0fc080248522259b4
More information about the pld-cvs-commit
mailing list