Re: [Bug 230608] missing config.h in latest -14

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Ralf

Index: perl.spec
===================================================================
RCS file: /cvs/dist/devel/perl/perl.spec,v
retrieving revision 1.108
diff -u -r1.108 perl.spec
--- perl.spec	28 Feb 2007 15:34:50 -0000	1.108
+++ perl.spec	7 Mar 2007 11:19:43 -0000
@@ -198,8 +198,8 @@
 Requires:       perl = %{epoch}:%{version}-%{release}
 
 %description devel
-This package contains header files from core perl components.
-Some packages may need these header files in order to build.
+This package contains header files and development modules.
+Most perl packages will need to install perl-devel to build.
 
 %package suidperl
 Summary:        Suidperl, for use with setuid perl scripts
@@ -210,6 +210,7 @@
 Suidperl is a setuid binary copy of perl that allows for (hopefully)
 more secure running of setuid perl scripts.
 
+
 %prep
 %setup -q
 %patch1 -p1
@@ -365,7 +366,6 @@
 mkdir -p -m 755 ${RPM_BUILD_ROOT}/usr/lib64/perl5/vendor_perl/%{version}/%{_arch}-%{_os}
 %endif
 
-
 #
 # Compatibility directories
 #
@@ -463,15 +463,121 @@
 %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
-%exclude /usr/lib/perl5/%{version}/Encode/*.h
+# CPAN
+%exclude %{_bindir}/cpan
+%exclude /usr/lib/perl5/%{version}/CPAN/
+%exclude /usr/lib/perl5/%{version}/CPAN.pm
+%exclude %{_mandir}/man1/cpan.1*
+%exclude %{_mandir}/man3/CPAN*
+# ExtUtils-Embed
+%exclude /usr/lib/perl5/%{version}/ExtUtils/Embed.pm
+%exclude %{_mandir}/man3/ExtUtils::Embed*
+# ExtUtils-MakeMaker
+%exclude %{_bindir}/instmodsh
+%exclude /usr/lib/perl5/%{version}/ExtUtils/Command/MM.pm
+%exclude /usr/lib/perl5/%{version}/ExtUtils/Install.pm
+%exclude /usr/lib/perl5/%{version}/ExtUtils/Installed.pm
+%exclude /usr/lib/perl5/%{version}/ExtUtils/Liblist/
+%exclude /usr/lib/perl5/%{version}/ExtUtils/Liblist.pm
+%exclude /usr/lib/perl5/%{version}/ExtUtils/MakeMaker/
+%exclude /usr/lib/perl5/%{version}/ExtUtils/MakeMaker.pm
+%exclude /usr/lib/perl5/%{version}/ExtUtils/MANIFEST.SKIP
+%exclude /usr/lib/perl5/%{version}/ExtUtils/MM*.pm
+%exclude /usr/lib/perl5/%{version}/ExtUtils/MY.pm
+%exclude /usr/lib/perl5/%{version}/ExtUtils/Manifest.pm
+%exclude /usr/lib/perl5/%{version}/ExtUtils/Mkbootstrap.pm
+%exclude /usr/lib/perl5/%{version}/ExtUtils/Mksymlists.pm
+%exclude /usr/lib/perl5/%{version}/ExtUtils/Packlist.pm
+%exclude /usr/lib/perl5/%{version}/ExtUtils/testlib.pm
+%exclude %{_mandir}/man1/instmodsh.1*
+%exclude %{_mandir}/man3/ExtUtils::Command::MM*
+%exclude %{_mandir}/man3/ExtUtils::Install.3*
+%exclude %{_mandir}/man3/ExtUtils::Installed.3*
+%exclude %{_mandir}/man3/ExtUtils::Liblist.3*
+%exclude %{_mandir}/man3/ExtUtils::MM*
+%exclude %{_mandir}/man3/ExtUtils::MY.3*
+%exclude %{_mandir}/man3/ExtUtils::MakeMaker*
+%exclude %{_mandir}/man3/ExtUtils::Manifest.3*
+%exclude %{_mandir}/man3/ExtUtils::Mkbootstrap.3*
+%exclude %{_mandir}/man3/ExtUtils::Mksymlists.3*
+%exclude %{_mandir}/man3/ExtUtils::Packlist.3*
+%exclude %{_mandir}/man3/ExtUtils::testlib.3*
+# Test::Harness
+%exclude %{_bindir}/prove
+%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
-/usr/lib/perl5/%{version}/Encode/*.h
+#CPAN
+%{_bindir}/cpan
+/usr/lib/perl5/%{version}/CPAN/
+/usr/lib/perl5/%{version}/CPAN.pm
+%{_mandir}/man1/cpan.1*
+%{_mandir}/man3/CPAN*
+# ExtUtils-Embed
+/usr/lib/perl5/%{version}/ExtUtils/Embed.pm
+%{_mandir}/man3/ExtUtils::Embed*
+# ExtUtils-MakeMaker
+%{_bindir}/instmodsh
+/usr/lib/perl5/%{version}/ExtUtils/Command/MM.pm
+/usr/lib/perl5/%{version}/ExtUtils/Install.pm
+%{_libdir}/perl5/%{version}/ExtUtils/Installed.pm
+%{_libdir}/perl5/%{version}/ExtUtils/Liblist/
+%{_libdir}/perl5/%{version}/ExtUtils/Liblist.pm
+%{_libdir}/perl5/%{version}/ExtUtils/MakeMaker/
+%{_libdir}/perl5/%{version}/ExtUtils/MakeMaker.pm
+%{_libdir}/perl5/%{version}/ExtUtils/MANIFEST.SKIP
+%{_libdir}/perl5/%{version}/ExtUtils/MM*.pm
+%{_libdir}/perl5/%{version}/ExtUtils/MY.pm
+%{_libdir}/perl5/%{version}/ExtUtils/Manifest.pm
+%{_libdir}/perl5/%{version}/ExtUtils/Mkbootstrap.pm
+%{_libdir}/perl5/%{version}/ExtUtils/Mksymlists.pm
+%{_libdir}/perl5/%{version}/ExtUtils/Packlist.pm
+%{_libdir}/perl5/%{version}/ExtUtils/testlib.pm
+%{_mandir}/man1/instmodsh.1*
+%{_mandir}/man3/ExtUtils::Command::MM*
+%{_mandir}/man3/ExtUtils::Install.3*
+%{_mandir}/man3/ExtUtils::Installed.3*
+%{_mandir}/man3/ExtUtils::Liblist.3*
+%{_mandir}/man3/ExtUtils::MM*
+%{_mandir}/man3/ExtUtils::MY.3*
+%{_mandir}/man3/ExtUtils::MakeMaker*
+%{_mandir}/man3/ExtUtils::Manifest.3*
+%{_mandir}/man3/ExtUtils::Mkbootstrap.3*
+%{_mandir}/man3/ExtUtils::Mksymlists.3*
+%{_mandir}/man3/ExtUtils::Packlist.3*
+%{_mandir}/man3/ExtUtils::testlib.3*
+# Test::Harness
+%{_bindir}/prove
+/usr/lib/perl5/%{version}/Test/Harness*
+%{_mandir}/man1/prove.1*
+%{_mandir}/man3/Test::Harness*
 
 %files suidperl
 %defattr(-,root,root,-)
@@ -479,6 +585,10 @@
 %{_bindir}/sperl%{version}
 
 %changelog
+* Mon Mar  5 2007 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 4:5.8.8-14.1
+- move ExtUtils::MakeMaker, ExtUtils::Embed, CPAN, Test::Harness into devel
+- also move perlcc, perlivp, h2xs, libnetcfg to devel
+
 * Tue Feb 27 2007 Robin Norwood <rnorwood@xxxxxxxxxx> - 4:5.8.8-14
 - Add a description for most of the patches, to reflect Spot's work to
   report said patches upstream.
--- 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*
 

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux