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