Name: perl-ExtUtils-Manifest Epoch: 1 Version: 1.75 Release: 5%{?dist} Summary: Utilities to write and check a MANIFEST file License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/ExtUtils-Manifest Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/ExtUtils-Manifest-%{version}.tar.gz BuildArch: noarch BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time: BuildRequires: perl(Carp) BuildRequires: perl(Config) BuildRequires: perl(Exporter) BuildRequires: perl(File::Basename) BuildRequires: perl(File::Copy) BuildRequires: perl(File::Find) BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) >= 0.8 # VMS::Feature not used # VMS::Filespec not used # Tests: BuildRequires: perl(Cwd) BuildRequires: perl(Data::Dumper) BuildRequires: perl(Test::More) # CPAN::Meta not needed Requires: perl(File::Path) %description %{summary}. %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 ExtUtils-Manifest-%{version} # Help generators to recognize Perl scripts for F in `find t -name *.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 INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{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/bash set -e # Some tests write into temporary files/directories. The easiest solution # is to copy the tests into a writable directory and execute them from there. DIR=$(mktemp -d) pushd "$DIR" cp -a %{_libexecdir}/%{name}/* ./ prove -I . -j "$(getconf _NPROCESSORS_ONLN)" popd rm -rf "$DIR" 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 %license LICENSE %doc Changes README %{perl_vendorlib}/ExtUtils* %{_mandir}/man3/ExtUtils* %files tests %{_libexecdir}/%{name} %changelog * Thu Jan 25 2024 Fedora Release Engineering - 1:1.75-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1:1.75-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 1:1.75-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Jitka Plesnikova - 1:1.75-2 - Perl 5.38 rebuild * Tue May 02 2023 Jitka Plesnikova - 1:1.75-1 - 1.75 bump - Package tests * Fri Jan 20 2023 Fedora Release Engineering - 1:1.73-490 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1:1.73-489 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 1:1.73-488 - Increase release to favour standalone package * Fri Jan 21 2022 Fedora Release Engineering - 1:1.73-479 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1:1.73-478 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 1:1.73-477 - Increase release to favour standalone package * Wed Jan 27 2021 Fedora Release Engineering - 1:1.73-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jan 18 2021 Jitka Plesnikova - 1:1.73-1 - 1.73 bump * Tue Jul 28 2020 Fedora Release Engineering - 1:1.72-457 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 1:1.72-456 - Increase release to favour standalone package * Thu Jan 30 2020 Fedora Release Engineering - 1:1.72-440 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1:1.72-439 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 1:1.72-438 - Increase release to favour standalone package * Mon Mar 11 2019 Petr Pisar - 1:1.72-1 - 1.72 bump * Fri Feb 01 2019 Fedora Release Engineering - 1:1.71-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1:1.71-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 26 2018 Jitka Plesnikova - 1:1.71-2 - Perl 5.28 rebuild * Tue May 15 2018 Jitka Plesnikova - 1.71-1 - 1.71 bump - Modernize spec file * Thu Feb 08 2018 Fedora Release Engineering - 1.70-395 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.70-394 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Jun 03 2017 Jitka Plesnikova - 1.70-393 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.70-366 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat May 14 2016 Jitka Plesnikova - 1.70-365 - Increase release to favour standalone package * Thu Feb 04 2016 Fedora Release Engineering - 1.70-347 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.70-346 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Jun 04 2015 Jitka Plesnikova - 1.70-345 - Increase release to favour standalone package * Wed Jun 03 2015 Jitka Plesnikova - 1.70-2 - Perl 5.22 rebuild * Mon Jan 05 2015 Petr Pisar - 1.70-1 - 1.70 bump * Thu Nov 20 2014 Petr Pisar - 1.69-1 - 1.69 bump * Wed Sep 17 2014 Petr Pisar - 1.68-1 - 1.68 bump * Wed Sep 10 2014 Petr Pisar - 1.66-1 - 1.66 bump * Wed Aug 27 2014 Jitka Plesnikova - 1.65-2 - Perl 5.20 rebuild * Tue Aug 12 2014 Petr Pisar - 1.65-1 - 1.65 bump * Tue Jul 29 2014 Petr Pisar - 1.64-1 - 1.64 bump * Sat Jun 07 2014 Fedora Release Engineering - 1.63-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Sep 10 2013 Petr Pisar - 1.63-1 - 1.63 bump * Sat Aug 03 2013 Fedora Release Engineering - 1.61-245 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Jul 12 2013 Petr Pisar - 1.61-244 - Perl 5.18 rebuild * Tue Apr 30 2013 Petr Pisar - 1.61-243 - Increase release number to supersede perl sub-package (bug #957931) * Thu Feb 14 2013 Fedora Release Engineering - 1.61-241 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Sep 18 2012 Petr Pisar - 1.61-240 - Increase release to remove sub-package from perl * Thu Sep 13 2012 Petr Pisar - 1.61-1 - 1.61 bump * Fri Jul 20 2012 Fedora Release Engineering - 1.60-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Jun 06 2012 Petr Pisar - 1.60-2 - Perl 5.16 rebuild * Mon Nov 28 2011 Petr Pisar 1.60-1 - Specfile autogenerated by cpanspec 1.78. - Remove defattr and BuildRoot from spec code.