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

This commit is contained in:
Paul Howarth 2012-01-12 18:56:26 +00:00
parent d408e62f10
commit e8f0a3ba40

View File

@ -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@city-fan.org> - 0.25-2
- Use %%{_fixperms} macro instead of our own chmod incantation
* Tue Sep 6 2011 Paul Howarth <paul@city-fan.org> - 0.25-1
- Update to 0.25
- Invalid package names (for instance, Foo:Bar) are not allowed