Ralf Corsepius <rc040203(a)freenet.de> writes:
On Wed, 2007-03-07 at 08:14 +0100, Ralf Corsepius wrote:
> On Mon, 2007-03-05 at 16:30 -0600, Tom 'spot' Callaway wrote:
>
> > Thoughts? Suggestions are welcomed.
> I'll try to come up with a patch against cvs fixing issues 1-3,
> throughout today.
Below are 2 patches addressing before-mentioned issues and 2 further
ones:
* Lost /usr/bin/cpan
* Test/Harness.pm still was part of perl. This caused perl to depended
on perl-devel (i.e. a circular dep).
The first patch is against cvs, the second one is against the spec you
sent to the list.
I'm building a new perl locally with your patches - seems to be going
well so far. I'll let you know.
-RN
--- perl.spec.14.1 2007-03-07 12:11:55.000000000 +0100
+++ perl.spec 2007-03-07 12:14:07.000000000 +0100
@@ -196,7 +196,6 @@
Summary: Header files for use in perl development
Group: Development/Languages
Requires: perl = %{epoch}:%{version}-%{release}
-Requires: perl(ExtUtils::Embed), perl(ExtUtils-MakeMaker)
%description devel
This package contains header files and development modules.
@@ -464,10 +463,16 @@
%ifarch %{multilib_64_archs}
/usr/lib/perl5/
%endif
+%exclude %{_bindir}/enc2xs
+%exclude %{_mandir}/man1/enc2xs*
%exclude %{_bindir}/h2xs
+%exclude %{_mandir}/man1/h2xs*
%exclude %{_bindir}/libnetcfg
+%exclude %{_mandir}/man1/libnetcfg*
%exclude %{_bindir}/perlcc
+%exclude %{_mandir}/man1/perlcc*
%exclude %{_bindir}/perlivp
+%exclude %{_mandir}/man1/perlivp*
%exclude %{_bindir}/suidperl
%exclude %{_bindir}/sperl%{version}
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/CORE/*.h
@@ -512,18 +517,25 @@
%exclude %{_mandir}/man3/ExtUtils::testlib.3*
# Test::Harness
%exclude %{_bindir}/prove
-%exclude /usr/lib/perl5/%{version}/Test/Harness/
+%exclude /usr/lib/perl5/%{version}/Test/Harness*
%exclude %{_mandir}/man1/prove.1*
%exclude %{_mandir}/man3/Test::Harness*
%files devel
%defattr(-,root,root,-)
+%{_bindir}/enc2xs
+%{_mandir}/man1/enc2xs*
%{_bindir}/h2xs
+%{_mandir}/man1/h2xs*
%{_bindir}/libnetcfg
+%{_mandir}/man1/libnetcfg*
%{_bindir}/perlcc
+%{_mandir}/man1/perlcc*
%{_bindir}/perlivp
+%{_mandir}/man1/perlivp*
%{_libdir}/perl5/%{version}/%{perl_archname}/CORE/*.h
#CPAN
+%{_bindir}/cpan
/usr/lib/perl5/%{version}/CPAN/
/usr/lib/perl5/%{version}/CPAN.pm
%{_mandir}/man1/cpan.1*
@@ -563,7 +575,7 @@
%{_mandir}/man3/ExtUtils::testlib.3*
# Test::Harness
%{_bindir}/prove
-/usr/lib/perl5/%{version}/Test/Harness/
+/usr/lib/perl5/%{version}/Test/Harness*
%{_mandir}/man1/prove.1*
%{_mandir}/man3/Test::Harness*
--
Robin Norwood
Red Hat, Inc.
"The Sage does nothing, yet nothing remains undone."
-Lao Tzu, Te Tao Ching