Fix find option order. Use fixperms macro instead of our own chmod

incantation.
f38
Steven Pritchard 17 years ago
parent e02e8fdcf9
commit 7788bc767e

@ -1,6 +1,6 @@
Name: perl-DBD-SQLite Name: perl-DBD-SQLite
Version: 1.14 Version: 1.14
Release: 1%{?dist} Release: 2%{?dist}
Summary: Self Contained RDBMS in a DBI Driver Summary: Self Contained RDBMS in a DBI Driver
Group: Development/Libraries Group: Development/Libraries
@ -43,8 +43,8 @@ rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/* %{_fixperms} $RPM_BUILD_ROOT/*
%check %check
@ -64,6 +64,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Wed Dec 19 2007 Steven Pritchard <steve@kspei.com> 1.14-2
- Fix find option order.
- Use fixperms macro instead of our own chmod incantation.
* Mon Dec 10 2007 Robin Norwood <rnorwood@redhat.com> - 1.14-1 * Mon Dec 10 2007 Robin Norwood <rnorwood@redhat.com> - 1.14-1
- Update to latest upstream version: 1.14 - Update to latest upstream version: 1.14
- Remove patch - no longer needed. - Remove patch - no longer needed.

Loading…
Cancel
Save