[perl-IPC-Run/f20] 0.93 bump
Petr Pisar
ppisar at fedoraproject.org
Thu Dec 11 12:35:12 UTC 2014
commit a02bf39a4e6406681cce038f52696d656608f360
Author: Petr Písař <ppisar at redhat.com>
Date: Thu Dec 11 13:15:15 2014 +0100
0.93 bump
.gitignore | 1 +
perl-IPC-Run.spec | 44 ++++++++++++++++++++++++++++++++++++++------
sources | 2 +-
3 files changed, 40 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 311d6df..375c648 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/perl-IPC-Run.spec b/perl-IPC-Run.spec
index 2a2b9e5..022293b 100644
--- a/perl-IPC-Run.spec
+++ b/perl-IPC-Run.spec
@@ -1,21 +1,44 @@
Name: perl-IPC-Run
-Version: 0.92
-Release: 4%{?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/
Source0: http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/IPC-Run-%{version}.tar.gz
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(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(IO::Pty) >= 1.08
@@ -29,6 +52,14 @@ and DOS command lines are provided.
%prep
%setup -q -n IPC-Run-%{version}
+
+# 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"
done
@@ -40,9 +71,7 @@ make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-%{_fixperms} %{buildroot}/*
-rm -f %{buildroot}%{perl_vendorlib}/IPC/Run/Win32*.pm
-rm -f %{buildroot}%{_mandir}/man3/IPC::Run::Win32*.3*
+%{_fixperms} %{buildroot}
%check
make test
@@ -54,6 +83,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Thu Dec 11 2014 Petr Pisar <ppisar at redhat.com> - 0.93-1
+- 0.93 bump
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.92-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index 6736d9c..27421dd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9d209c8d4bda50bea5f5a09e03db173e IPC-Run-0.92.tar.gz
+744475b46cfc6a0c2d243f8c84ff044d IPC-Run-0.93.tar.gz
More information about the scm-commits
mailing list