|
|
|
@ -8,31 +8,27 @@
|
|
|
|
|
%bcond_without perl_B_Hooks_EndOfScope_enables_optional_test
|
|
|
|
|
|
|
|
|
|
Name: perl-B-Hooks-EndOfScope
|
|
|
|
|
Version: 0.24
|
|
|
|
|
Release: 15%{?dist}
|
|
|
|
|
Version: 0.21
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Summary: Execute code after scope compilation finishes
|
|
|
|
|
URL: https://metacpan.org/release/B-Hooks-EndOfScope
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/B-Hooks-EndOfScope-%{version}.tar.gz
|
|
|
|
|
URL: http://search.cpan.org/dist/B-Hooks-EndOfScope/
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/B-Hooks-EndOfScope-%{version}.tar.gz
|
|
|
|
|
Patch0: B-Hooks-EndOfScope-0.13-shellbangs.patch
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# Build
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
%if 0%{?fedora} > 20 || 0%{?rhel} > 7
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
BuildRequires: perl(Text::ParseWords)
|
|
|
|
|
# Dependencies of bundled ExtUtils::HasCompiler
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
|
BuildRequires: perl(DynaLoader)
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
|
BuildRequires: perl(File::Spec::Functions)
|
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
|
# Common Module Requirements
|
|
|
|
|
BuildRequires: perl(Module::Implementation) >= 0.05
|
|
|
|
|
BuildRequires: perl(Sub::Exporter::Progressive) >= 0.001006
|
|
|
|
@ -53,28 +49,24 @@ BuildRequires: perl(Devel::Hide) >= 0.0007
|
|
|
|
|
BuildRequires: perl(File::Glob)
|
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
BuildRequires: perl(IPC::Open2)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
|
# Optional Tests
|
|
|
|
|
BuildRequires: perl(Module::Metadata)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.89
|
|
|
|
|
%if %{with perl_B_Hooks_EndOfScope_enables_optional_test}
|
|
|
|
|
# Optional Tests
|
|
|
|
|
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
|
|
|
|
BuildRequires: perl(CPAN::Meta::Prereqs)
|
|
|
|
|
%endif
|
|
|
|
|
# Author/Release tests
|
|
|
|
|
# Note:
|
|
|
|
|
# * Test::Pod::No404s intentionally omitted as it would fail due to
|
|
|
|
|
# Note: Test::Pod::No404s intentionally omitted as it would fail due to
|
|
|
|
|
# missing connectivity in the koji build environment
|
|
|
|
|
# * ExtUtils::HasCompiler is bundled, so we don't need to BuildRequire it
|
|
|
|
|
%if %{with perl_B_Hooks_EndOfScope_enables_extra_test}
|
|
|
|
|
BuildRequires: perl(blib)
|
|
|
|
|
BuildRequires: perl(Encode)
|
|
|
|
|
BuildRequires: perl(IO::Handle)
|
|
|
|
|
BuildRequires: perl(IPC::Open3)
|
|
|
|
|
BuildRequires: perl(Path::Tiny) >= 0.062
|
|
|
|
|
BuildRequires: perl(Pod::Coverage::TrustPod)
|
|
|
|
|
BuildRequires: perl(Pod::Wordlist)
|
|
|
|
|
BuildRequires: perl(Test::CPAN::Changes)
|
|
|
|
|
BuildRequires: perl(Test::CPAN::Meta)
|
|
|
|
|
BuildRequires: perl(Test::Deep)
|
|
|
|
|
BuildRequires: perl(Test::EOL)
|
|
|
|
|
BuildRequires: perl(Test::Kwalitee) >= 1.21
|
|
|
|
|
BuildRequires: perl(Test::MinimumVersion)
|
|
|
|
@ -109,7 +101,7 @@ make %{?_smp_mflags}
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%if %{with perl_B_Hooks_EndOfScope_enables_extra_test}
|
|
|
|
@ -129,56 +121,6 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
|
|
|
|
|
%{_mandir}/man3/B::Hooks::EndOfScope::XS.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.24-15
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.24-14
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-13
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.24-11
|
|
|
|
|
- Perl 5.32 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.24-10
|
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.24-7
|
|
|
|
|
- Perl 5.30 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.24-6
|
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.24-3
|
|
|
|
|
- Perl 5.28 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.24-2
|
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Apr 24 2018 Paul Howarth <paul@city-fan.org> - 0.24-1
|
|
|
|
|
- Update to 0.24
|
|
|
|
|
- Fix memory corruption on perls 5.8.0 - 5.8.3
|
|
|
|
|
- Improve use of constants in compile-time perl version checks
|
|
|
|
|
- BR: perl-generators unconditionally
|
|
|
|
|
- Drop legacy Group: tag
|
|
|
|
|
|
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|