|
|
@ -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
|
|
|
|
|
|
|
|
|
|
|
|