add patch to fix libdir for ppc64

This commit is contained in:
Mark Goodwin 2011-12-15 15:28:03 +11:00
parent 657df18d6b
commit 9e8a202f66
3 changed files with 13 additions and 2 deletions

3
.gitignore vendored
View File

@ -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

View File

@ -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.

View File

@ -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