- Rebuild, cosmetic cleanups.

This commit is contained in:
Ville Skyttä 2006-01-17 21:43:32 +00:00
parent 9e5a16b858
commit 0f7155ba9b

View File

@ -1,6 +1,6 @@
Name: perl-IPC-Run Name: perl-IPC-Run
Version: 0.79 Version: 0.79
Release: 2 Release: 3%{?dist}
Summary: Perl module for interacting with child processes Summary: Perl module for interacting with child processes
License: GPL or Artistic License: GPL or Artistic
@ -25,6 +25,7 @@ and DOS command lines are provided.
%prep %prep
%setup -q -n IPC-Run-%{version} %setup -q -n IPC-Run-%{version}
chmod 644 lib/IPC/*.pm lib/IPC/Run/*.pm Changes eg/* chmod 644 lib/IPC/*.pm lib/IPC/Run/*.pm Changes eg/*
%{__perl} -pi -e 's|/usr/local/bin/perl|%{__perl}|' eg/run_daemon
%build %build
@ -38,9 +39,11 @@ make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/* chmod -R u+w $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 || : %check
# https://rt.cpan.org/NoAuth/Bug.html?id=11129 # https://rt.cpan.org/NoAuth/Bug.html?id=11129
[ ! -d /dev/pts ] || IPCRUNDEBUG=2 make test [ ! -d /dev/pts ] || IPCRUNDEBUG=2 make test
@ -53,12 +56,13 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc Changes TODO eg/ %doc Changes TODO eg/
%{perl_vendorlib}/IPC/ %{perl_vendorlib}/IPC/
%exclude %{perl_vendorlib}/IPC/Run/Win32*.pm
%{_mandir}/man3/IPC::Run*.3* %{_mandir}/man3/IPC::Run*.3*
%exclude %{_mandir}/man3/IPC::Run::Win32*.3*
%changelog %changelog
* Tue Jan 17 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.79-3
- Rebuild, cosmetic cleanups.
* Sun Apr 10 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.79-2 * Sun Apr 10 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.79-2
- Exclude Win32 specific modules. - Exclude Win32 specific modules.
- Include more docs. - Include more docs.