Name: perl-CPAN-Inject Version: 1.14 Release: 4%{?dist} Summary: Base class for injecting distributions into CPAN sources License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/CPAN-Inject/ Source0: http://www.cpan.org/authors/id/P/PS/PSHANGOV/CPAN-Inject-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(CPAN) >= 1.36 BuildRequires: perl(CPAN::Checksums) >= 1.05 BuildRequires: perl(File::Basename) >= 2.6 BuildRequires: perl(File::chmod) >= 0.30 BuildRequires: perl(File::Copy) >= 2.02 BuildRequires: perl(File::Path) >= 1.00 BuildRequires: perl(File::Remove) >= 0.34 BuildRequires: perl(File::Spec) >= 0.80 BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(File::stat) >= 1.00 BuildRequires: perl(inc::Module::Install) BuildRequires: perl(Params::Util) >= 0.21 BuildRequires: perl(Test::More) >= 0.42 BuildRequires: perl(Test::Script) >= 1.02 Requires: perl(CPAN) >= 1.36 Requires: perl(CPAN::Checksums) >= 1.05 Requires: perl(File::Basename) >= 2.6 Requires: perl(File::chmod) >= 0.30 Requires: perl(File::Copy) >= 2.02 Requires: perl(File::Path) >= 1.00 Requires: perl(File::Spec) >= 0.80 Requires: perl(File::stat) >= 1.00 Requires: perl(File::chmod) >= 0.30 Requires: perl(Params::Util) >= 0.21 Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description Following the release of CPAN::Mini, the CPAN::Mini::Inject module was created to add additional distributions into a minicpan mirror. %prep %setup -q -n CPAN-Inject-%{version} # Remove bundled libraries rm -r inc sed -i -e '/^inc\// d' MANIFEST find -type f -exec chmod -x {} + %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes %{perl_vendorlib}/* %{_bindir}/cpaninject %{_mandir}/man1/cpaninject.1.gz %{_mandir}/man3/* %changelog * Mon Aug 05 2013 Petr Pisar - 1.14-4 - Perl 5.18 rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Sep 14 2012 Jitka Plesnikova - 1.14-1 - 1.14 bump - Modernize spec and drop command macros - Remove bundled libraries. - Update dependencies. * Fri Jul 20 2012 Fedora Release Engineering - 1.13-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jun 21 2012 Petr Pisar - 1.13-5 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.13-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jul 19 2011 Petr Sabata - 1.13-3 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jan 5 2011 Petr Sabata - 1.13-1 - 1.13 version bump * Mon Jan 3 2011 Petr Sabata - 1.12-1 - 1.12 version bump * Wed Dec 15 2010 Marcela Maslanova - 0.11-4 - 661697 rebuild for fixing problems with vendorach/lib * Fri Apr 30 2010 Marcela Maslanova - 0.11-3 - Mass rebuild with perl-5.12.0 * Tue Dec 22 2009 Marcela Mašláňová 0.11-2 - switch off test which had problems with cpan in mock * Wed Nov 18 2009 Marcela Mašláňová 0.11-1 - Specfile autogenerated by cpanspec 1.78.