[perlbrew] clean up spec for modern rpmbuild

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 13c0fe8c2b15caba1f2eb287057578c2eb31cd8a
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Fri May 27 09:34:53 2011 +0200

    clean up spec for modern rpmbuild

 perlbrew.spec |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/perlbrew.spec b/perlbrew.spec
index 28736fb..2360a07 100644
--- a/perlbrew.spec
+++ b/perlbrew.spec
@@ -6,7 +6,6 @@ License:        MIT
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/App-perlbrew/
 Source0:        http://www.cpan.org/authors/id/G/GU/GUGOD/App-perlbrew-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl >= 1:5.8.0
 BuildRequires:  perl(Devel::PatchPerl)
@@ -42,8 +41,6 @@ almost like an isolated perl environments.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install DESTDIR=$RPM_BUILD_ROOT
 
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -54,9 +51,6 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %doc Changes LICENSE README
 %{perl_vendorlib}/*
@@ -67,6 +61,7 @@ rm -rf $RPM_BUILD_ROOT
 %changelog
 * Fri May 27 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.22-1
 - update to latest upstream version
+- clean up spec for modern rpmbuild
 
 * Wed May 11 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.20-1
 - update to latest upstream version
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux