diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..69df737 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Exporter-5.70.tar.gz diff --git a/.rh-perl526-perl-Exporter.metadata b/.rh-perl526-perl-Exporter.metadata new file mode 100644 index 0000000..4c70243 --- /dev/null +++ b/.rh-perl526-perl-Exporter.metadata @@ -0,0 +1 @@ +dbfc1c8aecd3d759502925187300235b4c59517f SOURCES/Exporter-5.70.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/Exporter-5.70-Upgrade-to-5.72.patch b/SOURCES/Exporter-5.70-Upgrade-to-5.72.patch new file mode 100644 index 0000000..e19a074 --- /dev/null +++ b/SOURCES/Exporter-5.70-Upgrade-to-5.72.patch @@ -0,0 +1,38 @@ +From 6e7210f1ad3f709f846a812ab7db6543af90c477 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Wed, 6 May 2015 12:35:17 +0200 +Subject: [PATCH] Upgrade to 5.72 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Petr Písař +--- + lib/Exporter.pm | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/lib/Exporter.pm b/lib/Exporter.pm +index 4930505..0b3db21 100644 +--- a/lib/Exporter.pm ++++ b/lib/Exporter.pm +@@ -9,7 +9,7 @@ require 5.006; + our $Debug = 0; + our $ExportLevel = 0; + our $Verbose ||= 0; +-our $VERSION = '5.70'; ++our $VERSION = '5.72'; + our (%Cache); + + sub as_heavy { +@@ -223,7 +223,7 @@ right. Specifications are in the form: + + [!]name This name only + [!]:DEFAULT All names in @EXPORT +- [!]:tag All names in $EXPORT_TAGS{tag} anonymous list ++ [!]:tag All names in $EXPORT_TAGS{tag} anonymous array + [!]/pattern/ All names in @EXPORT and @EXPORT_OK which match + + A leading ! indicates that matching names should be deleted from the +-- +2.1.0 + diff --git a/SPECS/perl-Exporter.spec b/SPECS/perl-Exporter.spec new file mode 100644 index 0000000..b8ac5fb --- /dev/null +++ b/SPECS/perl-Exporter.spec @@ -0,0 +1,140 @@ +%{?scl:%scl_package perl-Exporter} + +# Run optional test +%bcond_without perl_Exporter_enables_optional_test + +%global base_version 5.70 +Name: %{?scl_prefix}perl-Exporter +Version: 5.72 +Release: 396%{?dist} +Summary: Implements default import method for modules +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Exporter/ +Source0: http://www.cpan.org/authors/id/T/TO/TODDR/Exporter-%{base_version}.tar.gz +# Unbundled from perl 5.21.11 +Patch0: Exporter-5.70-Upgrade-to-5.72.patch +BuildArch: noarch +BuildRequires: %{?scl_prefix}perl-interpreter +BuildRequires: %{?scl_prefix}perl-generators +BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker) +# Run-time: +BuildRequires: %{?scl_prefix}perl(Carp) >= 1.05 +BuildRequires: %{?scl_prefix}perl(strict) +BuildRequires: %{?scl_prefix}perl(warnings) +# Tests: +BuildRequires: %{?scl_prefix}perl(Test::More) +BuildRequires: %{?scl_prefix}perl(vars) +%if %{with perl_Exporter_enables_optional_test} && !%{defined perl_bootstrap} +# Optional tests: +BuildRequires: %{?scl_prefix}perl(Test::Pod) >= 1.18 +%endif +Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'})) +Requires: %{?scl_prefix}perl(Carp) >= 1.05 +Requires: %{?scl_prefix}perl(warnings) + +%description +The Exporter module implements an import method which allows a module to +export functions and variables to its users' name spaces. Many modules use +Exporter rather than implementing their own import method because Exporter +provides a highly flexible interface, with an implementation optimized for +the common case. + +%prep +%setup -q -n Exporter-%{base_version} +%patch0 -p1 + +%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/* + +%changelog +* Fri Dec 15 2017 Petr Pisar - 5.72-396 +- SCL + +* Thu Jul 27 2017 Fedora Release Engineering - 5.72-395 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Jun 07 2017 Jitka Plesnikova - 5.72-394 +- Perl 5.26 re-rebuild of bootstrapped packages + +* Sat Jun 03 2017 Jitka Plesnikova - 5.72-393 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 5.72-367 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed May 18 2016 Jitka Plesnikova - 5.72-366 +- Perl 5.24 re-rebuild of bootstrapped packages + +* Sat May 14 2016 Jitka Plesnikova - 5.72-365 +- Increase release to favour standalone package + +* Thu Feb 04 2016 Fedora Release Engineering - 5.72-349 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Oct 20 2015 Petr Pisar - 5.72-348 +- Rebuild to utilize perl(:VERSION) dependency symbol + +* Thu Jun 18 2015 Fedora Release Engineering - 5.72-347 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Jun 10 2015 Jitka Plesnikova - 5.72-346 +- Perl 5.22 re-rebuild of bootstrapped packages + +* Thu Jun 04 2015 Jitka Plesnikova - 5.72-345 +- Increase release to favour standalone package + +* Wed Jun 03 2015 Jitka Plesnikova - 5.72-2 +- Perl 5.22 rebuild + +* Wed May 06 2015 Petr Pisar - 5.72-1 +- 5.72 bump in order to dual-live with perl 5.22 + +* Sun Sep 07 2014 Jitka Plesnikova - 5.70-311 +- Perl 5.20 re-rebuild of bootstrapped packages + +* Wed Sep 03 2014 Jitka Plesnikova - 5.70-310 +- Increase release to favour standalone package + +* Tue Aug 26 2014 Jitka Plesnikova - 5.70-3 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 5.70-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon Apr 14 2014 Petr Pisar - 5.70-1 +- 5.70 bump + +* Wed Aug 14 2013 Jitka Plesnikova - 5.68-293 +- Perl 5.18 re-rebuild of bootstrapped packages + +* Sat Aug 03 2013 Fedora Release Engineering - 5.68-292 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Jul 26 2013 Petr Pisar - 5.68-291 +- Specify all dependencies + +* Mon Jul 15 2013 Petr Pisar - 5.68-290 +- Increase release to favour standalone package + +* Fri Jul 12 2013 Petr Pisar - 5.68-2 +- Link minimal build-root packages against libperl.so explicitly + +* Thu Mar 28 2013 Petr Pisar - 5.68-1 +- 5.68 bump + +* Fri Mar 22 2013 Petr Pisar 5.67-1 +- Specfile autogenerated by cpanspec 1.78.