Arch macro for all supported PowerPC 64 processors (#818320)

This commit is contained in:
Phil Knirsch 2012-05-03 13:49:11 +02:00
parent f1acb5f031
commit 9d3171c03f
2 changed files with 21 additions and 1 deletions

14
rpm-4.9.1.3-power64.patch Normal file
View File

@ -0,0 +1,14 @@
diff -up rpm-4.9.1.3/macros.in.power64 rpm-4.9.1.3/macros.in
--- rpm-4.9.1.3/macros.in.power64 2012-05-03 13:34:17.000000000 +0200
+++ rpm-4.9.1.3/macros.in 2012-05-03 13:45:44.002388724 +0200
@@ -1038,6 +1038,10 @@ done \
%arm armv3l armv4b armv4l armv4tl armv5tel armv5tejl armv6l armv7l armv7hl armv7hnl
#------------------------------------------------------------------------------
+# arch macro for all supported PowerPC 64 processors
+%power64 ppc64 ppc64p7
+
+#------------------------------------------------------------------------------
# arch macro for all supported Sparc processors
%sparc sparc sparcv8 sparcv9 sparcv9v sparc64 sparc64v

View File

@ -21,7 +21,7 @@
Summary: The RPM package management system
Name: rpm
Version: %{rpmver}
Release: %{?snapver:0.%{snapver}.}5%{?dist}
Release: %{?snapver:0.%{snapver}.}6%{?dist}
Group: System Environment/Base
Url: http://www.rpm.org/
Source0: http://rpm.org/releases/rpm-4.9.x/%{name}-%{srcver}.tar.bz2
@ -43,6 +43,8 @@ Patch5: rpm-4.9.0-armhfp.patch
Patch6: rpm-4.9.0-armhfp-logic.patch
# Fix installplatform for ppc64p7
Patch7: rpm-4.9.1.3-ppc64p7-platform.patch
# Arch macro for all IBM Power 64bit archs
Patch8: rpm-4.9.1.3-power64.patch
# Patches already in upstream
@ -263,6 +265,7 @@ packages on a system.
%endif
%patch7 -p1 -b .ppc64p7-platform
%patch8 -p1 -b .power64
%if %{with int_bdb}
ln -s db-%{bdbver} db
@ -476,6 +479,9 @@ exit 0
%doc COPYING doc/librpm/html/*
%changelog
* Thu May 03 2012 Phil Knirsch <pknirsch@redhat.com> 4.9.1.3-6
- Arch macro for all supported PowerPC 64 processors (#818320)
* Mon Apr 30 2012 Phil Knirsch <pknirsch@redhat.com> 4.9.1.3-5
- Fixed missing lib64 library support for ppc64p7 (#817282)