[perl-IPC-Run] 0.92 bump
Petr Šabata
psabata at fedoraproject.org
Fri Nov 16 11:09:08 UTC 2012
commit ea2e61165240fc80a42ff9c524e72ff6dee9b962
Author: Petr Šabata <contyk at redhat.com>
Date: Fri Nov 16 12:09:03 2012 +0100
0.92 bump
.gitignore | 1 +
perl-IPC-Run.spec | 46 ++++++++++++++++++++++++++--------------------
sources | 2 +-
3 files changed, 28 insertions(+), 21 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 337c7eb..311d6df 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
IPC-Run-0.84.tar.gz
/IPC-Run-0.89.tar.gz
+/IPC-Run-0.92.tar.gz
diff --git a/perl-IPC-Run.spec b/perl-IPC-Run.spec
index 00b50fd..c2e32a9 100644
--- a/perl-IPC-Run.spec
+++ b/perl-IPC-Run.spec
@@ -1,17 +1,23 @@
Name: perl-IPC-Run
-Version: 0.89
-Release: 9%{?dist}
+Version: 0.92
+Release: 1%{?dist}
Summary: Perl module for interacting with child processes
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(Carp)
+BuildRequires: perl(constant)
+BuildRequires: perl(Data::Dumper)
+BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(IO::Pty) >= 1.00
+BuildRequires: perl(File::Spec)
+BuildRequires: perl(IO::Handle)
+BuildRequires: perl(IO::Pty) >= 1.08
BuildRequires: perl(Test::More) >= 0.47
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires: perl(IO::Pty) >= 1.00
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires: perl(IO::Pty) >= 1.08
%description
IPC::Run allows you run and interact with child processes using files,
@@ -23,38 +29,38 @@ and DOS command lines are provided.
%prep
%setup -q -n IPC-Run-%{version}
-chmod 644 lib/IPC/*.pm lib/IPC/Run/*.pm Changes eg/*
for file in eg/run_daemon abuse/timers abuse/blocking_debug_with_sub_coprocess ; do
- %{__perl} -pi -e 's,^#!.*/perl,%{__perl}, if ($. == 1)' "$file"
+ perl -pi -e 's,^#!.*/perl,%{__perl}, if ($. == 1)' "$file"
done
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
-
-rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/IPC/Run/Win32*.pm
-rm -f $RPM_BUILD_ROOT%{_mandir}/man3/IPC::Run::Win32*.3*
+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*
%check
-# test doesn't work in this mock with tty
-#make test
+make test
%files
-%defattr(-,root,root,-)
%doc Changes LICENSE README TODO
%doc abuse/ eg/
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Fri Nov 16 2012 Petr Šabata <contyk at redhat.com> - 0.92-1
+- 0.92 bump
+- Modernize the spec
+- Fix dependencies
+- Enable the test suite
+- Drop command macros
+
* Thu Sep 13 2012 Petr Pisar <ppisar at redhat.com> - 0.89-9
- IO::Pty is required when passing ">pty>" argument (bug #857030)
diff --git a/sources b/sources
index 03a7b73..6736d9c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9dc3b8cca378b871fafab7c6e5a61cdd IPC-Run-0.89.tar.gz
+9d209c8d4bda50bea5f5a09e03db173e IPC-Run-0.92.tar.gz
More information about the scm-commits
mailing list