d71638
# Run optional tests
d71638
%if ! (0%{?rhel})
d71638
%bcond_without perl_IPC_System_Simple_enables_optional_test
d71638
%else
d71638
%bcond_with perl_IPC_System_Simple_enables_optional_test
d71638
%endif
d71638
d71638
Name:		perl-IPC-System-Simple
d71638
Version:	1.30
d71638
Release:	3%{?dist}
d71638
License:	GPL+ or Artistic
d71638
Summary:	Run commands simply, with detailed diagnostics
d71638
URL:		https://metacpan.org/release/IPC-System-Simple
d71638
Source0:	https://cpan.metacpan.org/modules/by-module/IPC/IPC-System-Simple-%{version}.tar.gz
d71638
BuildArch:	noarch
d71638
# Module Build
d71638
BuildRequires:	coreutils
d71638
BuildRequires:	findutils
d71638
BuildRequires:	make
d71638
BuildRequires:	perl-generators
d71638
BuildRequires:	perl-interpreter
d71638
BuildRequires:	perl(ExtUtils::MakeMaker)
d71638
# Module Runtime
d71638
BuildRequires:	perl(Carp)
d71638
BuildRequires:	perl(Config)
d71638
BuildRequires:	perl(constant)
d71638
BuildRequires:	perl(Exporter)
d71638
BuildRequires:	perl(List::Util)
d71638
BuildRequires:	perl(POSIX)
d71638
BuildRequires:	perl(re)
d71638
BuildRequires:	perl(Scalar::Util)
d71638
BuildRequires:	perl(strict)
d71638
BuildRequires:	perl(warnings)
d71638
# Test Suite
d71638
BuildRequires:	perl(File::Basename)
d71638
BuildRequires:	perl(Test)
d71638
BuildRequires:	perl(Test::More)
d71638
%if %{with perl_IPC_System_Simple_enables_optional_test}
d71638
# Optional Tests
d71638
BuildRequires:	perl(BSD::Resource)
d71638
BuildRequires:	perl(Test::NoWarnings)
d71638
%endif
d71638
# Dependencies
d71638
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
d71638
d71638
%description
d71638
Calling Perl's in-built 'system()' function is easy; determining if it
d71638
was successful is _hard_. Let's face it, '$?' isn't the nicest variable
d71638
in the world to play with, and even if you _do_ check it, producing a
d71638
well-formatted error string takes a lot of work. 'IPC::System::Simple'
d71638
takes the hard work out of calling external commands. In fact, if you
d71638
want to be really lazy, you can just write:
d71638
d71638
    use IPC::System::Simple qw(system);
d71638
d71638
and all of your "system" commands will either succeed (run to completion and
d71638
return a zero exit value), or die with rich diagnostic messages.
d71638
d71638
%prep
d71638
%setup -q -n IPC-System-Simple-%{version}
d71638
d71638
# Avoid doc-file dependencies
d71638
chmod -c -x examples/*.pl
d71638
d71638
%build
d71638
perl Makefile.PL INSTALLDIRS=vendor
d71638
make %{?_smp_mflags}
d71638
d71638
%install
d71638
make pure_install DESTDIR=%{buildroot}
d71638
find %{buildroot} -type f -name .packlist -delete
d71638
%{_fixperms} -c %{buildroot}
d71638
d71638
%check
d71638
make test
d71638
d71638
%files
d71638
%license LICENSE
d71638
%doc Changes README examples/
d71638
%{perl_vendorlib}/IPC/
d71638
%{_mandir}/man3/IPC::System::Simple.3*
d71638
d71638
%changelog
d71638
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.30-3
d71638
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
d71638
d71638
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.30-2
d71638
- Perl 5.32 rebuild
d71638
d71638
* Tue Mar 24 2020 Paul Howarth <paul@city-fan.org> - 1.30-1
d71638
- Update to 1.30
d71638
  - On MSWin32, make Win32::Process a prerequisite
d71638
d71638
* Sun Mar 22 2020 Paul Howarth <paul@city-fan.org> - 1.29-1
d71638
- Update to 1.29
d71638
  - Improved handling of shell commands on Windows, which should get us closer
d71638
    to resolving Win32-related issues; there should be no change of
d71638
    functionality on Unix-like platforms
d71638
  - Better workaround for bug in perl-5.8.9 (GH#23)
d71638
  - Add t/args.t
d71638
  - Modify t/win32.t
d71638
  - Added Travis and AppVeyor configuration files
d71638
  - Eliminated use of Dist::Zilla for build, using older, but more reliable and
d71638
    better understood (by maintainer) ExtUtils::MakeMaker-based configuration
d71638
  - Move author testing to xt/ directory
d71638
d71638
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.26-2
d71638
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
d71638
d71638
* Sat Jan 25 2020 Paul Howarth <paul@city-fan.org> - 1.26-1
d71638
- Update to 1.26
d71638
  - BUILD: Update FAIL_POSIX warning message (GH#28)
d71638
  - TEST: t/07_taint.t: Use executable name as source of taintedness (GH#21)
d71638
  - OTHER: Typographic corrections (CPAN RT#60211, CPAN RT#86403)
d71638
  - Add Travis configuration
d71638
d71638
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-24
d71638
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
d71638
d71638
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-23
d71638
- Perl 5.30 re-rebuild of bootstrapped packages
d71638
d71638
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-22
d71638
- Perl 5.30 rebuild
d71638
d71638
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-21
d71638
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
d71638
d71638
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-20
d71638
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d71638
d71638
* Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-19
d71638
- Perl 5.28 re-rebuild of bootstrapped packages
d71638
d71638
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-18
d71638
- Perl 5.28 rebuild
d71638
d71638
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-17
d71638
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d71638
d71638
* Wed Aug 02 2017 Petr Pisar <ppisar@redhat.com> - 1.25-16
d71638
- Fix random test failures with Test-Simple 1.302065
d71638
d71638
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-15
d71638
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d71638
d71638
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-14
d71638
- Perl 5.26 re-rebuild of bootstrapped packages
d71638
d71638
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-13
d71638
- Perl 5.26 rebuild
d71638
d71638
* Mon Apr 10 2017 Paul Howarth <paul@city-fan.org> - 1.25-12
d71638
- Drop EL-5 support
d71638
  - Drop BuildRoot: and Group: tags
d71638
  - Drop explicit buildroot cleaning in %%install section
d71638
  - Drop explicit %%clean section
d71638
- Introduce build-condition for optional tests
d71638
- Use %%license where possible
d71638
- Simplify find command using -delete
d71638
- Classify buildreqs by usage
d71638
d71638
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-11
d71638
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d71638
d71638
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-10
d71638
- Perl 5.24 re-rebuild of bootstrapped packages
d71638
d71638
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-9
d71638
- Perl 5.24 rebuild
d71638
d71638
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-8
d71638
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d71638
d71638
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-7
d71638
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d71638
d71638
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-6
d71638
- Perl 5.22 re-rebuild of bootstrapped packages
d71638
d71638
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-5
d71638
- Perl 5.22 rebuild
d71638
d71638
* Tue Apr 21 2015 Petr Pisar <ppisar@redhat.com> - 1.25-4
d71638
- Break build-cycle: perl-IPC-System-Simple → perl-Test-Perl-Critic
d71638
  → perl-Perl-Critic → perl-PPI → perl-IO-All → perl-File-MimeInfo
d71638
  → perl-File-BaseDir → perl-IPC-System-Simple
d71638
d71638
d71638
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-3
d71638
- Perl 5.20 rebuild
d71638
d71638
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-2
d71638
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d71638
d71638
* Sun Oct 20 2013 Paul Howarth <paul@city-fan.org> - 1.25-1
d71638
- Update to 1.25
d71638
  - No longer ship unrequired file Debian_CPANTS.txt (GH #7)
d71638
d71638
* Fri Oct 18 2013 Paul Howarth <paul@city-fan.org> - 1.24-1
d71638
- Update to 1.24
d71638
  - No longer mark BSD::Resource as required (GH #6)
d71638
  - Skip core-dump tests on OS X; they're not as straightforward as the test
d71638
    script would like (GH #5)
d71638
d71638
* Wed Oct  9 2013 Paul Howarth <paul@city-fan.org> - 1.23-1
d71638
- Update to 1.23
d71638
  - Silence "Statement unlikely to be reached" warning
d71638
  - Repository information fix, and typo fixes
d71638
  - Converted to using dzil
d71638
- Specify all dependencies
d71638
- Don't need to remove empty directories from the buildroot
d71638
- Restore EL-5 compatibility
d71638
d71638
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-8
d71638
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
d71638
d71638
* Wed Jul 31 2013 Petr Pisar <ppisar@redhat.com> - 1.21-7
d71638
- Perl 5.18 rebuild
d71638
d71638
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-6
d71638
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d71638
d71638
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-5
d71638
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d71638
d71638
* Sat Jun 23 2012 Petr Pisar <ppisar@redhat.com> - 1.21-4
d71638
- Perl 5.16 rebuild
d71638
d71638
* Thu Jan 12 2012 Paul Howarth <paul@city-fan.org> - 1.21-3
d71638
- Run author tests too for completeness
d71638
- Add buildreqs needed for author tests
d71638
- Add buildreqs for core perl modules, which may be dual-lived
d71638
- Use DESTDIR rather than PERL_INSTALL_ROOT
d71638
- Make %%files list more explicit
d71638
d71638
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.21-2
d71638
- Perl mass rebuild
d71638
d71638
* Fri Mar 18 2011 Iain Arnell <iarnell@gmail.com> - 1.21-1
d71638
- Update to latest upstream version
d71638
- Clean up spec for modern rpmbuild
d71638
d71638
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-6
d71638
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d71638
d71638
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.18-5
d71638
- Rebuild to fix problems with vendorarch/lib (#661697)
d71638
d71638
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.18-4
d71638
- Mass rebuild with perl-5.12.0
d71638
d71638
* Mon Dec 07 2009 Stepan Kasal <skasal@redhat.com> - 1.18-3
d71638
- Rebuild against perl 5.10.1
d71638
d71638
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-2
d71638
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d71638
d71638
* Thu Mar 05 2009 Chris Weyl <cweyl@alumni.drew.edu> - 1.18-1
d71638
- Submission
d71638
d71638
* Thu Mar 05 2009 Chris Weyl <cweyl@alumni.drew.edu> - 1.18-0
d71638
- Initial RPM packaging
d71638
- Generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)
d71638