Use %{_fixperms} macro instead of our own chmod incantation
This commit is contained in:
parent
d408e62f10
commit
e8f0a3ba40
@ -1,6 +1,6 @@
|
|||||||
Name: perl-Package-Stash-XS
|
Name: perl-Package-Stash-XS
|
||||||
Version: 0.25
|
Version: 0.25
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Faster and more correct implementation of the Package::Stash API
|
Summary: Faster and more correct implementation of the Package::Stash API
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: GPL+ or Artistic
|
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 .packlist -exec rm -f {} ';'
|
||||||
find %{buildroot} -type f -name '*.bs' -a -size 0 -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
|
find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
|
||||||
chmod -R u+w %{buildroot}
|
%{_fixperms} %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test AUTHOR_TESTING=1 RELEASE_TESTING=1
|
make test AUTHOR_TESTING=1 RELEASE_TESTING=1
|
||||||
@ -77,6 +77,9 @@ rm -rf %{buildroot}
|
|||||||
%{_mandir}/man3/Package::Stash::XS.3pm*
|
%{_mandir}/man3/Package::Stash::XS.3pm*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Sep 6 2011 Paul Howarth <paul@city-fan.org> - 0.25-1
|
||||||
- Update to 0.25
|
- Update to 0.25
|
||||||
- Invalid package names (for instance, Foo:Bar) are not allowed
|
- Invalid package names (for instance, Foo:Bar) are not allowed
|
||||||
|
Loading…
Reference in New Issue
Block a user