From 0ad40547343b99e6604c1d78235a0f2ff9fcaa22 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 05 2019 15:23:48 +0000 Subject: import perl-IPC-Cmd-0.98-2.module+el8.1.0+2926+ce7246ad --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..be9dd9e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/IPC-Cmd-0.98.tar.gz diff --git a/.perl-IPC-Cmd.metadata b/.perl-IPC-Cmd.metadata new file mode 100644 index 0000000..f9d58ad --- /dev/null +++ b/.perl-IPC-Cmd.metadata @@ -0,0 +1 @@ +8733e57ddca93a568b4ca8fc023da6f4a316976c SOURCES/IPC-Cmd-0.98.tar.gz diff --git a/SOURCES/IPC-Cmd-0.96-Replace-EU-MM-dependency-with-EU-MM-Utils.patch b/SOURCES/IPC-Cmd-0.96-Replace-EU-MM-dependency-with-EU-MM-Utils.patch new file mode 100644 index 0000000..cbaf1a3 --- /dev/null +++ b/SOURCES/IPC-Cmd-0.96-Replace-EU-MM-dependency-with-EU-MM-Utils.patch @@ -0,0 +1,46 @@ +From d96fedc52a7326941ff9a4036bdf2c6ffe100b3b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Mon, 18 Apr 2016 15:15:44 +0200 +Subject: [PATCH] Replace EU::MM dependnecy with EU::MM::Utils +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +This allows to free from a run-time dependency on fat ExtUtils::MakeMaker. + + + +Signed-off-by: Petr Písař +--- + Makefile.PL | 1 + + lib/IPC/Cmd.pm | 2 +- + 2 files changed, 2 insertions(+), 1 deletion(-) + +diff --git a/Makefile.PL b/Makefile.PL +index 540012e..a014be8 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -9,6 +9,7 @@ my $prereqs = { + 'File::Spec' => 0, + 'File::Temp' => 0, + 'ExtUtils::MakeMaker' => 0, ++ 'ExtUtils::MM::Utils' => 0, + }; + + WriteMakefile1( +diff --git a/lib/IPC/Cmd.pm b/lib/IPC/Cmd.pm +index 13f3c6b..6191dc3 100644 +--- a/lib/IPC/Cmd.pm ++++ b/lib/IPC/Cmd.pm +@@ -232,7 +232,7 @@ sub can_run { + } + + require File::Spec; +- require ExtUtils::MakeMaker; ++ require ExtUtils::MM::Utils; + + my @possibles; + +-- +2.5.5 + diff --git a/SPECS/perl-IPC-Cmd.spec b/SPECS/perl-IPC-Cmd.spec new file mode 100644 index 0000000..5c8bf5a --- /dev/null +++ b/SPECS/perl-IPC-Cmd.spec @@ -0,0 +1,181 @@ +Name: perl-IPC-Cmd +# Epoch to compete with perl.spec +Epoch: 1 +Version: 0.98 +Release: 2%{?dist} +Summary: Finding and running system commands made easy +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/IPC-Cmd/ +Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/IPC-Cmd-%{version}.tar.gz +# Replace ExtUtils::MakeMaker dependency with ExtUtils::MM::Utils. +# This allows not to require perl-devel. Bug #1129443 +Patch0: IPC-Cmd-0.96-Replace-EU-MM-dependency-with-EU-MM-Utils.patch +BuildArch: noarch +# Build: +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MM::Utils) +BuildRequires: perl(File::Spec) +BuildRequires: perl(FileHandle) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IO::Select) +BuildRequires: perl(IPC::Open3) +%if !%{defined perl_bootstrap} +BuildRequires: perl(IPC::Run) >= 0.55 +%endif +BuildRequires: perl(Locale::Maketext::Simple) +BuildRequires: perl(Module::Load::Conditional) >= 0.66 +BuildRequires: perl(Params::Check) >= 0.20 +BuildRequires: perl(POSIX) +BuildRequires: perl(Socket) +BuildRequires: perl(strict) +BuildRequires: perl(Symbol) +BuildRequires: perl(Text::ParseWords) +BuildRequires: perl(Time::HiRes) +BuildRequires: perl(vars) +# Tests: +# output.pl/IO::Handle not used +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(File::Temp) +BuildRequires: perl(lib) +BuildRequires: perl(Test::More) +BuildRequires: perl(warnings) +# Dependencies: +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(ExtUtils::MM::Utils) +Requires: perl(FileHandle) +Requires: perl(IO::Handle) +Requires: perl(IO::Select) +Requires: perl(IPC::Open3) +Suggests: perl(IPC::Run) >= 0.55 +Requires: perl(Module::Load::Conditional) >= 0.66 +Requires: perl(Params::Check) >= 0.20 +Requires: perl(POSIX) +Requires: perl(Socket) +Requires: perl(Time::HiRes) + +# Filter under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Module::Load::Conditional\\)$ +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Params::Check\\)$ + +%description +IPC::Cmd allows you to run commands platform independently, interactively +if desired, but have them still work. + +%prep +%setup -q -n IPC-Cmd-%{version} +%patch0 -p1 + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -delete +%{_fixperms} $RPM_BUILD_ROOT + +%check +make test + +%files +%doc CHANGES README +%{perl_vendorlib}/IPC/ +%{_mandir}/man3/IPC::Cmd.3* + +%changelog +* Fri Mar 29 2019 Jitka Plesnikova - 1:0.98-2 +- Rebuild with enable hardening (bug #1636329) + +* Sun May 14 2017 Paul Howarth - 1:0.98-1 +- Update to 0.98 + - Added wait_loop_callback for run_forked() + - Only search in curdir in can_run() when on Win32 (CPAN RT#105601) +- Drop redundant Group: tag + +* Fri May 12 2017 Jitka Plesnikova - 1:0.96-3 +- Don't BR: perl(IPC::Run) when bootstrapping + +* Sat Feb 11 2017 Fedora Release Engineering - 1:0.96-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Jul 28 2016 Paul Howarth - 1:0.96-1 +- Update to 0.96 + - Require Module::Load::Conditional 0.66 to resolve CVE-2016-1238 + (avoid loading optional modules from default .) +- Update patch for use of ExtUtils::MM::Utils +- Simplify find command using -delete + +* Sat May 14 2016 Jitka Plesnikova - 1:0.94-4 +- Perl 5.24 rebuild + +* Mon Apr 18 2016 Petr Pisar - 1:0.94-3 +- Replace ExtUtils::MakeMaker dependency with ExtUtils::MM::Utils (bug #1129443) + +* Mon Feb 15 2016 Petr Pisar - 1:0.94-2 +- Weaken dependency on IPC::Run (bug #1307195) + +* Sat Feb 13 2016 Paul Howarth - 1:0.94-1 +- 0.94 bump + +* Thu Feb 04 2016 Fedora Release Engineering - 1:0.92-347 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 1:0.92-346 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Jun 04 2015 Jitka Plesnikova - 1:0.92-345 +- Increase release to favour standalone package + +* Wed Jun 03 2015 Jitka Plesnikova - 1:0.92-311 +- Perl 5.22 rebuild + +* Wed Sep 03 2014 Jitka Plesnikova - 1:0.92-310 +- Increase release to favour standalone package + +* Tue Aug 26 2014 Jitka Plesnikova - 1:0.92-3 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1:0.92-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu Jan 23 2014 Petr Pisar - 1:0.92-1 +- 0.92 bump + +* Tue Nov 19 2013 Petr Pisar - 1:0.90-1 +- 0.90 bump + +* Tue Nov 05 2013 Petr Pisar - 1:0.86-1 +- 0.86 bump + +* Thu Aug 08 2013 Petr Pisar - 1:0.84-1 +- 0.84 bump + +* Sat Aug 03 2013 Fedora Release Engineering - 1:0.82-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Jul 12 2013 Petr Pisar - 1:0.82-2 +- Perl 5.18 rebuild + +* Mon Jul 08 2013 Petr Pisar - 1:0.82-1 +- 0.82 bump + +* Mon May 20 2013 Petr Pisar - 1:0.80-3 +- Remove unneeded dependency on Config + +* Thu Mar 14 2013 Petr Pisar - 1:0.80-2 +- Set epoch to compete with core module from perl.spec + +* Mon Mar 04 2013 Petr Pisar - 0.80-1 +- 0.80 bump + +* Fri Feb 08 2013 Petr Pisar 0.78-1 +- Specfile autogenerated by cpanspec 1.78.