[gearmand/f21] fix library path for ppc64le

Karsten Hopp karsten at fedoraproject.org
Tue Sep 9 15:13:32 UTC 2014


commit 84952a9ee29cf4aa04995a378a87aa09d52711ef
Author: Karsten Hopp <karsten at redhat.com>
Date:   Tue Sep 9 17:14:12 2014 +0200

    fix library path for ppc64le

 gearmand-1.1.12-ppc64le.patch |   21 +++++++++++++++++++++
 gearmand.spec                 |    7 ++++++-
 2 files changed, 27 insertions(+), 1 deletions(-)
---
diff --git a/gearmand-1.1.12-ppc64le.patch b/gearmand-1.1.12-ppc64le.patch
new file mode 100644
index 0000000..4a6780b
--- /dev/null
+++ b/gearmand-1.1.12-ppc64le.patch
@@ -0,0 +1,21 @@
+diff -up gearmand-1.1.12/configure.ppc64le gearmand-1.1.12/configure
+--- gearmand-1.1.12/configure.ppc64le	2014-09-09 17:12:22.368039057 +0200
++++ gearmand-1.1.12/configure	2014-09-09 17:11:49.584039857 +0200
+@@ -16219,7 +16219,7 @@ $as_echo_n "checking for boostlib >= $bo
+                         libsubdirs="lib"
+     ax_arch=`uname -m`
+     case $ax_arch in
+-      x86_64|ppc64|s390x|sparc64|aarch64)
++      x86_64|ppc64*|s390x|sparc64|aarch64)
+         libsubdirs="lib64 lib lib64"
+         ;;
+     esac
+@@ -26051,7 +26051,7 @@ if ac_fn_c_try_compile "$LINENO"; then :
+ 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
+ 	 if test -n "$ac_prev"; then
+ 	   case $ac_word in
+-	     i?86 | x86_64 | ppc | ppc64)
++	     i?86 | x86_64 | ppc | ppc64*)
+ 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
+ 		 ac_arch=$ac_word
+ 	       else
diff --git a/gearmand.spec b/gearmand.spec
index 4ff2089..f3bac1b 100644
--- a/gearmand.spec
+++ b/gearmand.spec
@@ -16,7 +16,7 @@
 
 Name:           gearmand
 Version:        1.1.12
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        A distributed job system
 
 Group:          System Environment/Daemons
@@ -26,6 +26,7 @@ Source0:        https://launchpad.net/gearmand/1.2/%{version}/+download/gearmand
 Source1:        gearmand.init
 Source2:        gearmand.sysconfig
 Source3:        gearmand.service
+Patch0:		gearmand-1.1.12-ppc64le.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 # Fails to build on PPC.
 # See https://bugzilla.redhat.com/987104 and https://bugzilla.redhat.com/987109
@@ -123,6 +124,7 @@ Development headers for %{name}.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %if 0%{?el5}
   # libgearman-1.0 requires a header that's newer than what we have on EL5.
@@ -260,6 +262,9 @@ exit 0
 
 
 %changelog
+* Tue Sep 09 2014 Karsten Hopp <karsten at redhat.com> 1.1.12-7
+- fix library path for ppc64le
+
 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.12-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list