From 41b15e9e37da5e34aec256b5dbd71e380c039e1a Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 17 2022 09:58:49 +0000 Subject: import perl-IPC-Cmd-1.04-461.el9 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b0ebeea --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/IPC-Cmd-1.04.tar.gz diff --git a/.perl-IPC-Cmd.metadata b/.perl-IPC-Cmd.metadata new file mode 100644 index 0000000..16b2c2b --- /dev/null +++ b/.perl-IPC-Cmd.metadata @@ -0,0 +1 @@ +6485f29eb8ab5c25c09d8c1cf7b0d89da087c5ca SOURCES/IPC-Cmd-1.04.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..75d239c --- /dev/null +++ b/SPECS/perl-IPC-Cmd.spec @@ -0,0 +1,244 @@ +# Use IPC::Run +%bcond_without perl_IPC_Cmd_enables_IPC_Run + +Name: perl-IPC-Cmd +# Epoch to compete with perl.spec +Epoch: 2 +Version: 1.04 +Release: 461%{?dist} +Summary: Finding and running system commands made easy +License: GPL+ or Artistic +URL: https://metacpan.org/release/IPC-Cmd +Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/IPC-Cmd-%{version}.tar.gz +# Replace ExtUtils::MakeMaker dependency with ExtUtils::MM::Utils. +# This enables 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: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +# 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 %{with perl_IPC_Cmd_enables_IPC_Run} && !%{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) +%if %{with perl_IPC_Cmd_enables_IPC_Run} +Suggests: perl(IPC::Run) >= 0.55 +%endif +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 NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} + +%install +%{make_install} +%{_fixperms} $RPM_BUILD_ROOT + +%check +make test + +%files +%doc CHANGES README +%{perl_vendorlib}/IPC/ +%{_mandir}/man3/IPC::Cmd.3* + +%changelog +* Mon Aug 09 2021 Mohan Boddu - 2:1.04-461 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 2:1.04-460 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Wed Jan 27 2021 Fedora Release Engineering - 2:1.04-459 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 2:1.04-458 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jun 26 2020 Jitka Plesnikova - 2:1.04-457 +- Perl 5.32 re-rebuild of bootstrapped packages + +* Mon Jun 22 2020 Jitka Plesnikova - 2:1.04-456 +- Increase release to favour standalone package + +* Thu Jan 30 2020 Fedora Release Engineering - 2:1.04-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 2:1.04-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon Jul 15 2019 Petr Pisar - 2:1.04-1 +- 1.04 bump + +* Sun Jun 02 2019 Jitka Plesnikova - 2:1.02-439 +- Perl 5.30 re-rebuild of bootstrapped packages + +* Thu May 30 2019 Jitka Plesnikova - 2:1.02-438 +- Increase release to favour standalone package + +* Fri Feb 01 2019 Fedora Release Engineering - 2:1.02-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 2:1.02-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sat Jun 30 2018 Jitka Plesnikova - 2:1.02-3 +- Perl 5.28 re-rebuild of bootstrapped packages + +* Tue Jun 26 2018 Jitka Plesnikova - 2:1.02-2 +- Perl 5.28 rebuild + +* Thu May 03 2018 Petr Pisar - 2:1.02-1 +- 1.02 bump + +* Thu Feb 15 2018 Petr Pisar - 2:1.00-1 +- 1.00 bump + +* Thu Feb 08 2018 Fedora Release Engineering - 2:0.98-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 2:0.98-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Jun 07 2017 Jitka Plesnikova - 2:0.98-3 +- Perl 5.26 re-rebuild of bootstrapped packages + +* Sat Jun 03 2017 Jitka Plesnikova - 2:0.98-2 +- Perl 5.26 rebuild + +* 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.