e7a2be
# Use IPC::Run
e7a2be
%bcond_without perl_IPC_Cmd_enables_IPC_Run
e7a2be
e7a2be
Name:           perl-IPC-Cmd
e7a2be
# Epoch to compete with perl.spec
e7a2be
Epoch:          2
e7a2be
Version:        1.04
e7a2be
Release:        2%{?dist}
e7a2be
Summary:        Finding and running system commands made easy
e7a2be
License:        GPL+ or Artistic
e7a2be
URL:            https://metacpan.org/release/IPC-Cmd
e7a2be
Source0:        https://cpan.metacpan.org/authors/id/B/BI/BINGOS/IPC-Cmd-%{version}.tar.gz
e7a2be
# Replace ExtUtils::MakeMaker dependency with ExtUtils::MM::Utils.
e7a2be
# This enables not to require perl-devel. Bug #1129443
e7a2be
Patch0:         IPC-Cmd-0.96-Replace-EU-MM-dependency-with-EU-MM-Utils.patch
e7a2be
BuildArch:      noarch
e7a2be
# Build:
e7a2be
BuildRequires:  make
e7a2be
BuildRequires:  perl-generators
e7a2be
BuildRequires:  perl-interpreter
e7a2be
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
e7a2be
# Run-time:
e7a2be
BuildRequires:  perl(Carp)
e7a2be
BuildRequires:  perl(constant)
e7a2be
BuildRequires:  perl(Exporter)
e7a2be
BuildRequires:  perl(ExtUtils::MM::Utils)
e7a2be
BuildRequires:  perl(File::Spec)
e7a2be
BuildRequires:  perl(FileHandle)
e7a2be
BuildRequires:  perl(IO::Handle)
e7a2be
BuildRequires:  perl(IO::Select)
e7a2be
BuildRequires:  perl(IPC::Open3)
e7a2be
%if %{with perl_IPC_Cmd_enables_IPC_Run} && !%{defined perl_bootstrap}
e7a2be
BuildRequires:  perl(IPC::Run) >= 0.55
e7a2be
%endif
e7a2be
BuildRequires:  perl(Locale::Maketext::Simple)
e7a2be
BuildRequires:  perl(Module::Load::Conditional) >= 0.66
e7a2be
BuildRequires:  perl(Params::Check) >= 0.20
e7a2be
BuildRequires:  perl(POSIX)
e7a2be
BuildRequires:  perl(Socket)
e7a2be
BuildRequires:  perl(strict)
e7a2be
BuildRequires:  perl(Symbol)
e7a2be
BuildRequires:  perl(Text::ParseWords)
e7a2be
BuildRequires:  perl(Time::HiRes)
e7a2be
BuildRequires:  perl(vars)
e7a2be
# Tests:
e7a2be
# output.pl/IO::Handle not used
e7a2be
BuildRequires:  perl(Data::Dumper)
e7a2be
BuildRequires:  perl(File::Temp)
e7a2be
BuildRequires:  perl(lib)
e7a2be
BuildRequires:  perl(Test::More)
e7a2be
BuildRequires:  perl(warnings)
e7a2be
# Dependencies:
e7a2be
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
e7a2be
Requires:       perl(ExtUtils::MM::Utils)
e7a2be
Requires:       perl(FileHandle)
e7a2be
Requires:       perl(IO::Handle)
e7a2be
Requires:       perl(IO::Select)
e7a2be
Requires:       perl(IPC::Open3)
e7a2be
%if %{with perl_IPC_Cmd_enables_IPC_Run}
e7a2be
Suggests:       perl(IPC::Run) >= 0.55
e7a2be
%endif
e7a2be
Requires:       perl(Module::Load::Conditional) >= 0.66
e7a2be
Requires:       perl(Params::Check) >= 0.20
e7a2be
Requires:       perl(POSIX)
e7a2be
Requires:       perl(Socket)
e7a2be
Requires:       perl(Time::HiRes)
e7a2be
e7a2be
# Filter under-specified dependencies
e7a2be
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Module::Load::Conditional\\)$
e7a2be
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Params::Check\\)$
e7a2be
e7a2be
%description
e7a2be
IPC::Cmd allows you to run commands platform independently, interactively
e7a2be
if desired, but have them still work.
e7a2be
e7a2be
%prep
e7a2be
%setup -q -n IPC-Cmd-%{version}
e7a2be
%patch0 -p1
e7a2be
e7a2be
%build
e7a2be
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
e7a2be
%{make_build}
e7a2be
e7a2be
%install
e7a2be
%{make_install}
e7a2be
%{_fixperms} $RPM_BUILD_ROOT
e7a2be
e7a2be
%check
e7a2be
make test
e7a2be
e7a2be
%files
e7a2be
%doc CHANGES README
e7a2be
%{perl_vendorlib}/IPC/
e7a2be
%{_mandir}/man3/IPC::Cmd.3*
e7a2be
e7a2be
%changelog
e7a2be
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.04-2
e7a2be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e7a2be
e7a2be
* Mon Jul 15 2019 Petr Pisar <ppisar@redhat.com> - 2:1.04-1
e7a2be
- 1.04 bump
e7a2be
e7a2be
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.02-439
e7a2be
- Perl 5.30 re-rebuild of bootstrapped packages
e7a2be
e7a2be
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.02-438
e7a2be
- Increase release to favour standalone package
e7a2be
e7a2be
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.02-5
e7a2be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
e7a2be
e7a2be
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.02-4
e7a2be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e7a2be
e7a2be
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.02-3
e7a2be
- Perl 5.28 re-rebuild of bootstrapped packages
e7a2be
e7a2be
* Tue Jun 26 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.02-2
e7a2be
- Perl 5.28 rebuild
e7a2be
e7a2be
* Thu May 03 2018 Petr Pisar <ppisar@redhat.com> - 2:1.02-1
e7a2be
- 1.02 bump
e7a2be
e7a2be
* Thu Feb 15 2018 Petr Pisar <ppisar@redhat.com> - 2:1.00-1
e7a2be
- 1.00 bump
e7a2be
e7a2be
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.98-5
e7a2be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e7a2be
e7a2be
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.98-4
e7a2be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e7a2be
e7a2be
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.98-3
e7a2be
- Perl 5.26 re-rebuild of bootstrapped packages
e7a2be
e7a2be
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2:0.98-2
e7a2be
- Perl 5.26 rebuild
e7a2be
e7a2be
* Sun May 14 2017 Paul Howarth <paul@city-fan.org> - 1:0.98-1
e7a2be
- Update to 0.98
e7a2be
  - Added wait_loop_callback for run_forked()
e7a2be
  - Only search in curdir in can_run() when on Win32 (CPAN RT#105601)
e7a2be
- Drop redundant Group: tag
e7a2be
e7a2be
* Fri May 12 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.96-3
e7a2be
- Don't BR: perl(IPC::Run) when bootstrapping
e7a2be
e7a2be
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.96-2
e7a2be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e7a2be
e7a2be
* Thu Jul 28 2016 Paul Howarth <paul@city-fan.org> - 1:0.96-1
e7a2be
- Update to 0.96
e7a2be
  - Require Module::Load::Conditional 0.66 to resolve CVE-2016-1238
e7a2be
    (avoid loading optional modules from default .)
e7a2be
- Update patch for use of ExtUtils::MM::Utils
e7a2be
- Simplify find command using -delete
e7a2be
e7a2be
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.94-4
e7a2be
- Perl 5.24 rebuild
e7a2be
e7a2be
* Mon Apr 18 2016 Petr Pisar <ppisar@redhat.com> - 1:0.94-3
e7a2be
- Replace ExtUtils::MakeMaker dependency with ExtUtils::MM::Utils (bug #1129443)
e7a2be
e7a2be
* Mon Feb 15 2016 Petr Pisar <ppisar@redhat.com> - 1:0.94-2
e7a2be
- Weaken dependency on IPC::Run (bug #1307195)
e7a2be
e7a2be
* Sat Feb 13 2016 Paul Howarth <paul@city-fan.org> - 1:0.94-1
e7a2be
- 0.94 bump
e7a2be
e7a2be
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.92-347
e7a2be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e7a2be
e7a2be
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.92-346
e7a2be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e7a2be
e7a2be
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.92-345
e7a2be
- Increase release to favour standalone package
e7a2be
e7a2be
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.92-311
e7a2be
- Perl 5.22 rebuild
e7a2be
e7a2be
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.92-310
e7a2be
- Increase release to favour standalone package
e7a2be
e7a2be
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.92-3
e7a2be
- Perl 5.20 rebuild
e7a2be
e7a2be
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.92-2
e7a2be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e7a2be
e7a2be
* Thu Jan 23 2014 Petr Pisar <ppisar@redhat.com> - 1:0.92-1
e7a2be
- 0.92 bump
e7a2be
e7a2be
* Tue Nov 19 2013 Petr Pisar <ppisar@redhat.com> - 1:0.90-1
e7a2be
- 0.90 bump
e7a2be
e7a2be
* Tue Nov 05 2013 Petr Pisar <ppisar@redhat.com> - 1:0.86-1
e7a2be
- 0.86 bump
e7a2be
e7a2be
* Thu Aug 08 2013 Petr Pisar <ppisar@redhat.com> - 1:0.84-1
e7a2be
- 0.84 bump
e7a2be
e7a2be
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.82-3
e7a2be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e7a2be
e7a2be
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:0.82-2
e7a2be
- Perl 5.18 rebuild
e7a2be
e7a2be
* Mon Jul 08 2013 Petr Pisar <ppisar@redhat.com> - 1:0.82-1
e7a2be
- 0.82 bump
e7a2be
e7a2be
* Mon May 20 2013 Petr Pisar <ppisar@redhat.com> - 1:0.80-3
e7a2be
- Remove unneeded dependency on Config
e7a2be
e7a2be
* Thu Mar 14 2013 Petr Pisar <ppisar@redhat.com> - 1:0.80-2
e7a2be
- Set epoch to compete with core module from perl.spec
e7a2be
e7a2be
* Mon Mar 04 2013 Petr Pisar <ppisar@redhat.com> - 0.80-1
e7a2be
- 0.80 bump
e7a2be
e7a2be
* Fri Feb 08 2013 Petr Pisar <ppisar@redhat.com> 0.78-1
e7a2be
- Specfile autogenerated by cpanspec 1.78.