[liborcus] add support for ppc64le

Jaromír Cápík jcapik at fedoraproject.org
Mon May 5 20:42:53 UTC 2014


commit 236025928c6c9c3fb121165dd2a37a0b018ddff9
Author: Jaromir Capik <jcapik at redhat.com>
Date:   Mon May 5 22:43:03 2014 +0200

    add support for ppc64le

 add-ppc64le.patch |   12 ++++++++++++
 liborcus.spec     |    6 +++++-
 2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/add-ppc64le.patch b/add-ppc64le.patch
new file mode 100644
index 0000000..a1b96fb
--- /dev/null
+++ b/add-ppc64le.patch
@@ -0,0 +1,12 @@
+diff -Naur liborcus-0.5.1.orig/configure liborcus-0.5.1/configure
+--- liborcus-0.5.1.orig/configure	2014-05-05 22:38:01.000000000 +0200
++++ liborcus-0.5.1/configure	2014-05-05 22:38:32.995207633 +0200
+@@ -15335,7 +15335,7 @@
+ 
+                         libsubdirs="lib"
+     ax_arch=`uname -m`
+-    if test $ax_arch = x86_64 -o $ax_arch = aarch64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then
++    if test $ax_arch = x86_64 -o $ax_arch = aarch64 -o $ax_arch = ppc64 -o $ax_arch = ppc64le -o $ax_arch = s390x -o $ax_arch = sparc64; then
+         libsubdirs="lib64 lib lib64"
+     fi
+ 
diff --git a/liborcus.spec b/liborcus.spec
index ee16b2c..a4e2f9c 100644
--- a/liborcus.spec
+++ b/liborcus.spec
@@ -2,7 +2,7 @@
 
 Name: liborcus
 Version: 0.5.1
-Release: 6%{?dist}
+Release: 7%{?dist}
 Summary: Standalone file import filter library for spreadsheet documents
 
 Group: System Environment/Libraries
@@ -14,6 +14,7 @@ BuildRequires: boost-devel
 BuildRequires: pkgconfig(zlib)
 
 Patch0: add-aarch64.patch
+Patch1: add-ppc64le.patch
 
 %description
 %{name} is a standalone file import filter library for spreadsheet
@@ -91,6 +92,9 @@ make check %{?_smp_mflags}
 %{_bindir}/orcus-zip-dump
 
 %changelog
+* Mon May 05 2014 Jaromir Capik <jcapik at redhat.com> - 0.5.1-7
+- add support for ppc64le
+
 * Wed Jan 22 2014 David Tardon <dtardon at redhat.com> - 0.5.1-6
 - add support for aarch64
 


More information about the scm-commits mailing list