[pcp] Revert "Rebuild for perl deps"
Peter Robinson
pbrobinson at fedoraproject.org
Tue Oct 11 15:28:38 UTC 2011
commit 06bf00fe21aa9005e0b8239087726f1f2b8a6d8c
Author: Peter Robinson <pbrobinson at gmail.com>
Date: Tue Oct 11 16:26:28 2011 +0100
Revert "Rebuild for perl deps"
This reverts commit 6e1079efccffbf2d1c7c27e761d453ce21f8004b.
pcp.spec | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/pcp.spec b/pcp.spec
index 5012b9c..36a17c3 100644
--- a/pcp.spec
+++ b/pcp.spec
@@ -1,13 +1,15 @@
Summary: System-level performance monitoring and performance management
Name: pcp
Version: 3.5.0
-Release: 2%{?dist}
+%define buildversion 1
+Release: %{buildversion}%{?dist}.1
License: GPLv2
URL: http://oss.sgi.com/projects/pcp
Group: Applications/System
Source0: ftp://oss.sgi.com/projects/pcp/download/pcp-%{version}-%{buildversion}.src.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: procps autoconf bison flex ncurses-devel readline-devel
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: initscripts
@@ -165,10 +167,14 @@ autoconf
# needs some tweaks before that will work correctly (TODO).
./configure --libdir=%{_libdir} --libexecdir=%{_libexecdir}
+%clean
+rm -Rf $RPM_BUILD_ROOT
+
%build
make default_pcp
%install
+rm -Rf $RPM_BUILD_ROOT
export DIST_ROOT=$RPM_BUILD_ROOT
make install_pcp
@@ -321,9 +327,6 @@ fi
%defattr(-,root,root)
%changelog
-* Tue Oct 11 2011 Peter Robinson <pbrobinson at fedoraproject.org> - 3.5.0-2
-- Rebuild for perl deps
-
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.5.0-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list