commit f7d19979d285f3a7e9cadd80594332363f5dbd9b
Author: Paul Howarth <p...@city-fan.org>
Date:   Tue Mar 29 13:16:09 2011 +0100

    Drop redundant (for modern rpm) BuildRoot tag and buildroot cleaning

 perl-Perl-Critic.spec |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/perl-Perl-Critic.spec b/perl-Perl-Critic.spec
index 92c9235..ad89fe0 100644
--- a/perl-Perl-Critic.spec
+++ b/perl-Perl-Critic.spec
@@ -7,7 +7,6 @@ Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Perl-Critic/
 Source0:        
http://search.cpan.org/CPAN/authors/id/E/EL/ELLIOTJS/Perl-Critic-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
@@ -87,18 +86,17 @@ also create new Policy modules that suit your own tastes.
 
 %prep
 %setup -q -n Perl-Critic-%{version}
-
 find . -type f -exec chmod -c -x {} +
 
+
 %build
 %{__perl} Build.PL installdirs=vendor
 ./Build
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-%{_fixperms} $RPM_BUILD_ROOT/*
+%{_fixperms} $RPM_BUILD_ROOT
 
 
 %check
@@ -108,10 +106,6 @@ rm -rf $RPM_BUILD_ROOT
 ./Build test
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
 %defattr(-,root,root,-)
 %doc Changes LICENSE README TODO.pod examples/ extras/ tools/
@@ -150,6 +144,7 @@ rm -rf $RPM_BUILD_ROOT
     block; this was fixed by PPI 1.215 (CPAN RT#64132)
 - bump PPI version requirement to 1.215
 - BR/R: perl(Pod::Parser)
+- drop redundant (for modern rpm) BuildRoot tag and buildroot cleaning
 
 * Mon Mar  7 2011 Marcela Mašláňová <mmasl...@redhat.com> - 1.113-1
 - update to 1.113
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-de...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to