Update to 0.10

- New upstream release 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
epel9
Paul Howarth 14 years ago
parent b6e5ca4f58
commit 5b3029b40f

2
.gitignore vendored

@ -1 +1 @@
Module-Find-0.08.tar.gz /Module-Find-0.10.tar.gz

@ -1,17 +0,0 @@
2009-10-07 Stepan Kasal <skasal@redhat.com>
* 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).

@ -1,13 +1,12 @@
Name: perl-Module-Find Name: perl-Module-Find
Version: 0.08 Version: 0.10
Release: 5%{?dist} Release: 1%{?dist}
Summary: Find and use installed modules in a (sub)category Summary: Find and use installed modules in a (sub)category
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Module-Find/ URL: http://search.cpan.org/dist/Module-Find/
Source0: http://www.cpan.org/authors/id/C/CR/CRENZ/Module-Find-%{version}.tar.gz 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) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
@ -18,14 +17,16 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
%description %description
Module::Find lets you find and use modules in categories. This can be very 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. between looking in the category itself or in all subcategories.
%prep %prep
%setup -q -n Module-Find-%{version} %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 %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor
@ -37,7 +38,7 @@ 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 -depth -type d -empty -exec rmdir {} ';' find $RPM_BUILD_ROOT -depth -type d -empty -exec rmdir {} ';'
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} $RPM_BUILD_ROOT
%check %check
@ -52,10 +53,16 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc Changes README examples/ %doc Changes README examples/
%{perl_vendorlib}/Module/ %{perl_vendorlib}/Module/
%{_mandir}/man3/*.3pm* %{_mandir}/man3/Module::Find.3pm*
%changelog %changelog
* Tue Mar 15 2011 Paul Howarth <paul@city-fan.org> - 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 <rel-eng@lists.fedoraproject.org> - 0.08-5 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

@ -1 +1 @@
6becb3eeba2da3dba180b9c90cd75e7b Module-Find-0.08.tar.gz bdc4687d0782157e9335f4dc31369d01 Module-Find-0.10.tar.gz

Loading…
Cancel
Save