- Rebuild, cosmetic cleanups.
This commit is contained in:
parent
9e5a16b858
commit
0f7155ba9b
@ -1,6 +1,6 @@
|
||||
Name: perl-IPC-Run
|
||||
Version: 0.79
|
||||
Release: 2
|
||||
Release: 3%{?dist}
|
||||
Summary: Perl module for interacting with child processes
|
||||
|
||||
License: GPL or Artistic
|
||||
@ -25,6 +25,7 @@ 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
|
||||
|
||||
|
||||
%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 d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
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
|
||||
[ ! -d /dev/pts ] || IPCRUNDEBUG=2 make test
|
||||
|
||||
@ -53,12 +56,13 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes TODO eg/
|
||||
%{perl_vendorlib}/IPC/
|
||||
%exclude %{perl_vendorlib}/IPC/Run/Win32*.pm
|
||||
%{_mandir}/man3/IPC::Run*.3*
|
||||
%exclude %{_mandir}/man3/IPC::Run::Win32*.3*
|
||||
|
||||
|
||||
%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
|
||||
- Exclude Win32 specific modules.
|
||||
- Include more docs.
|
||||
|
Loading…
Reference in New Issue
Block a user