Name: perl-PAR Version: 1.018 Release: 1%{?dist} Summary: Perl Archive Toolkit License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/PAR Source0: https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/PAR-%{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) # Runtime # XXX: BuildRequires: perl(Archive::Unzip::Burst) BuildRequires: perl(Archive::Zip) >= 1 BuildRequires: perl(bytes) BuildRequires: perl(Carp) BuildRequires: perl(Config) # XXX: BuildRequires: perl(Digest::MD5) BuildRequires: perl(Digest::SHA) >= 5.45 # XXX: BuildRequires: perl(Digest::SHA1) # XXX: BuildRequires: perl(DynaLoader) BuildRequires: perl(Fcntl) # XXX: BuildRequires: perl(File::Glob) BuildRequires: perl(File::Spec) BuildRequires: perl(File::Temp) >= 0.05 # XXX: BuildRequires: perl(LWP::Simple) BuildRequires: perl(vars) # Tests only BuildRequires: perl(blib) BuildRequires: perl(AutoLoader) >= 5.66 BuildRequires: perl(File::Path) BuildRequires: perl(FindBin) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Archive::Zip) >= 1 Requires: perl(Digest::SHA) >= 5.45 Requires: perl(File::Glob) Requires: perl(File::Spec) Requires: perl(File::Temp) >= 0.05 Requires: perl(LWP::Simple) # Filter under-specified dependencies %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Archive::Zip\\)$ # Filter modules bundled for tests %global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_libexecdir} %global __requires_exclude %{__requires_exclude}|^perl\\(Data\\) %global __requires_exclude %{__requires_exclude}|^perl\\(Hello\\) %description This module lets you use special zip files, called Perl Archives, as libraries from which Perl modules can be loaded. %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 PAR-%{version} # Help generators to recognize Perl scripts for F in `find t -name *.t -o -name *.pl`; 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} perl -i -pe 's{-Mblib }{}' %{buildroot}%{_libexecdir}/%{name}/t/01-basic.t cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF' #!/bin/sh unset PERL_TEST_POD cd %{_libexecdir}/%{name} && exec prove -I . -r -j "$(getconf _NPROCESSORS_ONLN)" EOF chmod +x %{buildroot}%{_libexecdir}/%{name}/test %check unset PERL_TEST_POD 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 AUTHORS Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %files tests %{_libexecdir}/%{name} %changelog * Thu Sep 29 2022 Jitka Plesnikova - 1.018-1 - 1.018 bump - Package tests * Fri Jul 22 2022 Fedora Release Engineering - 1.017-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue May 31 2022 Jitka Plesnikova - 1.017-6 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.017-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.017-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 1.017-3 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.017-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jan 13 2021 Jitka Plesnikova - 1.017-1 - 1.017 bump * Tue Jul 28 2020 Fedora Release Engineering - 1.016-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 1.016-6 - Perl 5.32 rebuild * Wed Mar 11 2020 Petr Pisar - 1.016-5 - Build require blib to the tests * Thu Jan 30 2020 Fedora Release Engineering - 1.016-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.016-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 1.016-2 - Perl 5.30 rebuild * Tue May 21 2019 Jitka Plesnikova - 1.016-1 - 1.016 bump * Fri Feb 01 2019 Fedora Release Engineering - 1.015-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.015-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 1.015-6 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.015-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.015-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 05 2017 Jitka Plesnikova - 1.015-3 - Perl 5.26 rebuild * Wed Apr 26 2017 Jitka Plesnikova - 1.015-2 - Fix changelog entry * Tue Apr 18 2017 Jitka Plesnikova - 1.015-1 - 1.015 bump * Sat Feb 11 2017 Fedora Release Engineering - 1.014-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Jitka Plesnikova - 1.014-1 - 1.014 bump * Mon Nov 28 2016 Jitka Plesnikova - 1.013-1 - 1.013 bump * Thu Sep 29 2016 Jitka Plesnikova - 1.011-1 - 1.011 bump * Sun May 15 2016 Jitka Plesnikova - 1.010-3 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.010-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Jul 14 2015 Petr Šabata - 1.010-1 - 1.010 bump * Thu Jun 18 2015 Fedora Release Engineering - 1.009-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 1.009-2 - Perl 5.22 rebuild * Thu Apr 23 2015 Petr Šabata - 1.009-1 - 1.009 bump * Tue Feb 03 2015 Petr Pisar - 1.008-1 - 1.008 bump * Thu Aug 28 2014 Jitka Plesnikova - 1.007-6 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.007-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.007-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 24 2013 Petr Pisar - 1.007-3 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.007-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Oct 23 2012 Petr Šabata - 1.007-1 - 1.007 bugfix bump * Mon Oct 15 2012 Petr Šabata - 1.006-1 - 1.006 bump - Drop command macros * Fri Jul 20 2012 Fedora Release Engineering - 1.005-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jun 21 2012 Petr Pisar - 1.005-3 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.005-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Dec 05 2011 Petr Pisar - 1.005-1 - 1.005 bump * Thu Dec 01 2011 Petr Pisar - 1.004-1 - 1.004 bump * Tue Nov 29 2011 Petr Šabata - 1.003-1 - 1.003 bump - Update Source URL - It's time to drop Buildroot and defattr here as well * Tue Jul 19 2011 Petr Sabata - 1.002-4 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.002-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Dec 21 2010 Marcela Maslanova - 1.002-2 - 661697 rebuild for fixing problems with vendorach/lib * Tue Sep 14 2010 Petr Sabata - 1.002-1 - New release, v1.002 * Tue Aug 24 2010 Adam Tkac - 1.000-2 - rebuild * Fri Jun 11 2010 Petr Sabata - 1.000-1 - Update to the latest release. * Tue May 04 2010 Marcela Maslanova - 0.994-3 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.994-2 - rebuild against perl 5.10.1 * Fri Aug 21 2009 Marcela Mašláňová 0.994-1 - update and fix 505576 which was probably fixed by new release * Sun Jul 26 2009 Fedora Release Engineering - 0.992-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Apr 28 2009 Marcela Mašláňová 0.992-1 - update to the latest release * Thu Feb 26 2009 Fedora Release Engineering - 0.983-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Sep 24 2008 Marcela Mašláňová 0.983-2 - Specfile autogenerated by cpanspec 1.77.