|
|
|
@ -1,22 +1,22 @@
|
|
|
|
|
Name: perl-IPC-Cmd
|
|
|
|
|
# Epoch to compete with perl.spec
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Version: 0.94
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 0.98
|
|
|
|
|
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.94-Replace-EU-MM-dependnecy-with-EU-MM-Utils.patch
|
|
|
|
|
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)
|
|
|
|
@ -28,9 +28,11 @@ 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)
|
|
|
|
|
BuildRequires: perl(Module::Load::Conditional) >= 0.66
|
|
|
|
|
BuildRequires: perl(Params::Check) >= 0.20
|
|
|
|
|
BuildRequires: perl(POSIX)
|
|
|
|
|
BuildRequires: perl(Socket)
|
|
|
|
@ -54,12 +56,14 @@ 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
|
|
|
|
@ -76,7 +80,7 @@ make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -delete
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -88,6 +92,22 @@ make test
|
|
|
|
|
%{_mandir}/man3/IPC::Cmd.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun May 14 2017 Paul Howarth <paul@city-fan.org> - 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 <jplesnik@redhat.com> - 1:0.96-2
|
|
|
|
|
- Don't BR: perl(IPC::Run) when bootstrapping
|
|
|
|
|
|
|
|
|
|
* 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)
|
|
|
|
|
|
|
|
|
|