diff --git a/redhat-rpm-config-9.1.0-ppc64le.patch b/redhat-rpm-config-9.1.0-ppc64le.patch new file mode 100644 index 0000000..29448cc --- /dev/null +++ b/redhat-rpm-config-9.1.0-ppc64le.patch @@ -0,0 +1,11 @@ +diff -up redhat-rpm-config-9.1.0/rpmrc.ppc64le redhat-rpm-config-9.1.0/rpmrc +--- redhat-rpm-config-9.1.0/rpmrc.ppc64le 2014-03-24 17:20:09.000000000 +0100 ++++ redhat-rpm-config-9.1.0/rpmrc 2014-03-24 17:20:53.000000000 +0100 +@@ -28,6 +28,7 @@ optflags: ppc %{__global_cflags} -m32 + optflags: ppciseries %{__global_cflags} -m32 + optflags: ppcpseries %{__global_cflags} -m32 + optflags: ppc64 %{__global_cflags} -m64 ++optflags: ppc64le %{__global_cflags} -m64 + optflags: ppc64iseries %{__global_cflags} -m64 + optflags: ppc64pseries %{__global_cflags} -m64 + optflags: ppc8260 %{__global_cflags} -m32 diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index 1c3be92..840b15c 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -1,7 +1,7 @@ Summary: Red Hat specific rpm configuration files Name: redhat-rpm-config Version: 9.1.0 -Release: 57%{?dist} +Release: 58%{?dist} # No version specified. License: GPL+ Group: Development/System @@ -71,6 +71,9 @@ Patch26: redhat-rpm-config-9.1.0-unversioned-docdirs.patch # Enable "-Werror=format-security" by default Patch27: redhat-rpm-config-9.1.0-strict-format.patch %endif +# enable ppc64le otherwise default rpm cflags will be used +Patch28: redhat-rpm-config-9.1.0-ppc64le.patch + BuildArch: noarch Requires: coreutils @@ -117,6 +120,7 @@ Red Hat specific rpm configuration files. %endif %patch27 -p1 +%patch28 -p1 %build %install @@ -137,6 +141,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_sysconfdir}/rpm/* %changelog +* Mon Mar 24 2014 Dan HorĂ¡k - 9.1.0-58 +- enable ppc64le otherwise default rpm cflags will be used + * Fri Feb 07 2014 Panu Matilainen - 9.1.0-57 - config.guess/sub don't need to be group-writable (#1061762)