Name: perl-Test-Script-Run Version: 0.08 Release: 23%{?dist} Summary: Test the script with run License: GPL+ or Artistic URL: https://metacpan.org/release/Test-Script-Run Source0: https://cpan.metacpan.org/authors/id/S/SU/SUNNAVY/Test-Script-Run-%{version}.tar.gz # Fix building on Perl without "." in @INC, CPAN RT#121704 # Remove unhelpful dependencies Patch0: Test-Script-Run-0.08-Strip-author-dependencies.patch BuildArch: noarch BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(inc::Module::Install) BuildRequires: perl(Module::Install::Metadata) BuildRequires: perl(Module::Install::WriteAll) # Run-time: BuildRequires: perl(base) BuildRequires: perl(Exporter) BuildRequires: perl(File::Basename) BuildRequires: perl(File::Spec) BuildRequires: perl(IPC::Run3) BuildRequires: perl(strict) BuildRequires: perl(String::ShellQuote) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) BuildRequires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Suggests: perl(String::ShellQuote) %{?perl_default_filter} %description This module exports some subs to help test and run scripts in your distribution's bin/ directory, if the script path is not absolute. %prep %setup -q -n Test-Script-Run-%{version} %patch0 -p1 # Remove bundled modules rm -rf inc/* perl -i -ne 'print $_ unless m{^inc/}' MANIFEST %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes README %dir %{perl_vendorlib}/Test %dir %{perl_vendorlib}/Test/Script %{perl_vendorlib}/Test/Script/Run.pm %{_mandir}/man3/Test::Script::Run.3pm* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.08-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.08-22 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.08-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.08-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.08-19 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.08-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.08-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.08-16 - Perl 5.32 rebuild * Tue Mar 10 2020 Petr Pisar - 0.08-15 - Unbundle Module::Install * Thu Jan 30 2020 Fedora Release Engineering - 0.08-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.08-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.08-12 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.08-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.08-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 0.08-9 - Perl 5.28 rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.08-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.08-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 05 2017 Jitka Plesnikova - 0.08-6 - Perl 5.26 rebuild * Tue May 16 2017 Petr Pisar - 0.08-5 - Fix building on Perl without "." in @INC (CPAN RT#121704) * Sat Feb 11 2017 Fedora Release Engineering - 0.08-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.08-3 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.08-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Aug 28 2015 Jitka Plesnikova - 0.08-1 - 0.08 bump * Thu Jun 18 2015 Fedora Release Engineering - 0.04-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jun 05 2015 Jitka Plesnikova - 0.04-15 - Perl 5.22 rebuild * Thu Aug 28 2014 Jitka Plesnikova - 0.04-14 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.04-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.04-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Jul 22 2013 Petr Pisar - 0.04-11 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.04-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.04-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jun 14 2012 Petr Pisar - 0.04-8 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.04-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jun 21 2011 Marcela Mašláňová - 0.04-6 - Perl mass rebuild * Wed Feb 09 2011 Fedora Release Engineering - 0.04-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Jul 13 2010 Jerome Fenal 0.04-4 - Apply recommendations following Fedora Package Review (BZ#608470#c6): remove Requires on IPC::Run3 & Test::Exception. * Sun Jul 11 2010 Jerome Fenal 0.04-3 - Apply recommendations following Fedora Package Review (BZ#608470#c4) (directory ownership). * Mon Jul 5 2010 Jerome Fenal 0.04-2 - Apply recommendations following Fedora Package Review (BZ#608470#c1) * Sun Jun 27 2010 Jerome Fenal 0.04-1 - Specfile autogenerated by cpanspec 1.78.