Blame SPECS/perl-IPC-System-Simple.spec

b85fa1
%{?scl:%scl_package perl-IPC-System-Simple }
b85fa1
b85fa1
Name:		%{?scl_prefix}perl-IPC-System-Simple 
b85fa1
Version:	1.25
b85fa1
Release:	11%{?dist}
b85fa1
License:	GPL+ or Artistic 
b85fa1
Group:		Development/Libraries
b85fa1
Summary:	Run commands simply, with detailed diagnostics 
b85fa1
URL:		http://search.cpan.org/dist/IPC-System-Simple
b85fa1
Source0:	http://search.cpan.org/CPAN/authors/id/P/PJ/PJF/IPC-System-Simple-%{version}.tar.gz 
b85fa1
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -un)
b85fa1
BuildArch:	noarch
b85fa1
BuildRequires:	%{?scl_prefix}perl-generators
b85fa1
BuildRequires:	%{?scl_prefix}perl(BSD::Resource)
b85fa1
BuildRequires:	%{?scl_prefix}perl(Carp)
b85fa1
BuildRequires:	%{?scl_prefix}perl(Config)
b85fa1
BuildRequires:	%{?scl_prefix}perl(constant)
b85fa1
BuildRequires:	%{?scl_prefix}perl(Exporter)
b85fa1
BuildRequires:	%{?scl_prefix}perl(ExtUtils::MakeMaker) >= 6.30
b85fa1
BuildRequires:	%{?scl_prefix}perl(File::Basename)
b85fa1
BuildRequires:	%{?scl_prefix}perl(File::Spec)
b85fa1
BuildRequires:	%{?scl_prefix}perl(List::Util)
b85fa1
%if !%{defined perl_small}
b85fa1
BuildRequires:	%{?scl_prefix}perl(Pod::Coverage::TrustPod)
b85fa1
%endif
b85fa1
BuildRequires:	%{?scl_prefix}perl(POSIX)
b85fa1
BuildRequires:	%{?scl_prefix}perl(re)
b85fa1
BuildRequires:	%{?scl_prefix}perl(Scalar::Util)
b85fa1
BuildRequires:	%{?scl_prefix}perl(strict)
b85fa1
BuildRequires:	%{?scl_prefix}perl(Test)
b85fa1
BuildRequires:	%{?scl_prefix}perl(Test::More)
b85fa1
BuildRequires:	%{?scl_prefix}perl(Test::NoWarnings)
b85fa1
%if !%{defined perl_small}
b85fa1
%if !%{defined perl_bootstrap}
b85fa1
# Break build-cycle: perl-IPC-System-Simple → perl-Test-Perl-Critic
b85fa1
# → perl-Perl-Critic → perl-PPI → perl-IO-All → perl-File-MimeInfo
b85fa1
# → perl-File-BaseDir → perl-IPC-System-Simple
b85fa1
BuildRequires:	%{?scl_prefix}perl(Test::Perl::Critic)
b85fa1
%endif
b85fa1
BuildRequires:	%{?scl_prefix}perl(Test::Pod)
b85fa1
BuildRequires:	%{?scl_prefix}perl(Test::Pod::Coverage) >= 1.08
b85fa1
%endif
b85fa1
BuildRequires:	%{?scl_prefix}perl(warnings)
b85fa1
Requires:	%{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
b85fa1
b85fa1
%description
b85fa1
Calling Perl's in-built 'system()' function is easy; determining if it
b85fa1
was successful is _hard_. Let's face it, '$?' isn't the nicest variable
b85fa1
in the world to play with, and even if you _do_ check it, producing a
b85fa1
well-formatted error string takes a lot of work. 'IPC::System::Simple'
b85fa1
takes the hard work out of calling external commands. In fact, if you
b85fa1
want to be really lazy, you can just write: 
b85fa1
b85fa1
    use IPC::System::Simple qw(system);
b85fa1
b85fa1
and all of your "system" commands will either succeed (run to completion and
b85fa1
return a zero exit value), or die with rich diagnostic messages.
b85fa1
b85fa1
%prep
b85fa1
%setup -q -n IPC-System-Simple-%{version}
b85fa1
b85fa1
# Avoid doc-file dependencies
b85fa1
chmod -c -x examples/*.pl
b85fa1
b85fa1
%build
b85fa1
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'}
b85fa1
b85fa1
%install
b85fa1
rm -rf %{buildroot}
b85fa1
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=%{buildroot}%{?scl:'}
b85fa1
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
b85fa1
%{_fixperms} %{buildroot}
b85fa1
b85fa1
%check
b85fa1
%{?scl:scl enable %{scl} '}make test TEST_AUTHOR=1 AUTHOR_TESTING=1 RELEASE_TESTING=1%{?scl:'}
b85fa1
b85fa1
%clean
b85fa1
rm -rf %{buildroot}
b85fa1
b85fa1
%files
b85fa1
%doc Changes LICENSE README examples/
b85fa1
%{perl_vendorlib}/IPC/
b85fa1
%{_mandir}/man3/IPC::System::Simple.3pm*
b85fa1
b85fa1
%changelog
b85fa1
* Tue Jul 19 2016 Petr Pisar <ppisar@redhat.com> - 1.25-11
b85fa1
- SCL
b85fa1
b85fa1
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-10
b85fa1
- Perl 5.24 re-rebuild of bootstrapped packages
b85fa1
b85fa1
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-9
b85fa1
- Perl 5.24 rebuild
b85fa1
b85fa1
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-8
b85fa1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b85fa1
b85fa1
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-7
b85fa1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b85fa1
b85fa1
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-6
b85fa1
- Perl 5.22 re-rebuild of bootstrapped packages
b85fa1
b85fa1
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-5
b85fa1
- Perl 5.22 rebuild
b85fa1
b85fa1
* Tue Apr 21 2015 Petr Pisar <ppisar@redhat.com> - 1.25-4
b85fa1
- Break build-cycle: perl-IPC-System-Simple → perl-Test-Perl-Critic
b85fa1
  → perl-Perl-Critic → perl-PPI → perl-IO-All → perl-File-MimeInfo
b85fa1
  → perl-File-BaseDir → perl-IPC-System-Simple
b85fa1
b85fa1
b85fa1
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-3
b85fa1
- Perl 5.20 rebuild
b85fa1
b85fa1
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-2
b85fa1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b85fa1
b85fa1
* Sun Oct 20 2013 Paul Howarth <paul@city-fan.org> - 1.25-1
b85fa1
- Update to 1.25
b85fa1
  - No longer ship unrequired file Debian_CPANTS.txt (GH #7)
b85fa1
b85fa1
* Fri Oct 18 2013 Paul Howarth <paul@city-fan.org> - 1.24-1
b85fa1
- Update to 1.24
b85fa1
  - No longer mark BSD::Resource as required (GH #6)
b85fa1
  - Skip core-dump tests on OS X; they're not as straightforward as the test
b85fa1
    script would like (GH #5)
b85fa1
b85fa1
* Wed Oct  9 2013 Paul Howarth <paul@city-fan.org> - 1.23-1
b85fa1
- Update to 1.23
b85fa1
  - Silence "Statement unlikely to be reached" warning
b85fa1
  - Repository information fix, and typo fixes
b85fa1
  - Converted to using dzil
b85fa1
- Specify all dependencies
b85fa1
- Don't need to remove empty directories from the buildroot
b85fa1
- Restore EL-5 compatibility
b85fa1
b85fa1
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-8
b85fa1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b85fa1
b85fa1
* Wed Jul 31 2013 Petr Pisar <ppisar@redhat.com> - 1.21-7
b85fa1
- Perl 5.18 rebuild
b85fa1
b85fa1
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-6
b85fa1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b85fa1
b85fa1
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-5
b85fa1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b85fa1
b85fa1
* Sat Jun 23 2012 Petr Pisar <ppisar@redhat.com> - 1.21-4
b85fa1
- Perl 5.16 rebuild
b85fa1
b85fa1
* Thu Jan 12 2012 Paul Howarth <paul@city-fan.org> - 1.21-3
b85fa1
- Run author tests too for completeness
b85fa1
- Add buildreqs needed for author tests
b85fa1
- Add buildreqs for core perl modules, which may be dual-lived
b85fa1
- Use DESTDIR rather than PERL_INSTALL_ROOT
b85fa1
- Make %%files list more explicit
b85fa1
b85fa1
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.21-2
b85fa1
- Perl mass rebuild
b85fa1
b85fa1
* Fri Mar 18 2011 Iain Arnell <iarnell@gmail.com> - 1.21-1
b85fa1
- Update to latest upstream version
b85fa1
- Clean up spec for modern rpmbuild
b85fa1
b85fa1
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-6
b85fa1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b85fa1
b85fa1
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.18-5
b85fa1
- Rebuild to fix problems with vendorarch/lib (#661697)
b85fa1
b85fa1
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.18-4
b85fa1
- Mass rebuild with perl-5.12.0
b85fa1
b85fa1
* Mon Dec 07 2009 Stepan Kasal <skasal@redhat.com> - 1.18-3
b85fa1
- Rebuild against perl 5.10.1
b85fa1
b85fa1
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-2
b85fa1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b85fa1
b85fa1
* Thu Mar 05 2009 Chris Weyl <cweyl@alumni.drew.edu> - 1.18-1
b85fa1
- Submission
b85fa1
b85fa1
* Thu Mar 05 2009 Chris Weyl <cweyl@alumni.drew.edu> - 1.18-0
b85fa1
- Initial RPM packaging
b85fa1
- Generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)
b85fa1