[perl-Config-GitLike] clean up spec for modern rpmbuild

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

 



commit 1ae95b68b00537cbc8c73842e429ce489ed0a232
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Sun Aug 19 10:09:47 2012 -0600

    clean up spec for modern rpmbuild

 perl-Config-GitLike.spec |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/perl-Config-GitLike.spec b/perl-Config-GitLike.spec
index 6b8333f..84616bf 100644
--- a/perl-Config-GitLike.spec
+++ b/perl-Config-GitLike.spec
@@ -6,7 +6,6 @@ License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Config-GitLike/
 Source0:        http://search.cpan.org/CPAN/authors/id/A/AL/ALEXMV/Config-GitLike-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl >= 1:5.8.0
 BuildRequires:  perl(Any::Moose)
@@ -30,21 +29,15 @@ files, as well as create entirely new ones.
 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 {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %doc Changes
 %{perl_vendorlib}/*
@@ -53,6 +46,7 @@ rm -rf $RPM_BUILD_ROOT
 %changelog
 * Sun Aug 19 2012 Iain Arnell <iarnell@xxxxxxxxx> 1.09-1
 - update to latest upstream version
+- clean up spec for modern rpmbuild
 
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.08-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
--
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