%global base_version 5.78 Name: perl-Exporter Version: 5.78 Release: 3%{?dist} Summary: Implements default import method for modules License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/Exporter Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/Exporter-%{base_version}.tar.gz BuildArch: noarch BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Run-time: BuildRequires: perl(Carp) >= 1.05 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Tests: BuildRequires: perl(vars) Requires: perl(Carp) >= 1.05 Requires: perl(warnings) %description The Exporter module implements an import method which allows a module to export functions and variables to its users' name spaces. Many modules use Exporter rather than implementing their own import method because Exporter provides a highly flexible interface, with an implementation optimized for the common case. %package tests Summary: Tests for %{name} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: perl-Test-Harness %description tests Tests from %{name}. Execute them with "%{_libexecdir}/%{name}/test". %prep %setup -q -n Exporter-%{base_version} # Remove optional author test to prevent cycle Exporter <-> Test::More rm t/pod.t perl -i -ne 'print $_ unless m{^t/pod.t}' MANIFEST # Help generators to recognize Perl scripts for F in t/*.t; do perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F" chmod +x "$F" done %build perl Makefile.PL NO_PACKLIST=1 NO_PERLLOCAL=1 INSTALLDIRS=vendor %{make_build} %install %{make_install} %{_fixperms} %{buildroot}/* # Install tests mkdir -p %{buildroot}%{_libexecdir}/%{name} cp -a t %{buildroot}%{_libexecdir}/%{name} cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF' #!/bin/sh cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)" EOF chmod +x %{buildroot}%{_libexecdir}/%{name}/test %check export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}') make test %files %doc Changes README %{perl_vendorlib}/Exporter* %{_mandir}/man3/Exporter* %files tests %{_libexecdir}/%{name} %changelog * Thu Jan 25 2024 Fedora Release Engineering - 5.78-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 5.78-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jan 03 2024 Jitka Plesnikova - 5.78-1 - 5.78 bump (rhbz#2256294) * Fri Sep 22 2023 Jitka Plesnikova - 5.77-501 - Package tests * Thu Jul 20 2023 Fedora Release Engineering - 5.77-500 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Jitka Plesnikova - 5.77-499 - Increase release to favour standalone package * Fri Jan 20 2023 Fedora Release Engineering - 5.77-490 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 5.77-489 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 5.77-488 - Increase release to favour standalone package * Wed May 11 2022 Jitka Plesnikova - 5.77-1 - Upgrade to 5.77 as provided in perl-5.35.11 * Fri Jan 21 2022 Fedora Release Engineering - 5.76-480 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 5.76-479 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon May 24 2021 Jitka Plesnikova - 5.76-478 - Perl 5.34 re-rebuild of bootstrapped packages * Fri May 21 2021 Jitka Plesnikova - 5.76-477 - Increase release to favour standalone package * Wed May 05 2021 Jitka Plesnikova - 5.76-1 - Upgrade to 5.76 as provided in perl-5.34.0 * Wed Jan 27 2021 Fedora Release Engineering - 5.74-459 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 5.74-458 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 26 2020 Jitka Plesnikova - 5.74-457 - Perl 5.32 re-rebuild of bootstrapped packages * Mon Jun 22 2020 Jitka Plesnikova - 5.74-456 - Increase release to favour standalone package * Thu Jan 30 2020 Fedora Release Engineering - 5.74-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Jan 20 2020 Petr Pisar - 5.74-1 - 5.74 bump * Fri Jul 26 2019 Fedora Release Engineering - 5.73-440 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jun 02 2019 Jitka Plesnikova - 5.73-439 - Perl 5.30 re-rebuild of bootstrapped packages * Thu May 30 2019 Jitka Plesnikova - 5.73-438 - Increase release to favour standalone package * Fri Feb 01 2019 Fedora Release Engineering - 5.73-419 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 5.73-418 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jun 30 2018 Jitka Plesnikova - 5.73-417 - Perl 5.28 re-rebuild of bootstrapped packages * Wed Jun 27 2018 Jitka Plesnikova - 5.73-416 - Increase release to favour standalone package * Thu May 24 2018 Jitka Plesnikova - 5.73-1 - Upgrade to 5.73 as provided in perl-5.28.0-RC1 * Thu Feb 08 2018 Fedora Release Engineering - 5.72-396 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 5.72-395 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed Jun 07 2017 Jitka Plesnikova - 5.72-394 - Perl 5.26 re-rebuild of bootstrapped packages * Sat Jun 03 2017 Jitka Plesnikova - 5.72-393 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 5.72-367 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed May 18 2016 Jitka Plesnikova - 5.72-366 - Perl 5.24 re-rebuild of bootstrapped packages * Sat May 14 2016 Jitka Plesnikova - 5.72-365 - Increase release to favour standalone package * Thu Feb 04 2016 Fedora Release Engineering - 5.72-349 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Oct 20 2015 Petr Pisar - 5.72-348 - Rebuild to utilize perl(:VERSION) dependency symbol * Thu Jun 18 2015 Fedora Release Engineering - 5.72-347 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 10 2015 Jitka Plesnikova - 5.72-346 - Perl 5.22 re-rebuild of bootstrapped packages * Thu Jun 04 2015 Jitka Plesnikova - 5.72-345 - Increase release to favour standalone package * Wed Jun 03 2015 Jitka Plesnikova - 5.72-2 - Perl 5.22 rebuild * Wed May 06 2015 Petr Pisar - 5.72-1 - 5.72 bump in order to dual-live with perl 5.22 * Sun Sep 07 2014 Jitka Plesnikova - 5.70-311 - Perl 5.20 re-rebuild of bootstrapped packages * Wed Sep 03 2014 Jitka Plesnikova - 5.70-310 - Increase release to favour standalone package * Tue Aug 26 2014 Jitka Plesnikova - 5.70-3 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 5.70-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Apr 14 2014 Petr Pisar - 5.70-1 - 5.70 bump * Wed Aug 14 2013 Jitka Plesnikova - 5.68-293 - Perl 5.18 re-rebuild of bootstrapped packages * Sat Aug 03 2013 Fedora Release Engineering - 5.68-292 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Jul 26 2013 Petr Pisar - 5.68-291 - Specify all dependencies * Mon Jul 15 2013 Petr Pisar - 5.68-290 - Increase release to favour standalone package * Fri Jul 12 2013 Petr Pisar - 5.68-2 - Link minimal build-root packages against libperl.so explicitly * Thu Mar 28 2013 Petr Pisar - 5.68-1 - 5.68 bump * Fri Mar 22 2013 Petr Pisar 5.67-1 - Specfile autogenerated by cpanspec 1.78.