import perl-Sub-Exporter-Progressive-0.001013-16.el9
This commit is contained in:
commit
b192d31cbf
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
SOURCES/Sub-Exporter-Progressive-0.001013.tar.gz
|
||||
1
.perl-Sub-Exporter-Progressive.metadata
Normal file
1
.perl-Sub-Exporter-Progressive.metadata
Normal file
@ -0,0 +1 @@
|
||||
4ee0cf333cfb482f71f052ccdd3a3bcefaa291f7 SOURCES/Sub-Exporter-Progressive-0.001013.tar.gz
|
||||
137
SOURCES/Sub-Exporter-Progressive-0.001013-old-Test::More.patch
Normal file
137
SOURCES/Sub-Exporter-Progressive-0.001013-old-Test::More.patch
Normal file
@ -0,0 +1,137 @@
|
||||
--- Makefile.PL
|
||||
+++ Makefile.PL
|
||||
@@ -17,7 +17,7 @@ my %WriteMakefileArgs = (
|
||||
"NAME" => "Sub::Exporter::Progressive",
|
||||
"PREREQ_PM" => {},
|
||||
"TEST_REQUIRES" => {
|
||||
- "Test::More" => "0.88"
|
||||
+ "Test::More" => "0.47"
|
||||
},
|
||||
"VERSION" => "0.001013",
|
||||
"test" => {
|
||||
@@ -27,7 +27,7 @@ my %WriteMakefileArgs = (
|
||||
|
||||
|
||||
my %FallbackPrereqs = (
|
||||
- "Test::More" => "0.88"
|
||||
+ "Test::More" => "0.47"
|
||||
);
|
||||
|
||||
|
||||
--- t/all.t
|
||||
+++ t/all.t
|
||||
@@ -2,7 +2,7 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
-use Test::More;
|
||||
+use Test::More tests => 6;
|
||||
use lib 't/lib';
|
||||
use A::JunkAll;
|
||||
|
||||
@@ -17,5 +17,3 @@ use A::JunkAll ':all';
|
||||
ok(main->can('junk1'), 'sub exported');
|
||||
ok(main->can('junk2'), 'sub exported');
|
||||
ok(! $INC{'Sub/Exporter.pm'}, 'Sub::Exporter not loaded');
|
||||
-
|
||||
-done_testing;
|
||||
--- t/basic.t
|
||||
+++ t/basic.t
|
||||
@@ -2,11 +2,9 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
-use Test::More;
|
||||
+use Test::More tests => 2;
|
||||
use lib 't/lib';
|
||||
use A::Junk 'junk1';
|
||||
|
||||
ok(main->can('junk1'), 'requested sub exported');
|
||||
ok(! $INC{'Sub/Exporter.pm'}, 'Sub::Exporter not loaded');
|
||||
-
|
||||
-done_testing;
|
||||
--- t/default.t
|
||||
+++ t/default.t
|
||||
@@ -2,11 +2,9 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
-use Test::More;
|
||||
+use Test::More tests => 2;
|
||||
use lib 't/lib';
|
||||
use A::Junk;
|
||||
|
||||
ok(main->can('junk2'), 'sub exported');
|
||||
ok(! $INC{'Sub/Exporter.pm'}, 'Sub::Exporter not loaded');
|
||||
-
|
||||
-done_testing;
|
||||
--- t/release-changes_has_content.t
|
||||
+++ t/release-changes_has_content.t
|
||||
@@ -10,7 +10,6 @@ BEGIN {
|
||||
|
||||
use Test::More tests => 2;
|
||||
|
||||
-note 'Checking Changes';
|
||||
my $changes_file = 'Changes';
|
||||
my $newver = '0.001013';
|
||||
my $trial_token = '-TRIAL';
|
||||
@@ -22,8 +21,6 @@ SKIP: {
|
||||
ok(_get_changes($newver), "$changes_file has content for $newver");
|
||||
}
|
||||
|
||||
-done_testing;
|
||||
-
|
||||
# _get_changes copied and adapted from Dist::Zilla::Plugin::Git::Commit
|
||||
# by Jerome Quelin
|
||||
sub _get_changes
|
||||
--- t/sex.t
|
||||
+++ t/sex.t
|
||||
@@ -2,7 +2,7 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
-use Test::More;
|
||||
+use Test::More tests => 2;
|
||||
BEGIN {
|
||||
plan skip_all => 'Sub::Exporter not installed'
|
||||
unless eval { require Sub::Exporter };
|
||||
@@ -13,5 +13,3 @@ use A::Junk 'junk1' => { -as => 'junk' }
|
||||
|
||||
ok(main->can('junk'), 'sub renamed with Sub::Exporter');
|
||||
ok($INC{'Sub/Exporter.pm'}, 'Sub::Exporter loaded');
|
||||
-
|
||||
-done_testing;
|
||||
--- t/tags.t
|
||||
+++ t/tags.t
|
||||
@@ -1,7 +1,7 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
-use Test::More;
|
||||
+use Test::More tests => 44;
|
||||
use Carp;
|
||||
use lib 't/lib';
|
||||
use A::Junk ':other';
|
||||
@@ -64,5 +64,3 @@ SKIP: {
|
||||
check_tag('bar -default', [qw/foo bar/], [qw/baz/]);
|
||||
}
|
||||
|
||||
-done_testing;
|
||||
-
|
||||
--- t/version-check.t
|
||||
+++ t/version-check.t
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
-use Test::More;
|
||||
+use Test::More tests => 5;
|
||||
|
||||
BEGIN {
|
||||
package AAA;
|
||||
@@ -38,5 +38,3 @@ ok(eval('use AAA 1; 1'), 'perl built-in
|
||||
);
|
||||
}
|
||||
|
||||
-done_testing;
|
||||
-
|
||||
219
SPECS/perl-Sub-Exporter-Progressive.spec
Normal file
219
SPECS/perl-Sub-Exporter-Progressive.spec
Normal file
@ -0,0 +1,219 @@
|
||||
# We need to patch the test suite if we have old versions of Test::More
|
||||
%global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0)
|
||||
|
||||
Name: perl-Sub-Exporter-Progressive
|
||||
Version: 0.001013
|
||||
Release: 16%{?dist}
|
||||
Summary: Only use Sub::Exporter if you need it
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Sub-Exporter-Progressive
|
||||
Source0: https://cpan.metacpan.org/authors/id/F/FR/FREW/Sub-Exporter-Progressive-%{version}.tar.gz
|
||||
Patch1: Sub-Exporter-Progressive-0.001013-old-Test::More.patch
|
||||
BuildArch: noarch
|
||||
# =============== Module Build ======================
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# =============== Module Runtime ====================
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Exporter) >= 5.58
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(Sub::Exporter)
|
||||
BuildRequires: perl(warnings)
|
||||
# =============== Test Suite ========================
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Test::More)
|
||||
# =============== Module Runtime ====================
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Carp)
|
||||
Requires: perl(Exporter) >= 5.58
|
||||
Requires: 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}
|
||||
|
||||
# We need to patch the test suite if we have old versions of Test::More
|
||||
%if %{old_test_more}
|
||||
%patch1
|
||||
%endif
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -delete
|
||||
%{_fixperms} -c %{buildroot}
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%if 0%{?_licensedir:1}
|
||||
%license LICENSE
|
||||
%else
|
||||
%doc LICENSE
|
||||
%endif
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/Sub/
|
||||
%{_mandir}/man3/Sub::Exporter::Progressive.3*
|
||||
|
||||
%changelog
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.001013-16
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.001013-15
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.001013-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.001013-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.001013-12
|
||||
- Perl 5.32 rebuild
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.001013-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.001013-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.001013-9
|
||||
- Perl 5.30 rebuild
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.001013-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.001013-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.001013-6
|
||||
- Perl 5.28 rebuild
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.001013-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.001013-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.001013-3
|
||||
- Perl 5.26 rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.001013-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Sat Oct 22 2016 Paul Howarth <paul@city-fan.org> - 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 <paul@city-fan.org> - 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 <jplesnik@redhat.com> - 0.001011-7
|
||||
- Perl 5.24 rebuild
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.001011-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.001011-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.001011-4
|
||||
- Perl 5.22 rebuild
|
||||
|
||||
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.001011-3
|
||||
- Perl 5.20 rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.001011-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Mon Oct 28 2013 Paul Howarth <paul@city-fan.org> - 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 <rel-eng@lists.fedoraproject.org> - 0.001010-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 0.001010-2
|
||||
- Perl 5.18 rebuild
|
||||
|
||||
* Wed Mar 27 2013 Paul Howarth <paul@city-fan.org> - 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 <paul@city-fan.org> - 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 <rel-eng@lists.fedoraproject.org> - 0.001008-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Tue Jan 22 2013 Paul Howarth <paul@city-fan.org> - 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 <paul@city-fan.org> - 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 <paul@city-fan.org> - 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 <paul@city-fan.org> - 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 <paul@city-fan.org> - 0.001003-1
|
||||
- Update to 0.001003 (remove warning if there are no defaults)
|
||||
|
||||
* Wed Aug 1 2012 Paul Howarth <paul@city-fan.org> - 0.001002-2
|
||||
- Sanitize for Fedora submission
|
||||
|
||||
* Wed Aug 1 2012 Paul Howarth <paul@city-fan.org> - 0.001002-1
|
||||
- Initial RPM build
|
||||
Loading…
Reference in New Issue
Block a user