Author: kasal Update of /cvs/extras/rpms/perl-Sort-Versions/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16416 Modified Files: perl-Sort-Versions.spec Log Message: - Recode as UTF-8, fix argument order find with -depth, etc. Index: perl-Sort-Versions.spec =================================================================== RCS file: /cvs/extras/rpms/perl-Sort-Versions/devel/perl-Sort-Versions.spec,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- perl-Sort-Versions.spec 27 Feb 2009 01:35:25 -0000 1.8 +++ perl-Sort-Versions.spec 16 Mar 2009 14:21:56 -0000 1.9 @@ -1,12 +1,12 @@ Name: perl-Sort-Versions Version: 1.5 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Perl module for sorting of revision-like numbers License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Sort-Versions/ Source0: http://www.cpan.org/modules/by-module/Sort/Sort-Versions-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) @@ -25,6 +25,9 @@ %prep %setup -q -n Sort-Versions-%{version} +for f in Changes Versions.pm; do + iconv -f iso-8859-1 -t utf-8 <$f >${f}_ && mv ${f}_ $f +done %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -33,8 +36,9 @@ %install rm -rf $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 d -depth -exec rmdir {} 2>/dev/null ';' +find $RPM_BUILD_ROOT -depth \ + -type f -name .packlist -exec rm -f {} ';' -o \ + -type d -empty -exec rmdir {} ';' chmod -R u+w $RPM_BUILD_ROOT/* %clean @@ -50,6 +54,10 @@ %{_mandir}/man3/* %changelog +* Mon Mar 16 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 1.5-10 +- Recode as UTF-8, fix argument order find with -depth (both by Paul Howarth) +- Other minor cleanups + * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.5-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list