[perl-parent] Remove redundant spec elements

Paul Howarth pghmcfc at fedoraproject.org
Sat Aug 25 15:39:04 UTC 2012


commit 7812e5823876d39083569b1df9e839c52874852b
Author: Paul Howarth <paul at city-fan.org>
Date:   Sat Aug 25 16:34:09 2012 +0100

    Remove redundant spec elements
    
    - Don't need to remove empty directories from the buildroot
    - Drop %defattr, redundant since rpm 4.4

 perl-parent.spec |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/perl-parent.spec b/perl-parent.spec
index 0ecdc9c..b036062 100644
--- a/perl-parent.spec
+++ b/perl-parent.spec
@@ -1,7 +1,7 @@
 Name:		perl-parent
 Epoch:		1
 Version:	0.225
-Release:	241%{?dist}
+Release:	242%{?dist}
 Summary:	Establish an ISA relationship with base classes at compile time
 License:	GPL+ or Artistic
 Group:		Development/Libraries
@@ -41,7 +41,6 @@ make %{?_smp_mflags}
 rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
 %{_fixperms} %{buildroot}
 
 %check
@@ -51,12 +50,15 @@ make test
 rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root,-)
 %doc Changes
 %{perl_vendorlib}/parent.pm
 %{_mandir}/man3/parent.3pm*
 
 %changelog
+* Sat Aug 25 2012 Paul Howarth <paul at city-fan.org> - 1:0.225-242
+- Don't need to remove empty directories from the buildroot
+- Drop %%defattr, redundant since rpm 4.4
+
 * Wed Aug 15 2012 Petr Pisar <ppisar at redhat.com> - 1:0.225-241
 - Specify all dependencies
 


More information about the scm-commits mailing list