[pcp] add patch to fix libdir for ppc64

Mark Goodwin mgoodwin at fedoraproject.org
Thu Dec 15 04:29:14 UTC 2011


commit 9e8a202f6667b92ffdfd1f568a9489f95026fae2
Author: Mark Goodwin <mgoodwin at redhat.com>
Date:   Thu Dec 15 15:28:03 2011 +1100

    add patch to fix libdir for ppc64

 .gitignore |    3 +++
 pcp.spec   |    8 +++++++-
 sources    |    4 +++-
 3 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f8bff05..13afe42 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,6 @@
 pcp-3.3.3-1.src.tar.gz
 /pcp-3.5.0-1.src.tar.gz
 /pcp-3.5.11-1.src.tar.gz
+/pcp.spec
+/pcp_configure_ppc64.patch
+/pcp-3.5.11-2.src.tar.gz
diff --git a/pcp.spec b/pcp.spec
index 50a1c2d..fb48e15 100644
--- a/pcp.spec
+++ b/pcp.spec
@@ -1,7 +1,7 @@
 Summary: System-level performance monitoring and performance management
 Name: pcp
 Version: 3.5.11
-%define buildversion 1
+%define buildversion 2
 
 Release: %{buildversion}%{?dist}
 License: GPLv2
@@ -17,6 +17,8 @@ BuildRequires: initscripts
 Requires: bash gawk sed grep fileutils findutils initscripts
 Requires: pcp-libs = %{version}
 
+Patch0: pcp_configure_ppc64.patch
+
 %define _pmdasdir %{_localstatedir}/lib/pcp/pmdas
 
 %description
@@ -179,6 +181,7 @@ into standard PCP archive logs for replay with any PCP monitoring tool.
 
 %prep
 %setup -q
+%patch0 -p1
 autoconf
 
 # The standard 'configure' macro should be used here, but configure.in
@@ -351,6 +354,9 @@ fi
 %defattr(-,root,root)
 
 %changelog
+* Thu Dec 15 2011 Mark Goodwin - 3.5.11-2
+- patched configure.in for libdir=/usr/lib64 on ppc64
+
 * Thu Dec 01 2011 Mark Goodwin - 3.5.11-1
 - Update to latest PCP sources.
 
diff --git a/sources b/sources
index e433063..c2311e8 100644
--- a/sources
+++ b/sources
@@ -1 +1,3 @@
-984e2e26fe8c79f0bd0bf4ce70caf919  pcp-3.5.11-1.src.tar.gz
+85b8c4161befe31f2ebc966c3f2b91a2  pcp.spec
+61d6cfe28eb9061ba66f5df924a692c4  pcp_configure_ppc64.patch
+984e2e26fe8c79f0bd0bf4ce70caf919  pcp-3.5.11-2.src.tar.gz


More information about the scm-commits mailing list