|
|
|
@ -2,19 +2,19 @@
|
|
|
|
|
%bcond_without perl_autodie_enables_optional_test
|
|
|
|
|
|
|
|
|
|
Name: perl-autodie
|
|
|
|
|
Version: 2.34
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 2.29
|
|
|
|
|
Release: 396%{?dist}
|
|
|
|
|
Summary: Replace functions with ones that succeed or die
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/autodie
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/autodie-%{version}.tar.gz
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/autodie/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/P/PJ/PJF/autodie-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# Run-time:
|
|
|
|
@ -31,7 +31,7 @@ BuildRequires: perl(overload)
|
|
|
|
|
BuildRequires: perl(parent)
|
|
|
|
|
BuildRequires: perl(POSIX)
|
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
|
# Sub::Identify is optional with a fallback
|
|
|
|
|
# Sub::Identify is optional
|
|
|
|
|
BuildRequires: perl(Tie::RefHash)
|
|
|
|
|
# Tests:
|
|
|
|
|
# English not used
|
|
|
|
@ -43,13 +43,15 @@ BuildRequires: perl(if)
|
|
|
|
|
BuildRequires: perl(IO::Handle)
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
BuildRequires: perl(open)
|
|
|
|
|
# Pod::Coverage::TrustPod not used
|
|
|
|
|
BuildRequires: perl(Socket)
|
|
|
|
|
# Test::Kwalitee not used
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
# Test::Perl::Critic not used
|
|
|
|
|
# Test::Pod 1.41 not used
|
|
|
|
|
# Test::Pod::Coverage 1.08 not used
|
|
|
|
|
# Optional tests:
|
|
|
|
|
%if %{with perl_autodie_enables_optional_test} && !%{defined perl_bootstrap}
|
|
|
|
|
%if %{with perl_autodie_enables_optinonal_test} && !%{defined perl_bootstrap}
|
|
|
|
|
BuildRequires: perl(BSD::Resource)
|
|
|
|
|
BuildRequires: perl(Import::Into) >= 1.002004
|
|
|
|
|
%endif
|
|
|
|
@ -79,15 +81,15 @@ autodie in preference to "Fatal".
|
|
|
|
|
find -type f -exec chmod -x {} +
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
|
%{make_build}
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%{make_install}
|
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
unset AUTHOR_TESTING AUTOMATED_TESTING PERL_CORE RELEASE_TESTING
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
@ -97,61 +99,6 @@ make test
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.34-4
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.34-3
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.34-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 25 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.34-1
|
|
|
|
|
- 2.34 bump
|
|
|
|
|
|
|
|
|
|
* Fri Jan 22 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.33-1
|
|
|
|
|
- 2.33 bump
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.32-458
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.32-457
|
|
|
|
|
- Perl 5.32 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.32-456
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.32-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 17 2020 Petr Pisar <ppisar@redhat.com> - 2.32-1
|
|
|
|
|
- 2.32 bump
|
|
|
|
|
|
|
|
|
|
* Wed Jan 08 2020 Petr Pisar <ppisar@redhat.com> - 2.31-1
|
|
|
|
|
- 2.31 bump
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.29-440
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.29-439
|
|
|
|
|
- Perl 5.30 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.29-438
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.29-419
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.29-418
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.29-417
|
|
|
|
|
- Perl 5.28 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
* Tue Jun 26 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.29-416
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.29-396
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|