0.93 bump
This commit is contained in:
parent
af89a01751
commit
5c62f186d0
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
IPC-Run-0.84.tar.gz
|
||||
/IPC-Run-0.89.tar.gz
|
||||
/IPC-Run-0.92.tar.gz
|
||||
/IPC-Run-0.93.tar.gz
|
||||
|
@ -1,7 +1,12 @@
|
||||
Name: perl-IPC-Run
|
||||
Version: 0.92
|
||||
Release: 7%{?dist}
|
||||
Version: 0.93
|
||||
Release: 1%{?dist}
|
||||
Summary: Perl module for interacting with child processes
|
||||
# the rest: GPL+ or Artistic
|
||||
# The Win32* modules are not part of the binary RPM package
|
||||
# lib/IPC/Run/Win32Helper.pm: GPLv2 or Artistic
|
||||
# lib/IPC/Run/Win32Pump.pm: GPLv2 or Artistic
|
||||
# lib/IPC/Run/Win32IO.pm: GPLv2 or Artistic
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/IPC-Run/
|
||||
@ -9,16 +14,32 @@ Source0: http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/IPC-Run-%{vers
|
||||
Patch0: http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/IPC-Run-0.92-RT20105.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# IO::Pty not needed strictly for build script
|
||||
# Run-time:
|
||||
# base not used on Linux
|
||||
BuildRequires: perl(bytes)
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(Errno)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Fcntl)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(IO::Handle)
|
||||
BuildRequires: perl(IO::Pty) >= 1.08
|
||||
BuildRequires: perl(IO::Tty)
|
||||
BuildRequires: perl(POSIX)
|
||||
# Socket not used on Linux
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(Symbol)
|
||||
# Text::ParseWords not used on Linux
|
||||
BuildRequires: perl(UNIVERSAL)
|
||||
BuildRequires: perl(vars)
|
||||
# Win32::Process not used on Linux
|
||||
# Win32API::File not used on Linux
|
||||
# Tests:
|
||||
BuildRequires: perl(Test::More) >= 0.47
|
||||
BuildRequires: perl(warnings)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Data::Dumper)
|
||||
Requires: perl(IO::Pty) >= 1.08
|
||||
@ -38,6 +59,12 @@ and DOS command lines are provided.
|
||||
# Address intermittent test failures (CPAN RT#20105, RH BZ#1094395)
|
||||
%patch0 -p1
|
||||
|
||||
# Remove Windows-only features that could add unnecessary dependencies
|
||||
rm -f lib/IPC/Run/Win32*
|
||||
sed -i -e '/^lib\/IPC\/Run\/Win32.*/d' MANIFEST
|
||||
rm -f t/win32_*
|
||||
sed -i -e '/^t\/win32_.*/d' MANIFEST
|
||||
|
||||
# Fix shellbangs
|
||||
for file in eg/run_daemon abuse/timers abuse/blocking_debug_with_sub_coprocess ; do
|
||||
perl -pi -e 's,^#!.*/perl,%{__perl}, if ($. == 1)' "$file"
|
||||
@ -52,10 +79,6 @@ make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||
%{_fixperms} %{buildroot}
|
||||
|
||||
# Remove Windows-only features that could add unnecessary dependencies
|
||||
rm -f %{buildroot}%{perl_vendorlib}/IPC/Run/Win32*.pm
|
||||
rm -f %{buildroot}%{_mandir}/man3/IPC::Run::Win32*.3*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
@ -69,6 +92,9 @@ make test
|
||||
%{_mandir}/man3/IPC::Run::Timer.3pm*
|
||||
|
||||
%changelog
|
||||
* Thu Dec 11 2014 Petr Pisar <ppisar@redhat.com> - 0.93-1
|
||||
- 0.93 bump
|
||||
|
||||
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.92-7
|
||||
- Perl 5.20 rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user