%{?scl:%scl_package perl-ExtUtils-MakeMaker-CPANfile} Name: %{?scl_prefix}perl-ExtUtils-MakeMaker-CPANfile Version: 0.07 Release: 4%{?dist} Summary: CPANfile support for ExtUtils::MakeMaker License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/ExtUtils-MakeMaker-CPANfile/ Source0: http://www.cpan.org/authors/id/I/IS/ISHIGAKI/ExtUtils-MakeMaker-CPANfile-%{version}.tar.gz BuildArch: noarch BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: %{?scl_prefix}perl BuildRequires: %{?scl_prefix}perl-generators BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker) >= 6.17 BuildRequires: %{?scl_prefix}perl(strict) BuildRequires: %{?scl_prefix}perl(warnings) # Run-time: BuildRequires: %{?scl_prefix}perl(File::Spec::Functions) BuildRequires: %{?scl_prefix}perl(Module::CPANfile) BuildRequires: %{?scl_prefix}perl(version) >= 0.76 # Tests: BuildRequires: %{?scl_prefix}perl(Cwd) BuildRequires: %{?scl_prefix}perl(File::Path) BuildRequires: %{?scl_prefix}perl(FindBin) BuildRequires: %{?scl_prefix}perl(Test::More) >= 0.88 Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'})) Requires: %{?scl_prefix}perl(ExtUtils::MakeMaker) >= 6.17 Requires: %{?scl_prefix}perl(version) >= 0.76 # Remove under-specified dependencies %if 0%{?rhel} < 7 # RPM 4.8 style %{?filter_setup: %filter_from_requires /^%{?scl_prefix}perl(ExtUtils::MakeMaker)$/d %filter_from_requires /^%{?scl_prefix}perl(version)$/d %?perl_default_filter } %else # RPM 4.9 style %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^%{?scl_prefix}perl\\((ExtUtils::MakeMaker|version)\\)$ %endif %description ExtUtils::MakeMaker::CPANfile loads cpanfile in your distribution and modifies parameters for WriteMakefile in your Makefile.PL. Just use it instead of ExtUtils::MakeMaker (which should be loaded internally), and prepare cpanfile. %prep %setup -q -n ExtUtils-MakeMaker-CPANfile-%{version} %build %{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'} %install %{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'} find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check %{?scl:scl enable %{scl} '}make test%{?scl:'} %files %doc LICENSE %doc Changes README.md %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Jul 18 2016 Petr Pisar - 0.07-4 - SCL * Sun May 15 2016 Jitka Plesnikova - 0.07-3 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.07-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Dec 11 2015 Petr Pisar - 0.07-1 - 0.07 bump * Thu Jun 18 2015 Fedora Release Engineering - 0.06-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Jun 04 2015 Jitka Plesnikova - 0.06-3 - Perl 5.22 rebuild * Wed Aug 27 2014 Jitka Plesnikova - 0.06-2 - Perl 5.20 rebuild * Wed Jul 16 2014 Petr Pisar 0.06-1 - Specfile autogenerated by cpanspec 1.78.