- enable ppc64le otherwise default rpm cflags will be used

This commit is contained in:
Dan Horák 2014-03-24 17:27:07 +01:00
parent 6e5c1076ec
commit bca39317e9
2 changed files with 19 additions and 1 deletions

View File

@ -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

View File

@ -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 <dan[at]danny.cz> - 9.1.0-58
- enable ppc64le otherwise default rpm cflags will be used
* Fri Feb 07 2014 Panu Matilainen <pmatilai@redhat.com> - 9.1.0-57
- config.guess/sub don't need to be group-writable (#1061762)