|
|
|
@ -1,25 +1,25 @@
|
|
|
|
|
# TODO: BR: perl(B::C) when available
|
|
|
|
|
# Run optional test
|
|
|
|
|
%bcond_without perl_Sub_Name_enables_optional_test
|
|
|
|
|
%bcond_with perl_Sub_Name_enables_optional_test
|
|
|
|
|
|
|
|
|
|
Name: perl-Sub-Name
|
|
|
|
|
Version: 0.26
|
|
|
|
|
Version: 0.21
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Summary: Name - or rename - a sub
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/Sub-Name
|
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/Sub/Sub-Name-%{version}.tar.gz
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/Sub-Name-%{version}.tar.gz
|
|
|
|
|
# Module Build
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
# Module Runtime
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(Exporter) >= 5.57
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
BuildRequires: perl(XSLoader)
|
|
|
|
@ -30,7 +30,7 @@ BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(feature)
|
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
BuildRequires: perl(if)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
|
%if %{with perl_Sub_Name_enables_optional_test}
|
|
|
|
|
# Optional Tests
|
|
|
|
|
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
|
|
|
@ -60,7 +60,7 @@ make %{?_smp_mflags}
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
|
find %{buildroot} -type f -name '*.bs' -empty -delete
|
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
@ -77,52 +77,11 @@ make test
|
|
|
|
|
%{_mandir}/man3/Sub::Name.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.26-7
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.26-6
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.26-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.26-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.26-3
|
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.26-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Oct 6 2019 Paul Howarth <paul@city-fan.org> - 0.26-1
|
|
|
|
|
- Update to 0.26
|
|
|
|
|
- %%DB::sub is now populated correctly for sub names with wide characters or
|
|
|
|
|
nulls (GH#9)
|
|
|
|
|
- Better Perl 5.6 compatibility by lowering prereqs of core modules
|
|
|
|
|
- Test for renaming lexical subs, which should work on Perl 5.22+ (GH#10)
|
|
|
|
|
- Small internal changes to bring implementation in line with changes to
|
|
|
|
|
Sub::Util
|
|
|
|
|
- Fix "Undefined symbol "DPPP_my_croak_xs_usage"" error on some perls
|
|
|
|
|
(CPAN RT#125158)
|
|
|
|
|
- Use author-independent source URL
|
|
|
|
|
- Fix permissions verbosely
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.21-10
|
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
* Thu Dec 07 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.21-7
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.21-7
|
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
* Fri Jul 13 2018 Petr Pisar <ppisar@redhat.com> - 0.21-7
|
|
|
|
|
- Disable optional test
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|