0b82e8e
Name:		perl-File-Find-Rule-Perl
2a2049e
Version:	1.10
2a2049e
Release:	1%{?dist}
0b82e8e
Summary:	Common rules for searching for Perl things
0b82e8e
License:	GPL+ or Artistic
0b82e8e
Group:		Development/Libraries
0b82e8e
URL:		http://search.cpan.org/dist/File-Find-Rule-Perl/
0b82e8e
Source0:	http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/File-Find-Rule-Perl-%{version}.tar.gz
0b82e8e
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
0b82e8e
0b82e8e
Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
0b82e8e
BuildArch:	noarch
0b82e8e
0b82e8e
BuildRequires:	perl(File::Find::Rule) >= 0.20
0b82e8e
BuildRequires:	perl(File::Spec) >= 0.82
0b82e8e
BuildRequires:	perl(Test::More) >= 0.47
d986431
BuildRequires:  perl(Params::Util) >= 0.38
d986431
BuildRequires:  perl(Parse::CPAN::Meta) >= 0.04
0b82e8e
0b82e8e
# For improved tests
d986431
BuildRequires:  perl(Perl::MinimumVersion) >= 1.20
d986431
BuildRequires:  perl(Test::MinimumVersion) >= 0.008
d986431
BuildRequires:  perl(Test::Pod) >= 1.26
d986431
BuildRequires:  perl(Test::CPAN::Meta) >= 0.12
0b82e8e
0b82e8e
%description
0b82e8e
Common rules for searching for Perl things.
0b82e8e
0b82e8e
%prep
d986431
%setup -q -T -c
d986431
%setup -q -T -D -a0
0b82e8e
0b82e8e
%build
d986431
cd File-Find-Rule-Perl-%{version}
0b82e8e
%{__perl} Makefile.PL INSTALLDIRS=vendor
0b82e8e
make %{?_smp_mflags}
d986431
cd ..
0b82e8e
0b82e8e
%install
0b82e8e
rm -rf $RPM_BUILD_ROOT
d986431
cd File-Find-Rule-Perl-%{version}
0b82e8e
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
d986431
cd ..
0b82e8e
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
0b82e8e
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
0b82e8e
chmod -R u+w $RPM_BUILD_ROOT/*
0b82e8e
0b82e8e
%clean
0b82e8e
rm -rf $RPM_BUILD_ROOT
0b82e8e
0b82e8e
%check
d986431
cd File-Find-Rule-Perl-%{version}
0b82e8e
make test AUTOMATED_TESTING=1
d986431
cd ..
0b82e8e
0b82e8e
%files
0b82e8e
%defattr(-,root,root,-)
d986431
%doc File-Find-Rule-Perl-%{version}/Changes File-Find-Rule-Perl-%{version}/LICENSE
0b82e8e
%{perl_vendorlib}/File
0b82e8e
%{_mandir}/man3/*
0b82e8e
0b82e8e
%changelog
2a2049e
* Wed Nov 03 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.10-1
2a2049e
- Upstream update.
2a2049e
965eb9a
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.09-2
965eb9a
- rebuild against perl 5.10.1
965eb9a
b7a05e7
* Fri Aug 07 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.09-1
b7a05e7
- Upstream update.
b7a05e7
5d11e97
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-2
5d11e97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
5d11e97
2d71170
* Mon Jul 20 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.08-1
2d71170
- Upstream update.
2d71170
d986431
* Wed Jun 17 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.06-1
2a2049e
- Upstream update.
d986431
- Build in subdir to work-around rpm disturbing testsuite.
d986431
- Rework BRs.
d986431
6f60069
* Fri Feb 27 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.04-4
6f60069
- Adjust minimum perl version in META.yml (Add File-Find-Rule-Perl-1.04.diff).
6f60069
3e04ad2
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-3
3e04ad2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3e04ad2
49ab7cc
* Tue Jun 24 2008 Ralf Corsépius <rc040203@freenet.de> - 1.04-2
49ab7cc
- Unconditionally BR: perl(Test::CPAN::Meta).
49ab7cc
2dd2313
* Tue Jun 10 2008 Ralf Corsépius <rc040203@freenet.de> - 1.04-1
2dd2313
- Upstream update.
2dd2313
bac0e81
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.03-3
bac0e81
- Rebuild for perl 5.10 (again)
bac0e81
691c18d
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.03-2
691c18d
- rebuild for new perl
691c18d
0b82e8e
* Mon Nov 19 2007 Ralf Corsépius <rc040203@freenet.de> - 0.03-1
0b82e8e
- Initial version.