|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: perl-Module-Find
|
|
|
|
|
Version: 0.05
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 0.06
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Find and use installed modules in a (sub)category
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
@ -10,6 +10,7 @@ Source0: http://www.cpan.org/authors/id/C/CR/CRENZ/Module-Find-%{version}
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
@ -34,7 +35,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 -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -47,12 +48,16 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc Changes README
|
|
|
|
|
%doc Changes README examples/
|
|
|
|
|
%{perl_vendorlib}/Module/
|
|
|
|
|
%{_mandir}/man3/*.3pm*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jul 02 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.06-1
|
|
|
|
|
- update to 0.06
|
|
|
|
|
- add examples/
|
|
|
|
|
|
|
|
|
|
* Fri Feb 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.05-2
|
|
|
|
|
- rebuild for new perl
|
|
|
|
|
|
|
|
|
|