diff --git a/.gitignore b/.gitignore index 9e010ba..c8ebb98 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -Module-Find-0.08.tar.gz +/Module-Find-0.10.tar.gz diff --git a/perl-Module-Find-changes.patch b/perl-Module-Find-changes.patch deleted file mode 100644 index 9a63be0..0000000 --- a/perl-Module-Find-changes.patch +++ /dev/null @@ -1,17 +0,0 @@ -2009-10-07 Stepan Kasal - - * Changes: fix utf-8 typo, add entry from Find.pm - ---- Module-Find-0.08/Changes.cha 2009-09-08 11:00:16.000000000 +0200 -+++ Module-Find-0.08/Changes 2009-10-07 16:16:11.000000000 +0200 -@@ -25,6 +25,9 @@ - - 0.06, 2008-01-26 - Module::Find now won't report duplicate modules several times -- anymore (thanks to Uwe Všlker for the report and the patch) -+ anymore (thanks to Uwe Völker for the report and the patch) - -+ 0.07, 2009-09-08 -+ Fixed RT#38302: Module::Find now follows symlinks by default -+ (can be disabled). - diff --git a/perl-Module-Find.spec b/perl-Module-Find.spec index d45a9d0..8e9b5d6 100644 --- a/perl-Module-Find.spec +++ b/perl-Module-Find.spec @@ -1,13 +1,12 @@ Name: perl-Module-Find -Version: 0.08 -Release: 5%{?dist} +Version: 0.10 +Release: 1%{?dist} Summary: Find and use installed modules in a (sub)category Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Module-Find/ Source0: http://www.cpan.org/authors/id/C/CR/CRENZ/Module-Find-%{version}.tar.gz -Patch0: perl-Module-Find-changes.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -18,14 +17,16 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi %description Module::Find lets you find and use modules in categories. This can be very -useful for auto-detecting driver or plugin modules. You can differentiate +useful for auto-detecting driver or plug-in modules. You can differentiate between looking in the category itself or in all subcategories. %prep %setup -q -n Module-Find-%{version} -%patch0 -p1 +# Generate Changes file from POD +perldoc -t Find.pm | + %{__perl} -n -e 'if (/^HISTORY/ ... !/^[[:space:]]/) { print if /^[[:space:]]/ }' > Changes %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -37,7 +38,7 @@ 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 -depth -type d -empty -exec rmdir {} ';' -%{_fixperms} $RPM_BUILD_ROOT/* +%{_fixperms} $RPM_BUILD_ROOT %check @@ -52,10 +53,16 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %doc Changes README examples/ %{perl_vendorlib}/Module/ -%{_mandir}/man3/*.3pm* +%{_mandir}/man3/Module::Find.3pm* %changelog +* Tue Mar 15 2011 Paul Howarth - 0.10-1 +- Update to 0.10: + - Fixed META.yml generation (CPAN RT#38302) + - Removed Unicode BOM from Find.pm (CPAN RT#55010) +- Generate Changes file from POD in Find.pm + * Tue Feb 08 2011 Fedora Release Engineering - 0.08-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/sources b/sources index 4d25aed..676eede 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6becb3eeba2da3dba180b9c90cd75e7b Module-Find-0.08.tar.gz +bdc4687d0782157e9335f4dc31369d01 Module-Find-0.10.tar.gz