%{?scl:%scl_package perl-Sub-Exporter-Progressive} Name: %{?scl_prefix}perl-Sub-Exporter-Progressive Version: 0.001013 Release: 6%{?dist} Summary: Only use Sub::Exporter if you need it Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Sub-Exporter-Progressive/ Source0: http://search.cpan.org/CPAN/authors/id/F/FR/FREW/Sub-Exporter-Progressive-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch # =============== Module Build ====================== BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: %{?scl_prefix}perl-interpreter BuildRequires: %{?scl_prefix}perl-generators BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker) # =============== Module Runtime ==================== BuildRequires: %{?scl_prefix}perl(Carp) BuildRequires: %{?scl_prefix}perl(Exporter) >= 5.58 BuildRequires: %{?scl_prefix}perl(strict) BuildRequires: %{?scl_prefix}perl(Sub::Exporter) BuildRequires: %{?scl_prefix}perl(warnings) # =============== Test Suite ======================== BuildRequires: %{?scl_prefix}perl(constant) BuildRequires: %{?scl_prefix}perl(lib) BuildRequires: %{?scl_prefix}perl(Test::More) # =============== Module Runtime ==================== Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'})) Requires: %{?scl_prefix}perl(Carp) Requires: %{?scl_prefix}perl(Exporter) >= 5.58 Requires: %{?scl_prefix}perl(Sub::Exporter) %description Sub::Exporter is an incredibly powerful module, but with that power comes great responsibility, er- as well as some runtime penalties. This module is a Sub::Exporter wrapper that will let your users just use Exporter if all they are doing is picking exports, but use Sub::Exporter if your users try to use Sub::Exporter's more advanced features, like renaming exports, if they try to use them. Note that this module will export @EXPORT and @EXPORT_OK package variables for Exporter to work. Additionally, if your package uses advanced Sub::Exporter features like currying, this module will only ever use Sub::Exporter, so you might as well use it directly. %prep %setup -q -n Sub-Exporter-Progressive-%{version} %build %{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'} %install rm -rf %{buildroot} %{?scl:scl enable %{scl} '}make pure_install DESTDIR=%{buildroot}%{?scl:'} find %{buildroot} -type f -name .packlist -delete %{_fixperms} -c %{buildroot} %check %{?scl:scl enable %{scl} '}make test%{?scl:'} %clean rm -rf %{buildroot} %files %if 0%{?_licensedir:1} %doc LICENSE %else %doc LICENSE %endif %doc Changes README %{perl_vendorlib}/Sub/ %{_mandir}/man3/Sub::Exporter::Progressive.3* %changelog * Wed Dec 20 2017 Jitka Plesnikova - 0.001013-6 - Remove unused patch * Tue Dec 19 2017 Jitka Plesnikova - 0.001013-5 - SCL * Thu Jul 27 2017 Fedora Release Engineering - 0.001013-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.001013-3 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.001013-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat Oct 22 2016 Paul Howarth - 0.001013-1 - Update to 0.001013 - Avoid possible warnings about special variables only being used once - Update old Test::More patch * Wed Aug 24 2016 Paul Howarth - 0.001012-1 - Update to 0.001012 - Many small performance improvements - BR: perl-generators - Simplify find command using -delete - Update old Test::More patch - Package new LICENSE file * Sun May 15 2016 Jitka Plesnikova - 0.001011-7 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.001011-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.001011-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jun 05 2015 Jitka Plesnikova - 0.001011-4 - Perl 5.22 rebuild * Wed Aug 27 2014 Jitka Plesnikova - 0.001011-3 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.001011-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Oct 28 2013 Paul Howarth - 0.001011-1 - Update to 0.001011 - Fix in global destruction - Fix SYNOPSIS - Fix duplicate word in DESCRIPTION (CPAN RT#86072) * Sun Aug 04 2013 Fedora Release Engineering - 0.001010-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sun Jul 21 2013 Petr Pisar - 0.001010-2 - Perl 5.18 rebuild * Wed Mar 27 2013 Paul Howarth - 0.001010-1 - Update to 0.001010 - Fix module name in Makefile.PL (CPAN RT#83932) - Work around Exporter.pm not installable on perl < 5.8.0 - Update old Test::More patch * Wed Mar 13 2013 Paul Howarth - 0.001009-1 - Update to 0.001009 - Disallow version names in random parts of the import list for consistency with Sub::Exporter (CPAN RT#83491) - Update old Test::More patch, and apply if we have Test::More < 0.88 * Thu Feb 14 2013 Fedora Release Engineering - 0.001008-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Jan 22 2013 Paul Howarth - 0.001008-1 - Update to 0.001008 - Rewrite -tag to :tag for Exporter.pm - Fix prereqs - Update old Test::More patch, and apply if we have Test::More < 0.96 - Bump perl(Exporter) version requirement to 5.58 * Mon Aug 27 2012 Paul Howarth - 0.001006-1 - Update to 0.001006 - Handle ':all' correctly - Update old Test::More patch - Drop redundant buildreq perl(Test::Pod) * Sat Aug 25 2012 Paul Howarth - 0.001005-1 - Update to 0.001005 - Add support for tags - Warn if defaults are not in exports - Add explicit dependency on Test::More 0.89 - This release by LEONT -> update source URL - Update old Test::More patch * Thu Aug 9 2012 Paul Howarth - 0.001004-1 - Update to 0.001004 (fix skipping when Sub::Exporter isn't installed) - This release by MSTROUT -> update source URL - No LICENSE file in this release - Update old Test::More patch * Wed Aug 1 2012 Paul Howarth - 0.001003-1 - Update to 0.001003 (remove warning if there are no defaults) * Wed Aug 1 2012 Paul Howarth - 0.001002-2 - Sanitize for Fedora submission * Wed Aug 1 2012 Paul Howarth - 0.001002-1 - Initial RPM build