[automake] add support for ppc64p7 arch (Power7 optimized)

Karsten Hopp karsten at fedoraproject.org
Wed Feb 20 19:46:14 UTC 2013


commit 88de120448f87f1ad3f0ef27a9388025be37e080
Author: Karsten Hopp <karsten at redhat.com>
Date:   Wed Feb 20 20:45:56 2013 +0100

    add support for ppc64p7 arch (Power7 optimized)

 automake.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/automake.spec b/automake.spec
index 7d2e362..9bf332a 100644
--- a/automake.spec
+++ b/automake.spec
@@ -3,7 +3,7 @@
 Summary:    A GNU tool for automatically creating Makefiles
 Name:       automake
 Version:    %{api_version}.1
-Release:    5%{?dist}
+Release:    6%{?dist}
 License:    GPLv2+ and GFDL
 Group:      Development/Tools
 Source:     ftp://ftp.gnu.org/gnu/automake/automake-%{version}.tar.xz
@@ -57,6 +57,8 @@ Makefiles.
 %patch1 -p1 -b .disable_tests
 %patch2 -p1 -b .non_existing_m4_dir
 autoreconf -i -f
+# Fedora only to add ppc64p7 (Power7 optimized) arch:
+perl -pi -e "s/ppc64-\*/ppc64-\* \| ppc64p7-\*/" lib/config.sub
 
 %build
 ./configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
@@ -93,6 +95,9 @@ fi
 %{_mandir}/man1/*
 
 %changelog
+* Wed Feb 20 2013 Karsten Hopp <karsten at redhat.com> 1.13.1-6
+- add support for ppc64p7 arch (Power7 optimized)
+
 * Thu Feb 14 2013 Pavel Raiskup <praiskup at redhat.com> - 1.13.1-5
 - Do not fail in aclocal when the first include directory does not exist
   (#901333)


More information about the scm-commits mailing list