rpms/perl-IPC-Run/devel .cvsignore, 1.4, 1.5 perl-IPC-Run.spec, 1.16, 1.17 sources, 1.4, 1.5

Steven Pritchard steve at fedoraproject.org
Sat Jan 17 01:28:29 UTC 2009


Author: steve

Update of /cvs/pkgs/rpms/perl-IPC-Run/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5900

Modified Files:
	.cvsignore perl-IPC-Run.spec sources 
Log Message:
Update to 0.82.
Use fixperms macro instead of our own chmod incantation.
Fix Source0 URL.
BR Test::More.
Include LICENSE, README, and abuse/ in docs.
Cleanup to more closely resemble cpanspec output.



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-IPC-Run/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore	11 May 2006 15:32:16 -0000	1.4
+++ .cvsignore	17 Jan 2009 01:27:59 -0000	1.5
@@ -1 +1 @@
-IPC-Run-0.80.tar.gz
+IPC-Run-0.82.tar.gz


Index: perl-IPC-Run.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-IPC-Run/devel/perl-IPC-Run.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- perl-IPC-Run.spec	2 Mar 2008 15:51:23 -0000	1.16
+++ perl-IPC-Run.spec	17 Jan 2009 01:27:59 -0000	1.17
@@ -1,18 +1,17 @@
 Name:           perl-IPC-Run
-Version:        0.80
-Release:        5%{?dist}
+Version:        0.82
+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://www.cpan.org/authors/id/R/RS/RSOD/IPC-Run-%{version}.tar.gz
+Source0:        http://www.cpan.org/authors/id/A/AD/ADAMK/IPC-Run-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(IO::Pty)
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(IO::Pty) >= 1.00
+BuildRequires:  perl(Test::More) >= 0.47
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
 IPC::Run allows you run and interact with child processes using files,
@@ -22,45 +21,53 @@
 Various redirection operators reminiscent of those seen on common Unix
 and DOS command lines are provided.
 
-
 %prep
 %setup -q -n IPC-Run-%{version}
 chmod 644 lib/IPC/*.pm lib/IPC/Run/*.pm Changes eg/*
-%{__perl} -pi -e 's|/usr/local/bin/perl|%{__perl}|' eg/run_daemon
-
+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
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
-
 %install
 rm -rf $RPM_BUILD_ROOT
+
 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 ';'
-chmod -R u+w $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*
 
-
 %check
 # https://rt.cpan.org/NoAuth/Bug.html?id=11129
 [ ! -d /dev/pts ] || IPCRUNDEBUG=2 make test
 
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-
 %files
 %defattr(-,root,root,-)
-%doc Changes TODO eg/
-%{perl_vendorlib}/IPC/
-%{_mandir}/man3/IPC::Run*.3*
-
+%doc Changes LICENSE README TODO
+%doc abuse/ eg/
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
 
 %changelog
+* Fri Jan 16 2009 Steven Pritchard <steve at kspei.com> 0.82-1
+- Update to 0.82.
+- Use fixperms macro instead of our own chmod incantation.
+- Fix Source0 URL.
+- BR Test::More.
+- Include LICENSE, README, and abuse/ in docs.
+- Cleanup to more closely resemble cpanspec output.
+
 * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.80-5
 - Rebuild for perl 5.10 (again)
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-IPC-Run/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources	11 May 2006 15:32:16 -0000	1.4
+++ sources	17 Jan 2009 01:27:59 -0000	1.5
@@ -1 +1 @@
-a867e694862afd4a3c429124618fc15e  IPC-Run-0.80.tar.gz
+6eb9fa0058956ece7fdf25c6ec395288  IPC-Run-0.82.tar.gz




More information about the fedora-extras-commits mailing list