%{?scl:%scl_package perl-Module-CoreList} Name: %{?scl_prefix}perl-Module-CoreList # Epoch to compete with perl.spec Epoch: 1 Version: 5.20141220 Release: 3%{?dist} Summary: What modules are shipped with versions of perl License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Module-CoreList/ Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Module-CoreList-%{version}.tar.gz BuildArch: noarch BuildRequires: %{?scl_prefix}perl BuildRequires: %{?scl_prefix}perl(Config) BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker) # File::Copy not used # Run-time: # feature not used at tests # Getopt::Long not used at tests BuildRequires: %{?scl_prefix}perl(List::Util) # Pod::Usage not used at tests BuildRequires: %{?scl_prefix}perl(strict) BuildRequires: %{?scl_prefix}perl(vars) BuildRequires: %{?scl_prefix}perl(version) >= 0.88 BuildRequires: %{?scl_prefix}perl(warnings) # Tests: BuildRequires: %{?scl_prefix}perl(Test::More) # Optional tests: %if !%{defined perl_bootstrap} && !%{defined perl_small} BuildRequires: %{?scl_prefix}perl(Test::Pod) >= 1.00 %endif Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'})) Requires: %{?scl_prefix}perl(List::Util) Requires: %{?scl_prefix}perl(version) >= 0.88 # Remove under-specified dependencies # RPM 4.8 style %{?filter_setup: %filter_from_requires /^%{?scl_prefix}perl(version)$/d %?perl_default_filter } # RPM 4.9 style %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^%{?scl_prefix}perl\\(version\\)$ %description Module::CoreList provides information on which core and dual-life modules are shipped with each version of perl. %package tools Summary: Tool for listing modules shipped with perl Group: Development/Tools Requires: %{?scl_prefix}perl(feature) Requires: %{?scl_prefix}perl(version) >= 0.88 Requires: %{?scl_prefix}perl-Module-CoreList = %{epoch}:%{version}-%{release} # The files were distributed with perl.spec's subpackage # perl-Module-CoreList <= 1:5.020001-309 Conflicts: %{?scl_prefix}perl-Module-CoreList < 1:5.20140914 %description tools This package provides a corelist(1) tool which can be used to query what modules were shipped with given perl version. %prep %setup -q -n Module-CoreList-%{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 Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %files tools %doc README %{_bindir}/corelist %{_mandir}/man1/corelist.* %changelog * Sun Jan 25 2015 Jitka Plesnikova - 1:5.20141220-3 - Rebuild of bootstrapped package * Thu Jan 22 2015 Petr Pisar - 1:5.20141220-2 - Disable optional tests for small build root * Fri Jan 02 2015 Petr Pisar - 1:5.20141220-1 - 5.20141220 bump * Tue Nov 25 2014 Petr Pisar - 1:5.20141120-1 - 5.20141120 bump * Tue Oct 21 2014 Petr Pisar - 1:5.20141020-1 - 5.20141020 bump * Wed Oct 08 2014 Petr Pisar - 1:5.20141002-1 - 5.20141002 bump * Wed Sep 17 2014 Petr Pisar 1:5.20140914-1 - Specfile autogenerated by cpanspec 1.78.