[perl-Package-Stash-XS] Use %{_fixperms} macro instead of our own chmod incantation

Paul Howarth pghmcfc at fedoraproject.org
Thu Jan 12 18:56:47 UTC 2012


commit e8f0a3ba40c204cffb3c1546598208dcc1dda38c
Author: Paul Howarth <paul at city-fan.org>
Date:   Thu Jan 12 18:56:26 2012 +0000

    Use %{_fixperms} macro instead of our own chmod incantation

 perl-Package-Stash-XS.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/perl-Package-Stash-XS.spec b/perl-Package-Stash-XS.spec
index b7a3198..9869e18 100644
--- a/perl-Package-Stash-XS.spec
+++ b/perl-Package-Stash-XS.spec
@@ -1,6 +1,6 @@
 Name:		perl-Package-Stash-XS
 Version:	0.25
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Faster and more correct implementation of the Package::Stash API
 Group:		Development/Libraries
 License:	GPL+ or Artistic
@@ -61,7 +61,7 @@ make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
 find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
-chmod -R u+w %{buildroot}
+%{_fixperms} %{buildroot}
 
 %check
 make test AUTHOR_TESTING=1 RELEASE_TESTING=1
@@ -77,6 +77,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Package::Stash::XS.3pm*
 
 %changelog
+* Thu Jan 12 2012 Paul Howarth <paul at city-fan.org> - 0.25-2
+- Use %%{_fixperms} macro instead of our own chmod incantation
+
 * Tue Sep  6 2011 Paul Howarth <paul at city-fan.org> - 0.25-1
 - Update to 0.25
   - Invalid package names (for instance, Foo:Bar) are not allowed


More information about the scm-commits mailing list