[perl-PPI/el5] Use %{_fixperms} macro rather than our own chmod incantation

Paul Howarth pghmcfc at fedoraproject.org
Sun Mar 18 12:43:59 UTC 2012


commit 539efd9aa30fadac49890bda38d28cd2a9d3abe3
Author: Paul Howarth <paul at city-fan.org>
Date:   Sun Mar 18 12:35:30 2012 +0000

    Use %{_fixperms} macro rather than our own chmod incantation

 perl-PPI.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/perl-PPI.spec b/perl-PPI.spec
index 274abba..1eef634 100644
--- a/perl-PPI.spec
+++ b/perl-PPI.spec
@@ -41,7 +41,7 @@ make %{?_smp_mflags}
 rm -rf $RPM_BUILD_ROOT
 make pure_install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
+%{_fixperms} $RPM_BUILD_ROOT
 
 %check
 make test
@@ -63,6 +63,7 @@ rm -rf $RPM_BUILD_ROOT
 - Don't use macros for commands
 - Use DESTDIR rather than PERL_INSTALL_ROOT
 - Don't need to remove empty directories from buildroot
+- Use %%{_fixperms} macro rather than our own chmod incantation
 
 * Wed Dec 19 2007 Tom "spot" Callaway <tcallawa at redhat.com> - 1.201-1
 - bump to 1.201



More information about the perl-devel mailing list