[libxml2/f18] add ppc64p7 as valid arch to config.sub https://fedoraproject.org/wiki/Features/Power7Subarch

Karsten Hopp karsten at fedoraproject.org
Thu May 16 09:13:59 UTC 2013


commit 73bbed01e1cdba4696f630f23109df2c0485ab83
Author: Karsten Hopp <karsten at redhat.com>
Date:   Thu May 16 12:14:05 2013 +0200

    add ppc64p7 as valid arch to config.sub
    https://fedoraproject.org/wiki/Features/Power7Subarch

 libxml2.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/libxml2.spec b/libxml2.spec
index ca2808f..14fae7a 100644
--- a/libxml2.spec
+++ b/libxml2.spec
@@ -1,7 +1,7 @@
 Summary: Library providing XML and HTML support
 Name: libxml2
 Version: 2.9.1
-Release: 1%{?dist}%{?extra_release}
+Release: 1%{?dist}%{?extra_release}.1
 License: MIT
 Group: Development/Libraries
 Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz
@@ -71,6 +71,8 @@ at parse time or later once the document has been modified.
 %patch0 -p1
 # workaround for #877567 - Very weird bug gzip decompression bug in "recent" libxml2 versions
 %patch1 -p1 -b .do-not-check-crc
+# Fedora only: ppc64p7 Power7 optimized subarch
+sed -i -e "s/ppc64-\*/ppc64-\* \| ppc64p7-\*/" config.sub
 
 %build
 %configure
@@ -153,6 +155,10 @@ rm -fr %{buildroot}
 %doc doc/python.html
 
 %changelog
+* Thu May 16 2013 Karsten Hopp <karsten at redhat.com> 2.9.1-1.1
+- add ppc64p7 as valid arch to config.sub
+  https://fedoraproject.org/wiki/Features/Power7Subarch
+
 * Fri Apr 19 2013 Daniel Veillard <veillard at redhat.com> - 2.9.1-1
 - upstream release of 2.9.1
 - a couple more API entry point


More information about the scm-commits mailing list