Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
Paul Howarth | 908081027a | |
Petr Písař | c53951226f | |
Petr Písař | e7818ccabf | |
Petr Písař | 2cf51392e9 | |
Paul Howarth | 544cf92328 |
|
@ -1,4 +1,4 @@
|
|||
IPC-Cmd-0.40.tar.gz
|
||||
/IPC-Cmd-0.40.tar.gz
|
||||
/IPC-Cmd-0.78.tar.gz
|
||||
/IPC-Cmd-0.80.tar.gz
|
||||
/IPC-Cmd-0.82.tar.gz
|
||||
|
@ -6,3 +6,5 @@ IPC-Cmd-0.40.tar.gz
|
|||
/IPC-Cmd-0.86.tar.gz
|
||||
/IPC-Cmd-0.90.tar.gz
|
||||
/IPC-Cmd-0.92.tar.gz
|
||||
/IPC-Cmd-0.94.tar.gz
|
||||
/IPC-Cmd-0.96.tar.gz
|
||||
|
|
|
@ -0,0 +1,46 @@
|
|||
From d96fedc52a7326941ff9a4036bdf2c6ffe100b3b Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||
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.
|
||||
|
||||
<https://bugzilla.redhat.com/show_bug.cgi?id=1129443>
|
||||
|
||||
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||
---
|
||||
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
|
||||
|
|
@ -1,31 +1,41 @@
|
|||
Name: perl-IPC-Cmd
|
||||
# Epoch to compete with perl.spec
|
||||
Epoch: 1
|
||||
Version: 0.92
|
||||
Release: 346%{?dist}
|
||||
Version: 0.96
|
||||
Release: 1%{?dist}
|
||||
Summary: Finding and running system commands made easy
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
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)
|
||||
BuildRequires: perl(strict)
|
||||
# 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)
|
||||
BuildRequires: perl(IPC::Run) >= 0.55
|
||||
BuildRequires: perl(Locale::Maketext::Simple)
|
||||
BuildRequires: perl(Module::Load::Conditional)
|
||||
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)
|
||||
|
@ -37,16 +47,22 @@ 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::MakeMaker)
|
||||
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
|
||||
|
@ -55,6 +71,7 @@ if desired, but have them still work.
|
|||
|
||||
%prep
|
||||
%setup -q -n IPC-Cmd-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
|
@ -62,18 +79,34 @@ make %{?_smp_mflags}
|
|||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
%{_fixperms} $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}/*
|
||||
%{_mandir}/man3/*
|
||||
%{perl_vendorlib}/IPC/
|
||||
%{_mandir}/man3/IPC::Cmd.3*
|
||||
|
||||
%changelog
|
||||
* Thu Jul 28 2016 Paul Howarth <paul@city-fan.org> - 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
|
||||
|
||||
* Mon Apr 18 2016 Petr Pisar <ppisar@redhat.com> - 1:0.94-3
|
||||
- Replace ExtUtils::MakeMaker dependency with ExtUtils::MM::Utils (bug #1129443)
|
||||
|
||||
* Mon Feb 15 2016 Petr Pisar <ppisar@redhat.com> - 1:0.94-2
|
||||
- Weaken dependency on IPC::Run (bug #1307195)
|
||||
|
||||
* Sat Feb 13 2016 Paul Howarth <paul@city-fan.org> - 1:0.94-1
|
||||
- 0.94 bump
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.92-346
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue