related: bz#226276 - properly version Provides: cpan, fix %{libdir} issues

This commit is contained in:
Robin Norwood 2007-04-24 18:43:37 +00:00
parent 2b5e20c939
commit cc6fa4a8f1

View File

@ -20,7 +20,7 @@
Name: perl Name: perl
Version: 5.8.8 Version: 5.8.8
Release: 16.2%{?dist} Release: 16.3%{?dist}
Epoch: %{perl_epoch} Epoch: %{perl_epoch}
Summary: The Perl programming language Summary: The Perl programming language
Group: Development/Languages Group: Development/Languages
@ -220,7 +220,7 @@ Group: Development/Languages
Epoch: 0 Epoch: 0
Version: 1.76_02 Version: 1.76_02
Requires: perl = %{perl_epoch}:%{perl_version}-%{release} Requires: perl = %{perl_epoch}:%{perl_version}-%{release}
Provides: cpan Provides: cpan-%{version}
%description CPAN %description CPAN
Query, download and build perl modules from CPAN sites. Query, download and build perl modules from CPAN sites.
@ -548,28 +548,28 @@ make test
%exclude %{_mandir}/man3/CPAN* %exclude %{_mandir}/man3/CPAN*
# ExtUtils-Embed # ExtUtils-Embed
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Embed.pm %exclude %{_libdir}/perl5/%{perl_version}/ExtUtils/Embed.pm
%exclude %{_mandir}/man3/ExtUtils::Embed* %exclude %{_mandir}/man3/ExtUtils::Embed*
# ExtUtils-MakeMaker # ExtUtils-MakeMaker
%exclude %{_bindir}/instmodsh %exclude %{_bindir}/instmodsh
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Command/ %exclude %{_libdir}/perl5/%{perl_version}/ExtUtils/Command/
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Install.pm %exclude %{_libdir}/perl5/%{perl_version}/ExtUtils/Install.pm
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Installed.pm %exclude %{_libdir}/perl5/%{perl_version}/ExtUtils/Installed.pm
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Liblist/ %exclude %{_libdir}/perl5/%{perl_version}/ExtUtils/Liblist/
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Liblist.pm %exclude %{_libdir}/perl5/%{perl_version}/ExtUtils/Liblist.pm
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MakeMaker/ %exclude %{_libdir}/perl5/%{perl_version}/ExtUtils/MakeMaker/
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MakeMaker.pm %exclude %{_libdir}/perl5/%{perl_version}/ExtUtils/MakeMaker.pm
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MANIFEST.SKIP %exclude %{_libdir}/perl5/%{perl_version}/ExtUtils/MANIFEST.SKIP
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MM*.pm %exclude %{_libdir}/perl5/%{perl_version}/ExtUtils/MM*.pm
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MY.pm %exclude %{_libdir}/perl5/%{perl_version}/ExtUtils/MY.pm
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Manifest.pm %exclude %{_libdir}/perl5/%{perl_version}/ExtUtils/Manifest.pm
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Mkbootstrap.pm %exclude %{_libdir}/perl5/%{perl_version}/ExtUtils/Mkbootstrap.pm
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Mksymlists.pm %exclude %{_libdir}/perl5/%{perl_version}/ExtUtils/Mksymlists.pm
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/NOTES %exclude %{_libdir}/perl5/%{perl_version}/ExtUtils/NOTES
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Packlist.pm %exclude %{_libdir}/perl5/%{perl_version}/ExtUtils/Packlist.pm
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/PATCHING %exclude %{_libdir}/perl5/%{perl_version}/ExtUtils/PATCHING
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/testlib.pm %exclude %{_libdir}/perl5/%{perl_version}/ExtUtils/testlib.pm
%exclude %{_mandir}/man1/instmodsh.1* %exclude %{_mandir}/man1/instmodsh.1*
%exclude %{_mandir}/man3/ExtUtils::Command::MM* %exclude %{_mandir}/man3/ExtUtils::Command::MM*
%exclude %{_mandir}/man3/ExtUtils::Install.3* %exclude %{_mandir}/man3/ExtUtils::Install.3*
@ -586,15 +586,15 @@ make test
# Test::Harness # Test::Harness
%exclude %{_bindir}/prove %exclude %{_bindir}/prove
%exclude %{_prefix}/lib/perl5/%{perl_version}/Test/Harness* %exclude %{_libdir}/perl5/%{perl_version}/Test/Harness*
%exclude %{_mandir}/man1/prove.1* %exclude %{_mandir}/man1/prove.1*
%exclude %{_mandir}/man3/Test::Harness* %exclude %{_mandir}/man3/Test::Harness*
# Test::Simple # Test::Simple
%exclude %{_prefix}/lib/perl5/%{perl_version}/Test/More* %exclude %{_libdir}/perl5/%{perl_version}/Test/More*
%exclude %{_prefix}/lib/perl5/%{perl_version}/Test/Builder* %exclude %{_libdir}/perl5/%{perl_version}/Test/Builder*
%exclude %{_prefix}/lib/perl5/%{perl_version}/Test/Simple* %exclude %{_libdir}/perl5/%{perl_version}/Test/Simple*
%exclude %{_prefix}/lib/perl5/%{perl_version}/Test/Tutorial* %exclude %{_libdir}/perl5/%{perl_version}/Test/Tutorial*
%exclude %{_mandir}/man3/Test::More* %exclude %{_mandir}/man3/Test::More*
%exclude %{_mandir}/man3/Test::Builder* %exclude %{_mandir}/man3/Test::Builder*
%exclude %{_mandir}/man3/Test::Simple* %exclude %{_mandir}/man3/Test::Simple*