add dist tag fix argument order in find command with -depth

This commit is contained in:
Paul Howarth 2006-09-17 08:34:20 +00:00
parent c8ab75fdc9
commit fdcff3bc51

View File

@ -1,7 +1,7 @@
Summary: I/O on in-core objects like strings and arrays for Perl
Name: perl-IO-stringy
Version: 2.110
Release: 3
Release: 4%{?dist}
License: GPL or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/IO-stringy/
@ -25,7 +25,7 @@ filehandles; in particular, IO::Scalar, IO::ScalarArray, and IO::Lines.
%{__rm} -rf %{buildroot}
%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
/usr/bin/find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
/usr/bin/find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
/usr/bin/find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%{__chmod} -R u+w %{buildroot}/*
%check
@ -41,6 +41,10 @@ filehandles; in particular, IO::Scalar, IO::ScalarArray, and IO::Lines.
%{_mandir}/man3/IO::*.3pm*
%changelog
* Sun Sep 17 2006 Paul Howarth <paul@city-fan.org> 2.110-4
- add dist tag
- fix argument order in find command with -depth
* Tue Aug 29 2006 Paul Howarth <paul@city-fan.org> 2.110-3
- use search.cpan.org download URL
- use full paths for all commands used in build