[packages/rpm/rpm.org] - platform fixes - don't translate all ix86 to i386 - fix x32 color - it should be safe to always ap
baggins
baggins at pld-linux.org
Tue Oct 27 00:40:21 CET 2020
commit 5c979c25d86acbce9c978e4e5b1a39bb3bbf1a18
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Oct 27 00:39:25 2020 +0100
- platform fixes
- don't translate all ix86 to i386
- fix x32 color
- it should be safe to always apply aarch64 platform fix
ix86-platforms.patch | 11 +++++++++++
rpm.spec | 6 +++---
x32.patch | 3 ++-
3 files changed, 16 insertions(+), 4 deletions(-)
---
diff --git a/rpm.spec b/rpm.spec
index 5867562..c41eff4 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -26,7 +26,7 @@ Summary(ru.UTF-8): Менеджер пакетов от RPM
Summary(uk.UTF-8): Менеджер пакетів від RPM
Name: rpm
Version: 4.16.0
-Release: 0.1
+Release: 0.2
Epoch: 1
License: GPL v2 / LGPL v2.1
Group: Base
@@ -73,6 +73,7 @@ Patch18: rpmversion.patch
Patch19: pkgconfig.patch
Patch20: uname-deps.patch
Patch21: aarch64.patch
+Patch22: ix86-platforms.patch
URL: https://rpm.org/
BuildRequires: acl-devel
BuildRequires: db-devel >= %{db_ver}
@@ -559,9 +560,8 @@ Dokumentacja API RPM-a oraz przewodniki w formacie HTML generowane ze
%patch18 -p1
%patch19 -p1
%patch20 -p1
-%ifarch aarch64
%patch21 -p1
-%endif
+%patch22 -p1
install %{SOURCE15} scripts/perl.prov.in
diff --git a/ix86-platforms.patch b/ix86-platforms.patch
new file mode 100644
index 0000000..5d9f4c8
--- /dev/null
+++ b/ix86-platforms.patch
@@ -0,0 +1,11 @@
+--- rpm-4.16.0/installplatform.orig 2020-10-27 00:28:54.592595565 +0100
++++ rpm-4.16.0/installplatform 2020-10-27 00:31:27.676694730 +0100
+@@ -76,7 +76,7 @@
+ i?86|pentium?|athlon|geode)
+ ISANAME=x86
+ ISABITS=32
+- CANONARCH=i386
++ CANONARCH=${ARCH}
+ CANONCOLOR=0
+ ;;
+ x86_64|amd64|ia32e)
diff --git a/x32.patch b/x32.patch
index bef950e..5be418e 100644
--- a/x32.patch
+++ b/x32.patch
@@ -64,13 +64,14 @@ diff -ur rpm-4.15.1.orig/installplatform rpm-4.15.1/installplatform
ISANAME=x86
ISABITS=64
CANONARCH=x86_64
+- CANONCOLOR=3
+ CANONCOLOR=7
+ ;;
+ x32)
+ ISANAME=x86
+ ISABITS=32
+ CANONARCH=x32
- CANONCOLOR=3
++ CANONCOLOR=4
+ FORCE_RPMRC_GNU="${RPMRC_GNU}x32"
+ TARGETCPU="x86_64"
;;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/5c979c25d86acbce9c978e4e5b1a39bb3bbf1a18
More information about the pld-cvs-commit
mailing list