rpms/perl-IPC-Run/devel perl-IPC-Run.spec,1.9,1.10
Ville Skytta (scop)
fedora-extras-commits at redhat.com
Sun Apr 10 17:09:48 UTC 2005
- Previous message (by thread): rpms/comical/devel comical-0.4-jpe.patch, NONE, 1.1 comical.spec, 1.2, 1.3
- Next message (by thread): rpms/xmms-alarm/devel .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 xmms-alarm.spec, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: scop
Update of /cvs/extras/rpms/perl-IPC-Run/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18812
Modified Files:
perl-IPC-Run.spec
Log Message:
Exclude Win32 modules, include more docs, skip tests if /dev/pts doesn't exist.
Index: perl-IPC-Run.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-IPC-Run/devel/perl-IPC-Run.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- perl-IPC-Run.spec 3 Apr 2005 11:06:26 -0000 1.9
+++ perl-IPC-Run.spec 10 Apr 2005 17:09:46 -0000 1.10
@@ -1,6 +1,6 @@
Name: perl-IPC-Run
Version: 0.79
-Release: 1
+Release: 2
Summary: Perl module for interacting with child processes
License: GPL or Artistic
@@ -24,15 +24,7 @@
%prep
%setup -q -n IPC-Run-%{version}
-chmod 644 lib/IPC/*.pm lib/IPC/Run/*.pm Changes
-
-# Create our own find-requires to avoid some Win32 specific dependencies.
-cat <<EOF > %{name}-perlreq
-#!/bin/sh
-%{__perl_requires} | grep -v 'perl(Win32'
-EOF
-%define __perl_requires %{_builddir}/IPC-Run-%{version}/%{name}-perlreq
-chmod +x %{__perl_requires}
+chmod 644 lib/IPC/*.pm lib/IPC/Run/*.pm Changes eg/*
%build
@@ -44,14 +36,13 @@
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 -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check || :
# https://rt.cpan.org/NoAuth/Bug.html?id=11129
-IPCRUNDEBUG=2 make test
+[ ! -d /dev/pts ] || IPCRUNDEBUG=2 make test
%clean
@@ -60,12 +51,19 @@
%files
%defattr(-,root,root,-)
-%doc Changes
-%{perl_vendorlib}/IPC
-%{_mandir}/man3/*.3*
+%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
+* Sun Apr 10 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.79-2
+- Exclude Win32 specific modules.
+- Include more docs.
+- Skip tests if /dev/pts doesn't exist.
+
* Sat Apr 2 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.79-1
- 0.79.
- Previous message (by thread): rpms/comical/devel comical-0.4-jpe.patch, NONE, 1.1 comical.spec, 1.2, 1.3
- Next message (by thread): rpms/xmms-alarm/devel .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 xmms-alarm.spec, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list