6f9482
Name:           perl-IPC-Run3
6f9482
Version:        0.048
6f9482
Release:        12%{?dist}
6f9482
Summary:        Run a subprocess in batch mode
6f9482
License:        GPL+ or Artistic or BSD
6f9482
Group:          Development/Libraries
6f9482
URL:            http://search.cpan.org/dist/IPC-Run3/
6f9482
Source0:        http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/IPC-Run3-%{version}.tar.gz
6f9482
BuildArch:      noarch
6f9482
6f9482
BuildRequires:  perl-generators
6f9482
BuildRequires:  perl(Carp)
6f9482
BuildRequires:  perl(Exporter)
6f9482
BuildRequires:  perl(ExtUtils::MakeMaker)
6f9482
BuildRequires:  perl(File::Temp)
6f9482
BuildRequires:  perl(Getopt::Long)
6f9482
BuildRequires:  perl(POSIX)
6f9482
BuildRequires:  perl(Test)
6f9482
BuildRequires:  perl(Test::More) >= 0.31
6f9482
BuildRequires:  perl(Time::HiRes)
6f9482
BuildRequires:  perl(constant)
6f9482
BuildRequires:  perl(strict)
6f9482
6f9482
# For improved tests
6f9482
BuildRequires:  perl(Test::Pod::Coverage)
6f9482
BuildRequires:  perl(Test::Pod)
6f9482
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
6f9482
6f9482
# RHBZ #1062267 / https://rt.cpan.org/Public/Bug/Display.html?id=52317
6f9482
# Patch from
6f9482
# https://github.com/rschupp/IPC-Run3/commit/8ebe48760cfdc78fbf4fc46413dde9470121b99e
6f9482
Patch0:         0001-test-and-fix-for-RT-52317-Calling-run3-garbles-STDIN.patch
6f9482
6f9482
%description
6f9482
This module allows you to run a subprocess and redirect stdin, stdout,
6f9482
and/or stderr to files and perl data structures. It aims to satisfy 99% of
6f9482
the need for using system, qx, and open3 with a simple, extremely Perlish
6f9482
API and none of the bloat and rarely used features of IPC::Run.
6f9482
6f9482
%prep
6f9482
%setup -q -n IPC-Run3-%{version}
6f9482
%patch0 -p1
6f9482
6f9482
# Perms in tarballs are broken 
6f9482
find -type f -exec chmod -x {} \;
6f9482
6f9482
%build
6f9482
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
6f9482
make %{?_smp_mflags}
6f9482
6f9482
%install
6f9482
make pure_install DESTDIR=$RPM_BUILD_ROOT
6f9482
%{_fixperms} $RPM_BUILD_ROOT/*
6f9482
6f9482
%check
6f9482
make test RELEASE_TESTING=1
6f9482
6f9482
%files
6f9482
%doc Changes README
6f9482
%license LICENSE
6f9482
%{perl_vendorlib}/*
6f9482
%{_mandir}/man3/*
6f9482
6f9482
%changelog
6f9482
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.048-12
6f9482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6f9482
6f9482
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.048-11
6f9482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6f9482
6f9482
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.048-10
6f9482
- Perl 5.26 rebuild
6f9482
6f9482
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.048-9
6f9482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6f9482
6f9482
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.048-8
6f9482
- Perl 5.24 rebuild
6f9482
6f9482
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.048-7
6f9482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6f9482
6f9482
* Wed Jan 27 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.048-6
6f9482
- Add %%license.
6f9482
- Modernize spec.
6f9482
6f9482
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.048-5
6f9482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6f9482
6f9482
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.048-4
6f9482
- Perl 5.22 rebuild
6f9482
6f9482
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.048-3
6f9482
- Perl 5.20 rebuild
6f9482
6f9482
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.048-2
6f9482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6f9482
6f9482
* Mon Mar 31 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.048-1
6f9482
- Upstream update.
6f9482
- Add RELEASE_TESTING=1 to work around upstream trying to discourage
6f9482
  us from running pod-tests.
6f9482
6f9482
* Tue Feb 11 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.046-4
6f9482
- Add 0001-test-and-fix-for-RT-52317-Calling-run3-garbles-STDIN.patch (RHBZ#1062267).
6f9482
- Spec-file cosmetics.
6f9482
6f9482
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.046-3
6f9482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
6f9482
6f9482
* Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 0.046-2
6f9482
- Perl 5.18 rebuild
6f9482
6f9482
* Wed Jul 17 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.046-1
6f9482
- Upstream update.
6f9482
6f9482
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.045-5
6f9482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6f9482
6f9482
* Fri Nov 23 2012 Petr Šabata <contyk@redhat.com> - 0.045-4
6f9482
- Add missing BRs
6f9482
- Drop command macros
6f9482
- Remove redundant parens from the Licence tag
6f9482
6f9482
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.045-3
6f9482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6f9482
6f9482
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.045-2
6f9482
- Perl 5.16 rebuild
6f9482
6f9482
* Thu Jan 05 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.045-1
6f9482
- Upstream update.
6f9482
- Modernize spec file.
6f9482
6f9482
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.044-4
6f9482
- Perl mass rebuild
6f9482
6f9482
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.044-3
6f9482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6f9482
6f9482
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.044-2
6f9482
- 661697 rebuild for fixing problems with vendorach/lib
6f9482
6f9482
* Mon Sep 13 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.044-1
6f9482
- Upstream update.
6f9482
- BR: perl(Test::More), perl(Time::HiRes).
6f9482
6f9482
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.043-4
6f9482
- Mass rebuild with perl-5.12.0
6f9482
6f9482
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.043-3
6f9482
- rebuild against perl 5.10.1
6f9482
6f9482
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.043-2
6f9482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6f9482
6f9482
* Wed Jun 17 2009 Ralf Corsépius <corsepiu@fedoraproject.org> 0.043-1
6f9482
- Upstream update.
6f9482
- Reflect upstream URL having changed.
6f9482
6f9482
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.042-4
6f9482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
6f9482
6f9482
* Sat Nov 29 2008 Ralf Corsépius <corsepiu@fedoraproject.org> 0.042-3
6f9482
- Change %%summary.
6f9482
6f9482
* Thu Aug 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.042-2
6f9482
- fix license tag (technically, it was correct before, but this keeps rpmlint from
6f9482
  flagging this package as a false positive)
6f9482
6f9482
* Mon Aug 25 2008 Ralf Corsépius <corsepiu@fedoraproject.org> 0.042-1
6f9482
- Upstream update.
6f9482
6f9482
* Fri Aug 08 2008 Ralf Corsépius <rc040203@freenet.de> 0.041-1
6f9482
- Upstream update.
6f9482
6f9482
* Thu May 22 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.040-5
6f9482
- reorder license tag so it doesn't flag as a false positive
6f9482
6f9482
* Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.040-4
6f9482
- Rebuild normally, second pass
6f9482
6f9482
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.040-3
6f9482
- Rebuild for perl 5.10 (again), disable tests for first pass
6f9482
6f9482
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.040-2
6f9482
- rebuild normally, second pass
6f9482
6f9482
* Sat Jan 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.040-1.1
6f9482
- rebuild for new perl, disable tests and TPC for first pass
6f9482
6f9482
* Fri Dec 28 2007 Ralf Corsépius <rc040203@freenet.de> 0.040-1
6f9482
- Upstream update.
6f9482
- chmod -x files from source tarball.
6f9482
6f9482
* Tue Nov 27 2007 Ralf Corsépius <rc040203@freenet.de> 0.039-2
6f9482
- Bump release to please koji suckage.
6f9482
6f9482
* Tue Nov 27 2007 Ralf Corsépius <rc040203@freenet.de> 0.039-1
6f9482
- Upstream update.
6f9482
6f9482
* Fri Sep 07 2007 Ralf Corsépius <rc040203@freenet.de> 0.037-2
6f9482
- Initial import.
6f9482
- Update license tag.
6f9482
6f9482
* Tue Aug 07 2007 Ralf Corsépius <rc040203@freenet.de> 0.037-1
6f9482
- Initial submission.