|
|
|
@ -6,11 +6,11 @@
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: perl-Exporter-Tiny
|
|
|
|
|
Version: 1.002002
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 1.006002
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: An exporter with the features of Sub::Exporter but only core dependencies
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/Exporter-Tiny
|
|
|
|
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
|
|
|
|
URL: https://exportertiny.github.io/
|
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/Exporter/Exporter-Tiny-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# Module Build
|
|
|
|
@ -25,7 +25,13 @@ BuildRequires: sed
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# Optional Functionality
|
|
|
|
|
# Note: Lexical::Var and Lexical::Sub both come from the perl-Lexical-Var package
|
|
|
|
|
# Not needed from 5.37.2 onwards, which have experimental lexical export support
|
|
|
|
|
# So we should be able to drop this (and the runtime dep) for F-38 later
|
|
|
|
|
BuildRequires: perl(Lexical::Var)
|
|
|
|
|
# Test Suite
|
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.47
|
|
|
|
|
# Optional Tests
|
|
|
|
@ -34,8 +40,8 @@ BuildRequires: perl(Test::Fatal)
|
|
|
|
|
BuildRequires: perl(Test::Warnings)
|
|
|
|
|
%endif
|
|
|
|
|
# Runtime
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(Carp)
|
|
|
|
|
Recommends: perl(Lexical::Var)
|
|
|
|
|
|
|
|
|
|
# Avoid doc-file dependency on perl(base)
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
@ -59,7 +65,7 @@ overridden to provide interesting behavior.
|
|
|
|
|
%setup -q -n Exporter-Tiny-%{version}
|
|
|
|
|
|
|
|
|
|
# Remove bundled modules Test::Fatal, Test::Requires, Test::Simple and Try::Tiny
|
|
|
|
|
rm -r ./inc/
|
|
|
|
|
rm -rv ./inc/
|
|
|
|
|
sed -i -e '/^inc\//d' MANIFEST
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -75,12 +81,8 @@ find %{buildroot} -type f -name .packlist -delete
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%if 0%{?_licensedir:1}
|
|
|
|
|
%license COPYRIGHT LICENSE
|
|
|
|
|
%else
|
|
|
|
|
%doc COPYRIGHT LICENSE
|
|
|
|
|
%endif
|
|
|
|
|
%doc Changes CREDITS examples/ README TODO
|
|
|
|
|
%doc Changes CREDITS examples/ NEWS README TODO
|
|
|
|
|
%{perl_vendorlib}/Exporter/
|
|
|
|
|
%{_mandir}/man3/Exporter::Tiny.3*
|
|
|
|
|
%{_mandir}/man3/Exporter::Tiny::Manual::Etc.3*
|
|
|
|
@ -90,12 +92,77 @@ make test
|
|
|
|
|
%{_mandir}/man3/Exporter::Shiny.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.002002-6
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.002002-5
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Wed Sep 27 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.006002-1
|
|
|
|
|
- Rebuilt for MSVSphere 9.2
|
|
|
|
|
|
|
|
|
|
* Sun Apr 2 2023 Paul Howarth <paul@city-fan.org> - 1.006002-1
|
|
|
|
|
- Update to 1.006002
|
|
|
|
|
Documentation
|
|
|
|
|
- Link to Exporter::Almighty in pod
|
|
|
|
|
- Update copyright dates
|
|
|
|
|
Packaging
|
|
|
|
|
- Set homepage in metadata to https://exportertiny.github.io
|
|
|
|
|
|
|
|
|
|
* Sun Mar 26 2023 Paul Howarth <paul@city-fan.org> - 1.006001-1
|
|
|
|
|
- Update to 1.006001
|
|
|
|
|
Documentation
|
|
|
|
|
- Don't mention Alt::Lexical::Var::ButSupportModernPerl in manual
|
|
|
|
|
Packaging
|
|
|
|
|
- No longer dynamically recommend Alt::Lexical::Var::ButSupportModernPerl
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.006000-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Nov 21 2022 Paul Howarth <paul@city-fan.org> - 1.006000-1
|
|
|
|
|
- Update to 1.006000
|
|
|
|
|
- Introduced lexical exporter support on Perl 5.11.2+ using the Lexical::Var
|
|
|
|
|
module
|
|
|
|
|
- Refactored the Perl 5.37.2+ lexical exporter support
|
|
|
|
|
|
|
|
|
|
* Sat Oct 15 2022 Paul Howarth <paul@city-fan.org> - 1.004004-1
|
|
|
|
|
- Update to 1.004004
|
|
|
|
|
- Minor corrections to QuickStart page in the manual
|
|
|
|
|
|
|
|
|
|
* Fri Sep 30 2022 Paul Howarth <paul@city-fan.org> - 1.004003-1
|
|
|
|
|
- Update to 1.004003
|
|
|
|
|
Bug Fixes
|
|
|
|
|
- If exporting non-CODE items that happen to have the same name as exported
|
|
|
|
|
CODE items, their export was quietly being blocked; these exports should
|
|
|
|
|
now work (GH#9)
|
|
|
|
|
- Using ! with a tag now works; it was previously documented as working but
|
|
|
|
|
not implemented (GH#8)
|
|
|
|
|
|
|
|
|
|
* Tue Sep 20 2022 Paul Howarth <paul@city-fan.org> - 1.004002-1
|
|
|
|
|
- Update to 1.004002
|
|
|
|
|
- Fix for t/15nonhashvalue.t on old versions of Test::More that don't support
|
|
|
|
|
'done_testing'
|
|
|
|
|
|
|
|
|
|
* Sat Sep 10 2022 Paul Howarth <paul@city-fan.org> - 1.004001-1
|
|
|
|
|
- Update to 1.004001
|
|
|
|
|
- Fix handling of non-hashref references in import list
|
|
|
|
|
|
|
|
|
|
* Mon Aug 29 2022 Paul Howarth <paul@city-fan.org> - 1.004000-1
|
|
|
|
|
- Update to 1.004000
|
|
|
|
|
- Provide an experimental '-lexical' export option on Perl 5.37.2+
|
|
|
|
|
- Quote $1 when passing it as a parameter to a function (GH#7)
|
|
|
|
|
- Use SPDX-format license tag
|
|
|
|
|
- Use %%license unconditionally
|
|
|
|
|
- Package new NEWS file
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.002002-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.002002-8
|
|
|
|
|
- Perl 5.36 rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.002002-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.002002-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.002002-5
|
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.002002-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|