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