[pth] update pth-config for s390x and sparc64

Dan Horák sharkcz at fedoraproject.org
Wed Nov 16 17:39:00 UTC 2011


commit 2a5899b6f517459fda4196923e0c402a0eaebc7f
Author: Dan Horák <dan at danny.cz>
Date:   Wed Nov 16 18:38:55 2011 +0100

    update pth-config for s390x and sparc64

 pth-2.0.7-config-script.patch |    2 +-
 pth.spec                      |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/pth-2.0.7-config-script.patch b/pth-2.0.7-config-script.patch
index e235326..ff8881d 100644
--- a/pth-2.0.7-config-script.patch
+++ b/pth-2.0.7-config-script.patch
@@ -7,7 +7,7 @@ diff -Nur pth-2.0.7-orig/pth-config.in pth-2.0.7/pth-config.in
  
 +arch=$(uname -i)
 +case $arch in
-+    x86_64 | ppc64 | ia64 | s390 )
++    x86_64 | ppc64 | ia64 | s390x | sparc64 )
 +        pth_ldlibdir="/usr/lib64"
 +        if [ "$pth_libdir" == "/usr/lib" ] ; then
 +            pth_libdir=${pth_libdir}64
diff --git a/pth.spec b/pth.spec
index 398f293..9269b4d 100644
--- a/pth.spec
+++ b/pth.spec
@@ -1,7 +1,7 @@
 Summary:        The GNU Portable Threads library
 Name:           pth
 Version:        2.0.7
-Release:        13%{?dist}
+Release:        14%{?dist}
 License:        LGPLv2+
 Group:          System Environment/Libraries
 URL:            http://www.gnu.org/software/pth/
@@ -111,6 +111,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Nov 16 2011 Dan Horák <dan[at]danny.cz> - 2.0.7-14
+- update pth-config for s390x and sparc64
+
 * Mon Oct 31 2011 Michael Schwendt <mschwendt at fedoraproject.org> - 2.0.7-13
 - Let build fail if test_std fails.
 - Fix previous commit, so pth-config CFLAGS check passes again.


More information about the scm-commits mailing list