diff --git a/macros.perl b/macros.perl index 99cb7a7..dc10c03 100644 --- a/macros.perl +++ b/macros.perl @@ -4,6 +4,7 @@ # rpm core; but won't cause a build to fail if they're not present. # # Chris Weyl 2009 +# Marcela Mašláňová 2011 # This macro unsets several common vars used to control how Makefile.PL (et # al) build and install packages. We also set a couple to help some of the @@ -27,7 +28,11 @@ # keep track of what "revision" of the filtering we're at. Each time we # change the filter we should increment this. -%perl_default_filter_revision 2 +%perl_default_filter_revision 3 + +# Perl provides/requeries are generated by external generators. +%global __perl_provides /usr/lib/rpm/perl.prov +%global __perl_requires /usr/lib/rpm/perl.req # By default, for perl packages we want to filter all files in _docdir from # req/prov scanning, as well as filtering out any provides caused by private @@ -36,14 +41,12 @@ # Note that this must be invoked in the spec file, preferably as # "%{?perl_default_filter}", before any %description block. -%perl_default_filter %{?filter_setup: %{expand: \ -%filter_provides_in %{perl_vendorarch}/.*\\.so$ \ -%filter_provides_in -P %{perl_archlib}/(?!CORE/libperl).*\\.so$ \ -%filter_from_provides /perl(UNIVERSAL)/d; /perl(DB)/d \ -%filter_provides_in %{_docdir} \ -%filter_requires_in %{_docdir} \ -%filter_setup \ -}} +%perl_default_filter %{expand: \ +%global __provides_exclude_from %{perl_vendorarch}/auto/.*\\\\.so$|%{perl_archlib}/.*\\\\.so$|%{_docdir} +%global __requires_exclude_from %{_docdir} +%global __provides_exclude perl\\\\(VMS|perl\\\\(Win32|perl\\\\(DB\\\\)|perl\\\\(UNIVERSAL\\\\) +%global __requires_exclude perl\\\\(VMS|perl\\\\(Win32 +} ############################################################################# # Macros to assist with generating a "-tests" subpackage in a semi-automatic diff --git a/perl-5.10.0-perlbug-tag.patch b/perl-5.10.0-perlbug-tag.patch deleted file mode 100644 index e4b0976..0000000 --- a/perl-5.10.0-perlbug-tag.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- perl-5.10.1/utils/perlbug.PL.fedora 2009-08-12 20:49:24.000000000 +0200 -+++ perl-5.10.1/utils/perlbug.PL 2009-11-18 15:56:15.000000000 +0100 -@@ -27,8 +27,6 @@ open OUT, ">$file" or die "Can't create - open PATCH_LEVEL, "<" . catfile(updir, "patchlevel.h") - or die "Can't open patchlevel.h: $!"; - --my $patchlevel_date = (stat PATCH_LEVEL)[9]; -- - while () { - last if $_ =~ /^\s*static\s+(?:const\s+)?char.*?local_patches\[\]\s*=\s*{\s*$/; - } -@@ -71,9 +69,8 @@ $Config{startperl} - eval 'exec $Config{perlpath} -S \$0 \${1+"\$@"}' - if \$running_under_some_shell; - --my \$config_tag1 = '$extract_version - $Config{cf_time}'; -+my \$config_tag1 = '$extract_version'; - --my \$patchlevel_date = $patchlevel_date; - my \$patch_tags = '$patch_tags'; - my \@patches = ( - $patch_desc -@@ -333,17 +330,6 @@ sub Init { - $ok = ''; - if ($::opt_o) { - if ($::opt_o eq 'k' or $::opt_o eq 'kay') { -- my $age = time - $patchlevel_date; -- if ($::opt_o eq 'k' and $age > 60 * 24 * 60 * 60 ) { -- my $date = localtime $patchlevel_date; -- print <<"EOF"; --"perlbug -ok" and "perlbug -nok" do not report on Perl versions which --are more than 60 days old. This Perl version was constructed on --$date. If you really want to report this, use --"perlbug -okay" or "perlbug -nokay". --EOF -- exit(); -- } - # force these options - unless ($::opt_n) { - $::opt_S = 1; # don't prompt for send -@@ -730,8 +716,8 @@ EFF - print OUT < +Date: Tue, 26 Jun 2012 00:13:54 -0500 +Subject: [PATCH] use a less broken test for locale radix in atof [perl #109318] + +--- + lib/locale.t | 33 +++++++++++++++++++++++++++++++++ + numeric.c | 25 +++++++++++++++---------- + 2 files changed, 48 insertions(+), 10 deletions(-) + +diff --git a/lib/locale.t b/lib/locale.t +index dfc6d2b..26a7bd4 100644 +--- a/lib/locale.t ++++ b/lib/locale.t +@@ -1247,6 +1247,39 @@ foreach $Locale (@Locale) { + print "# failed $locales_test_number locale '$Locale' characters @f\n" + } + } ++ ++ # [perl #109318] ++ { ++ my @f = (); ++ ++$locales_test_number; ++ $test_names{$locales_test_number} = 'Verify atof with locale radix and negative exponent'; ++ ++ my $radix = POSIX::localeconv()->{decimal_point}; ++ my @nums = ( ++ "3.14e+9", "3${radix}14e+9", "3.14e-9", "3${radix}14e-9", ++ "-3.14e+9", "-3${radix}14e+9", "-3.14e-9", "-3${radix}14e-9", ++ ); ++ ++ if (! $is_utf8_locale) { ++ use locale; ++ for my $num (@nums) { ++ push @f, $num ++ unless sprintf("%g", $num) =~ /3.+14/; ++ } ++ } ++ else { ++ use locale ':not_characters'; ++ for my $num (@nums) { ++ push @f, $num ++ unless sprintf("%g", $num) =~ /3.+14/; ++ } ++ } ++ ++ tryneoalpha($Locale, $locales_test_number, @f == 0); ++ if (@f) { ++ print "# failed $locales_test_number locale '$Locale' numbers @f\n" ++ } ++ } + } + + my $final_locales_test_number = $locales_test_number; +diff --git a/numeric.c b/numeric.c +index be86f3a..3eb8a0e 100644 +--- a/numeric.c ++++ b/numeric.c +@@ -847,17 +847,22 @@ Perl_my_atof(pTHX_ const char* s) + + PERL_ARGS_ASSERT_MY_ATOF; + +- if (PL_numeric_local && IN_SOME_LOCALE_FORM) { +- NV y; ++ if (PL_numeric_local && PL_numeric_radix_sv && IN_SOME_LOCALE_FORM) { ++ char *standard = NULL, *local = NULL; ++ bool use_standard_radix; + +- /* Scan the number twice; once using locale and once without; +- * choose the larger result (in absolute value). */ +- Perl_atof2(s, x); +- SET_NUMERIC_STANDARD(); +- Perl_atof2(s, y); +- SET_NUMERIC_LOCAL(); +- if ((y < 0.0 && y < x) || (y > 0.0 && y > x)) +- return y; ++ standard = strchr(s, '.'); ++ local = strstr(s, SvPV_nolen(PL_numeric_radix_sv)); ++ ++ use_standard_radix = standard && (!local || standard < local); ++ ++ if (use_standard_radix) ++ SET_NUMERIC_STANDARD(); ++ ++ Perl_atof2(s, x); ++ ++ if (use_standard_radix) ++ SET_NUMERIC_LOCAL(); + } + else + Perl_atof2(s, x); +-- +1.7.4.1 + diff --git a/perl-5.12.1.tar.gz b/perl-5.16.1.tar.bz2 similarity index 58% rename from perl-5.12.1.tar.gz rename to perl-5.16.1.tar.bz2 index 55111be..ad05184 100644 Binary files a/perl-5.12.1.tar.gz and b/perl-5.16.1.tar.bz2 differ diff --git a/perl-5.10.0-USE_MM_LD_RUN_PATH.patch b/perl-USE_MM_LD_RUN_PATH.patch similarity index 76% rename from perl-5.10.0-USE_MM_LD_RUN_PATH.patch rename to perl-USE_MM_LD_RUN_PATH.patch index 5b1ef76..e6ec394 100644 --- a/perl-5.10.0-USE_MM_LD_RUN_PATH.patch +++ b/perl-USE_MM_LD_RUN_PATH.patch @@ -1,6 +1,6 @@ -diff -up perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist.pm.runpath perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist.pm ---- perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist.pm.runpath 2010-01-18 19:52:49.000000000 +0100 -+++ perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist.pm 2010-04-13 15:56:55.859789425 +0200 +diff -up perl-5.14.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist.pm.usem perl-5.14.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist.pm +--- perl-5.14.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist.pm.usem 2011-05-08 05:10:08.000000000 +0200 ++++ perl-5.14.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist.pm 2011-05-17 11:14:22.169115984 +0200 @@ -88,6 +88,11 @@ libraries. LD_RUN_PATH is a colon separ in LDLOADLIBS. It is passed as an environment variable to the process that links the shared library. @@ -13,10 +13,10 @@ diff -up perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist.pm.runpath per =head2 BSLOADLIBS List of those libraries that are needed but can be linked in -diff -up perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm.runpath perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm ---- perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm.runpath 2010-01-18 19:52:49.000000000 +0100 -+++ perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm 2010-04-13 16:00:32.941778159 +0200 -@@ -262,7 +262,7 @@ sub full_setup { +diff -up perl-5.14.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm.usem perl-5.14.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm +--- perl-5.14.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm.usem 2011-05-08 05:10:08.000000000 +0200 ++++ perl-5.14.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm 2011-05-17 13:39:26.912586030 +0200 +@@ -278,7 +278,7 @@ sub full_setup { PERL_SRC PERM_DIR PERM_RW PERM_RWX PL_FILES PM PM_FILTER PMLIBDIRS PMLIBPARENTDIRS POLLUTE PPM_INSTALL_EXEC PPM_INSTALL_SCRIPT PREREQ_FATAL PREREQ_PM PREREQ_PRINT PRINT_PREREQ @@ -25,7 +25,7 @@ diff -up perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm.runpath p XS_VERSION clean depend dist dynamic_lib linkext macro realclean tool_autosplit -@@ -406,7 +406,27 @@ sub new { +@@ -422,7 +422,27 @@ sub new { # PRINT_PREREQ is RedHatism. if ("@ARGV" =~ /\bPRINT_PREREQ\b/) { $self->_PRINT_PREREQ; @@ -53,8 +53,8 @@ diff -up perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm.runpath p + }; print STDOUT "MakeMaker (v$VERSION)\n" if $Verbose; - if (-f "MANIFEST" && ! -f "Makefile"){ -@@ -2320,6 +2340,40 @@ precedence. A typemap in the current di + if (-f "MANIFEST" && ! -f "Makefile" && ! $ENV{PERL_CORE}){ +@@ -2352,6 +2372,40 @@ precedence. A typemap in the current di precedence, even if it isn't listed in TYPEMAPS. The default system typemap has lowest precedence. @@ -95,9 +95,9 @@ diff -up perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm.runpath p =item VENDORPREFIX Like PERLPREFIX, but only for the vendor install locations. -diff -up perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm.runpath perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm ---- perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm.runpath 2010-01-18 19:52:49.000000000 +0100 -+++ perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 2010-04-13 15:56:10.656775285 +0200 +diff -up perl-5.14.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm.usem perl-5.14.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm +--- perl-5.14.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm.usem 2011-05-08 05:10:08.000000000 +0200 ++++ perl-5.14.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 2011-05-17 11:14:22.172115972 +0200 @@ -944,7 +944,7 @@ $(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $ } diff --git a/perl-5.10.0-disable_test_hosts.patch b/perl-disable_test_hosts.patch similarity index 100% rename from perl-5.10.0-disable_test_hosts.patch rename to perl-disable_test_hosts.patch diff --git a/perl-example.stp b/perl-example.stp new file mode 100644 index 0000000..159a8f4 --- /dev/null +++ b/perl-example.stp @@ -0,0 +1,21 @@ +/* + Example of the perl systemtap tapset shows a nested view of perl subroutine + calls and returns across the whole system. + + To run: + stap perl-example.stp (for all perl processes) + For specific perl process: + stap perl-example.stp -c COMMAND +*/ + +probe perl.sub.call +{ + printf("%s => sub: %s, filename: %s, line: %d\n", thread_indent(1), + sub, filename, lineno) +} + +probe perl.sub.return +{ + printf("%s <= sub: %s, filename: %s, line: %d\n", + thread_indent(-1), sub, filename, lineno) +} diff --git a/perl-perlbug-tag.patch b/perl-perlbug-tag.patch new file mode 100644 index 0000000..0f96ab3 --- /dev/null +++ b/perl-perlbug-tag.patch @@ -0,0 +1,21 @@ +diff -up perl-5.16.0-RC2/utils/perlbug.PL.fedora perl-5.16.0-RC2/utils/perlbug.PL +--- perl-5.16.0-RC2/utils/perlbug.PL.fedora 2012-05-16 16:15:51.000000000 +0200 ++++ perl-5.16.0-RC2/utils/perlbug.PL 2012-05-16 16:18:36.018894464 +0200 +@@ -271,17 +271,6 @@ sub Init { + $ok = ''; + if ($opt{o}) { + if ($opt{o} eq 'k' or $opt{o} eq 'kay') { +- my $age = time - $patchlevel_date; +- if ($opt{o} eq 'k' and $age > 60 * 24 * 60 * 60 ) { +- my $date = localtime $patchlevel_date; +- print <<"EOF"; +-"perlbug -ok" and "perlbug -nok" do not report on Perl versions which +-are more than 60 days old. This Perl version was constructed on +-$date. If you really want to report this, use +-"perlbug -okay" or "perlbug -nokay". +-EOF +- exit(); +- } + # force these options + unless ($opt{n}) { + $opt{S} = 1; # don't prompt for send diff --git a/perl.changes b/perl.changes index 38e71e9..49072e8 100644 --- a/perl.changes +++ b/perl.changes @@ -1,3 +1,6 @@ +* Tue Apr 25 2013 Carsten Munk - 5.16.1 +- Rebase Vasily's upgrade + * Fri Mar 01 2013 Carsten Munk - 5.12.1 - Stop perl from rebuilding constantly, again. @@ -7,6 +10,10 @@ * Tue Jan 22 2013 Oleg Girko - 5.12.1 - Disable multilib for 64-bit architectures. +* Wed Aug 22 2012 Vasily Gurevich - 5.16.1 +- Upgrade to 5.16.1 from fc18 + MER#345 + * Wed Jan 4 2012 David Greaves - 5.12.1 - Change Pod/Simple to remove datestamps in the man pages. MER#66 diff --git a/perl.spec b/perl.spec index 1db31bd..01b82ec 100644 --- a/perl.spec +++ b/perl.spec @@ -1,35 +1,54 @@ -%define perl_version 5.12.1 -%define perl_epoch 2 -%define perl_arch_stem -thread-multi -%define perl_archname %{_arch}-%{_os}%{perl_arch_stem} - -%define multilib_64_archs x86_64 s390x ppc64 sparc64 - - -# internal filter just for this spec -# XXX: %%global expands now, archlib must be pre-defined. -%global perl_default_filter %%{?filter_setup: %%{expand: \ -%%filter_provides_in -P %%{archlib}/(?!CORE/libperl).*\\.so$ \ -%%filter_setup \ -}} - +%global perl_version 5.16.1 +%global perl_epoch 4 +%global perl_arch_stem -thread-multi +%global perl_archname %{_arch}-%{_os}%{perl_arch_stem} + +%global multilib_64_archs x86_64 s390x ppc64 sparc64 +%global parallel_tests 1 +%global tapsetdir %{_datadir}/systemtap/tapset + +# This set overrides filters from build root (/etc/rpm/macros.perl) +# intentionally (e.g. the perl(DB)) +%global __provides_exclude_from .*/auto/.*\\.so$|.*/%{perl_archlib}/.*\\.so$|%{_docdir} +%global __requires_exclude_from %{_docdir} +%global __provides_exclude perl\\((VMS|Win32|BSD::|DB\\)$) +# unicore::Name - it's needed by perl, maybe problem of rpm +# FCGI is external dependency after install of perl-CGI, remove it during RC releases +%global __requires_exclude perl\\((VMS|BSD::|Win32|Tk|Mac::|Your::Module::Here|unicore::Name|FCGI) +# same as we provide in /etc/rpm/macros.perl +%global perl5_testdir %{_libexecdir}/perl5-tests + +# We can bootstrap without gdbm +%bcond_without gdbm +# We can skip %%check phase +%bcond_without test Name: perl Version: %{perl_version} -Epoch: %{perl_epoch} -Release: 61 -Summary: The Perl programming language +# release number must be even higher, because dual-lived modules will be broken otherwise +Release: 228%{?dist} +Epoch: %{perl_epoch} +Summary: Practical Extraction and Report Language Group: Development/Languages # Modules Tie::File and Getopt::Long are licenced under "GPLv2+ or Artistic," # we have to reflect that in the sub-package containing them. -License: (GPL+ or Artistic) and (GPLv2+ or Artistic) -URL: http://www.perl.org/ -Source0: http://search.cpan.org/CPAN/authors/id/R/RG/RGARCIA/perl-%{perl_version}.tar.gz -Source10: macros.perl -Source12: perl-5.8.0-libnet.cfg - +# under UCD are unicode tables +# Public domain: ext/SDBM_File/sdbm/*, ext/Compress-Raw-Bzip2/bzip2-src/dlltest.c +# MIT: ext/MIME-Base64/Base64.xs +# Copyright Only: for example ext/Text-Soundex/Soundex.xs +License: (GPL+ or Artistic) and (GPLv2+ or Artistic) and Copyright Only and MIT and Public Domain and UCD +Url: http://www.perl.org/ +Source0: http://www.cpan.org/src/5.0/perl-%{perl_version}.tar.bz2 +Source2: perl-5.8.0-libnet.cfg +Source3: macros.perl +#Systemtap tapset and example that make use of systemtap-sdt-devel +# build requirement. Written by lberk; Not yet upstream. +Source4: perl.stp +Source5: perl-example.stp + +Patch0: porting-podcheck-regen.patch # Removes date check, Fedora/RHEL specific -Patch1: perl-5.10.0-perlbug-tag.patch +Patch1: perl-perlbug-tag.patch # Fedora/RHEL only (64bit only) Patch3: perl-5.8.0-libdir64.patch @@ -38,35 +57,54 @@ Patch3: perl-5.8.0-libdir64.patch Patch4: perl-5.10.0-libresolv.patch # FIXME: May need the "Fedora" references removed before upstreaming -Patch5: perl-5.10.0-USE_MM_LD_RUN_PATH.patch +# patches ExtUtils-MakeMaker +Patch5: perl-USE_MM_LD_RUN_PATH.patch # Skip hostname tests, since hostname lookup isn't available in Fedora # buildroots by design. -Patch6: perl-5.10.0-disable_test_hosts.patch - -# Bump Sys::Syslog to 0.24 to fix test failure case -#Patch9: perl-5.10.0-SysSyslog-0.24.patch +# patches Net::Config from libnet +Patch6: perl-disable_test_hosts.patch # The Fedora builders started randomly failing this futime test # only on x86_64, so we just don't run it. Works fine on normal # systems. -Patch7: perl-5.10.0-x86_64-io-test-failure.patch +Patch7: perl-5.10.0-x86_64-io-test-failure.patch -Patch8: perl-5.12.1-notimestamps.patch +# switch off test, which is failing only on koji (fork) +Patch8: perl-5.14.1-offtest.patch -Patch9: perl-5.12.1-norebuilds.patch + Fix find2perl to translate ? glob properly, rhbz#825701, RT#113054 +Patch9: perl-5.14.2-find2perl-transtate-question-mark-properly.patch -BuildRoot: %{_tmppath}/%{name}-%{perl_version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: gdbm-devel, db4-devel, zlib-devel -BuildRequires: groff +# Fix broken atof, rhbz#835452, RT#109318 +Patch10: perl-5.16.0-fix-broken-atof.patch -# The long line of Perl provides. +# Fix searching for Unicode::Collate::Locale data, rhbz#756118, CPANRT#72666, +# fixed in Unicode-Collate-0.87. +# TODO Looks like it was fixed differently? +#Patch13: perl-5.14.2-locale-search-inc.patch + +Patch11: perl-5.12.1-notimestamps.patch + +Patch12: perl-5.12.1-norebuilds.patch -# These provides are needed by the perl pkg itself with auto-generated perl.req -Provides: perl(VMS::Filespec) -Provides: perl(VMS::Stdio) +# +# Update some of the bundled modules +# see http://fedoraproject.org/wiki/Perl/perl.spec for instructions + +BuildRequires: groff, db4-devel, zlib-devel, bzip2-devel +%if %{with gdbm} +BuildRequires: gdbm-devel +%endif + +# For tests +#BuildRequires: procps + +# The long line of Perl provides. # Compat provides +Provides: perl(:MODULE_COMPAT_5.16.1) +Provides: perl(:MODULE_COMPAT_5.16.0) Provides: perl(:MODULE_COMPAT_5.12.1) # Threading provides @@ -116,37 +154,38 @@ Provides: perl(validate.pl) Provides: perl(Carp::Heavy) # Long history in 3rd-party repositories: -Provides: perl-File-Temp = 0.20 +Provides: perl-File-Temp = 0.22 Obsoletes: perl-File-Temp < 0.20 -# Use new testing module perl-Test-Harness, obsolete it outside of this package -Provides: perl-TAP-Harness = 3.10 -Obsoletes: perl-TAP-Harness < 3.10 +# suidperl isn't created by upstream since 5.12.0 +Obsoletes: perl-suidperl <= 4:5.12.2 Requires: perl-libs = %{perl_epoch}:%{perl_version}-%{release} # We need this to break the dependency loop, and ensure that perl-libs # gets installed before perl. Requires(post): perl-libs +# Same as perl-libs. We need macros in basic buildroot, where Perl is only +# because of git. +Requires(post): perl-macros %description -Perl is a high-level programming language with roots in C, sed, awk -and shell scripting. Perl is good at handling processes and files, -and is especially good at handling text. Perl's hallmarks are -practicality and efficiency. While it is used to do a lot of -different things, Perl's most common applications are system -administration utilities and web programming. A large proportion of -the CGI scripts on the web are written in Perl. You need the perl -package installed on your system so that your system can handle Perl +Perl is a high-level programming language with roots in C, sed, awk and shell +scripting. Perl is good at handling processes and files, and is especially +good at handling text. Perl's hallmarks are practicality and efficiency. +While it is used to do a lot of different things, Perl's most common +applications are system administration utilities and web programming. A large +proportion of the CGI scripts on the web are written in Perl. You need the +perl package installed on your system so that your system can handle Perl scripts. -Install this package if you want to program in Perl or enable your -system to handle Perl scripts. +Install this package if you want to program in Perl or enable your system to +handle Perl scripts. %package libs Summary: The libraries for the perl runtime -Group: System/Libraries +Group: Development/Languages License: GPL+ or Artistic Requires: perl = %{perl_epoch}:%{perl_version}-%{release} @@ -155,9 +194,10 @@ The libraries for the perl runtime %package devel -Summary: Header files for use in perl development +Summary: Header #files for use in perl development Group: Development/Languages License: GPL+ or Artistic +Requires: perl(ExtUtils::ParseXS) Requires: perl = %{perl_epoch}:%{perl_version}-%{release} %description devel @@ -165,12 +205,44 @@ This package contains header files and development modules. Most perl packages will need to install perl-devel to build. +%package macros +Summary: Macros for rpmbuild +Group: Development/Languages +License: GPL+ or Artistic +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description macros +Macros for rpmbuild are needed during build of srpm in koji. This +sub-package must be installed into buildroot, so it will be needed +by perl. Perl is needed because of git. + + +%package tests +Summary: The Perl test suite +Group: Development/Languages +License: GPL+ or Artistic +# right? +AutoReqProv: 0 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +# FIXME - note this will need to change when doing the core/minimal swizzle +Requires: perl-core + +%description tests +This package contains the test suite included with Perl %{perl_version}. + +Install this if you want to test your Perl installation (binary and core +modules). + + %package Archive-Extract Summary: Generic archive extracting mechanism Group: Development/Libraries License: GPL+ or Artistic -Version: 0.24 +# Epoch bump for clean upgrade over old standalone package +Epoch: 1 +Version: 0.58 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch %description Archive-Extract Archive::Extract is a generic archive extraction mechanism. @@ -180,23 +252,90 @@ Archive::Extract is a generic archive extraction mechanism. Summary: A module for Perl manipulation of .tar files Group: Development/Libraries License: GPL+ or Artistic -Version: 1.38 +Epoch: 0 +Version: 1.82 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} Requires: perl(Compress::Zlib), perl(IO::Zlib) +BuildArch: noarch %description Archive-Tar -Archive::Tar provides an object oriented mechanism for handling tar -files. It provides class methods for quick and easy files handling -while also allowing for the creation of tar file objects for custom -manipulation. If you have the IO::Zlib module installed, Archive::Tar -will also support compressed or gzipped tar files. +Archive::Tar provides an object oriented mechanism for handling tar files. It +provides class methods for quick and easy files handling while also allowing +for the creation of tar file objects for custom manipulation. If you have the +IO::Zlib module installed, Archive::Tar will also support compressed or +gzipped tar files. + + +#%package Carp +#Summary: Alternative warn and die for modules +#Epoch: 0 +#Version: 1.26 +#License: GPL+ or Artistic +#Group: Development/Libraries +#Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +#Provides: perl(Carp::Heavy) = %{version} +#BuildArch: noarch + +# Do not export unversioned module +#%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Carp\\)\\s*$ + +#%description Carp +#The Carp routines are useful in your own modules because they act like +#die() or warn(), but with a message which is more likely to be useful to a +#user of your module. In the case of cluck, confess, and longmess that +#context is a summary of every call in the call-stack. For a shorter message +#you can use carp or croak which report the error as being from where your +#module was called. There is no guarantee that that is where the error was, +#but it is a good educated guess. + + +%package CGI +Summary: Handle Common Gateway Interface requests and responses +Group: Development/Libraries +License: GPL+ or Artistic +Epoch: 0 +Version: 3.59 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +Provides: perl(CGI) = %{version} +BuildArch: noarch + +# Do not export unversioned module +%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(CGI\\)\\s*$ +# Do not export private modules +%global __provides_exclude %{__provides_exclude}|^perl\\(Fh\\)\\s*$ +%global __provides_exclude %{__provides_exclude}|^perl\\(MultipartBuffer\\)\\s*$ +%global __provides_exclude %{__provides_exclude}|^perl\\(utf8\\)\\s*$ + +%description CGI +CGI.pm is a stable, complete and mature solution for processing and preparing +HTTP requests and responses. Major features including processing form +submissions, file uploads, reading and writing cookies, query string generation +and manipulation, and processing and preparing HTTP headers. Some HTML +generation utilities are included as well. + +CGI.pm performs very well in in a vanilla CGI.pm environment and also comes +with built-in support for mod_perl and mod_perl2 as well as FastCGI. + + +%package Compress-Raw-Bzip2 +Summary: Low-Level Interface to bzip2 compression library +Group: Development/Libraries +License: GPL+ or Artistic +Epoch: 0 +Version: 2.048 +Requires: perl(Exporter), perl(File::Temp) + +%description Compress-Raw-Bzip2 +This module provides a Perl interface to the bzip2 compression library. +It is used by IO::Compress::Bzip2. %package Compress-Raw-Zlib Summary: Low-Level Interface to the zlib compression library -Group: System/Libraries +Group: Development/Libraries License: GPL+ or Artistic -Version: 2.008 +Epoch: 0 +Version: 2.048 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} %description Compress-Raw-Zlib @@ -204,57 +343,139 @@ This module provides a Perl interface to the zlib compression library. It is used by IO::Compress::Zlib. -%package Compress-Zlib -Summary: A module providing Perl interfaces to the zlib compression library -Group: System/Libraries -License: GPL+ or Artistic -Version: 2.008 -Requires: perl = %{perl_epoch}:%{perl_version}-%{release} - -%description Compress-Zlib -The Compress::Zlib module provides a Perl interface to the zlib -compression library. Most of the functionality provided by zlib is -available in Compress::Zlib. - -The module can be split into two general areas of functionality, -namely in-memory compression/decompression and read/write access to -gzip files. - - %package CPAN Summary: Query, download and build perl modules from CPAN sites Group: Development/Languages License: GPL+ or Artistic -Version: 1.9205 +Epoch: 0 +Version: 1.9800 +# CPAN encourages Digest::SHA strongly because of integrity checks +Requires: perl(Digest::SHA) Requires: perl = %{perl_epoch}:%{perl_version}-%{release} Provides: cpan = %{version} +BuildArch: noarch %description CPAN Query, download and build perl modules from CPAN sites. +#%package CPAN-Meta +#Summary: Distribution metadata for a CPAN dist +#Epoch: 0 +#Version: 2.120630 +#License: GPL+ or Artistic +#Group: Development/Libraries +#Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +#BuildArch: noarch + +#%description CPAN-Meta +#Software distributions released to the CPAN include a META.json or, for +#older distributions, META.yml, which describes the distribution, its +#contents, and the requirements for building and installing the +#distribution. The data structure stored in the META.json file is described +#in CPAN::Meta::Spec. + + +%package CPAN-Meta-YAML +Version: 0.007 +Epoch: 0 +Summary: Read and write a subset of YAML for CPAN Meta files +License: GPL+ or Artistic +Group: Development/Libraries +BuildArch: noarch +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description CPAN-Meta-YAML +This module implements a subset of the YAML specification for use in reading +and writing CPAN metadata files like META.yml and MYMETA.yml. It should not be +used for any other general YAML parsing or generation task. + %package CPANPLUS Summary: API & CLI access to the CPAN mirrors Group: Development/Libraries License: GPL+ or Artistic -Version: 0.84 +Epoch: 0 +# real version 0.9121 +Version: 0.91.21 +# CPANPLUS encourages Digest::SHA strongly because of integrity checks +Requires: perl(Digest::SHA) Requires: perl(Module::Pluggable) >= 2.4 Requires: perl(Module::CoreList) Requires: perl = %{perl_epoch}:%{perl_version}-%{release} -Provides: perl-CPANPLUS-Dist-Build = 0.06 -Obsoletes: perl-CPANPLUS-Dist-Build <= 0.05 +Provides: perl-CPANPLUS-Dist-Build = 0.54 +Obsoletes: perl-CPANPLUS-Dist-Build <= 0.05 +BuildArch: noarch %description CPANPLUS The CPANPLUS library is an API to the CPAN mirrors and a collection of interactive shells, commandline programs, etc, that use this API. +#%package Data-Dumper +#Summary: Stringify perl data structures, suitable for printing and eval +#Group: Development/Libraries +#License: GPL+ or Artistic +#Epoch: 0 +#Version: 2.135.06 +#Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +#Requires: perl(Scalar::Util) +#Requires: perl(XSLoader) + +#%description Data-Dumper +#Given a list of scalars or reference variables, writes out their contents +#in perl syntax. The references can also be objects. The content of each +#variable is output in a single Perl statement. Handles self-referential +#structures correctly. + + +%package Digest +Summary: Modules that calculate message digests +Group: Development/Libraries +License: GPL+ or Artistic +# Epoch bump for clean upgrade over old standalone package +Epoch: 0 +Version: 1.17 +BuildArch: noarch +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +Requires: perl(MIME::Base64) + +%description Digest +The Digest:: modules calculate digests, also called "fingerprints" or +"hashes", of some data, called a message. The digest is (usually) +some small/fixed size string. The actual size of the digest depend of +the algorithm used. The message is simply a sequence of arbitrary +bytes or bits. + + +#%package Digest-MD5 +#Summary: Perl interface to the MD5 Algorithm +#Group: Development/Libraries +#License: GPL+ or Artistic +## Epoch bump for clean upgrade over old standalone package +#Epoch: 0 +#Version: 2.51 +#Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +## Recommended +#Requires: perl(Digest::base) >= 1.00 + +#%description Digest-MD5 +#The Digest::MD5 module allows you to use the RSA Data Security Inc. MD5 +#Message Digest algorithm from within Perl programs. The algorithm takes as +#input a message of arbitrary length and produces as output a 128-bit +#"fingerprint" or "message digest" of the input. + + %package Digest-SHA Summary: Perl extension for SHA-1/224/256/384/512 -Group: System/Libraries +Group: Development/Libraries License: GPL+ or Artistic -Version: 5.45 +# Epoch bump for clean upgrade over old standalone package +Epoch: 1 +Version: 5.71 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +# Recommended +Requires: perl(Digest::base) +Requires: perl(MIME::Base64) %description Digest-SHA Digest::SHA is a complete implementation of the NIST Secure Hash @@ -267,131 +488,248 @@ module can handle all types of input, including partial-byte data. Summary: Compile and link C code for Perl modules Group: Development/Libraries License: GPL+ or Artistic -Version: 0.21 +# Epoch bump for clean upgrade over old standalone package +Epoch: 1 +# real version 0.280206 https://fedoraproject.org/wiki/Perl/Tips#Dot_approach +Version: 0.28.2.6 Requires: perl-devel Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch %description ExtUtils-CBuilder This module can build the C portions of Perl modules by invoking the -appropriate compilers and linkers in a cross-platform manner. It was -motivated by the Module::Build project, but may be useful for other -purposes as well. +appropriate compilers and linkers in a cross-platform manner. It was motivated +by the Module::Build project, but may be useful for other purposes as well. %package ExtUtils-Embed Summary: Utilities for embedding Perl in C/C++ applications Group: Development/Languages License: GPL+ or Artistic -Version: 1.27 +Epoch: 0 +Version: 1.30 Requires: perl-devel Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch %description ExtUtils-Embed Utilities for embedding Perl in C/C++ applications. +%package ExtUtils-Install +Summary: Install files from here to there +Group: Development/Languages +License: GPL+ or Artistic +Epoch: 0 +Version: 1.58 +Requires: perl-devel +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch + +%description ExtUtils-Install +Handles the installing and uninstalling of perl modules, scripts, man +pages, etc. + + %package ExtUtils-MakeMaker Summary: Create a module Makefile Group: Development/Languages License: GPL+ or Artistic -Version: 6.36 +Epoch: 0 +Version: 6.63.2 Requires: perl-devel Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +Requires: perl(ExtUtils::Install) +Requires: perl(ExtUtils::Manifest) Requires: perl(Test::Harness) +BuildArch: noarch + +# Filter false DynaLoader provides. Versioned perl(DynaLoader) keeps +# unfiltered on perl package, no need to reinject it. +%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(DynaLoader\\)\\s*$ +%global __provides_exclude %__provides_exclude|^perl\\(ExtUtils::MakeMaker::_version\\) %description ExtUtils-MakeMaker Create a module Makefile. +%package ExtUtils-Manifest +Summary: Utilities to write and check a MANIFEST file +Group: Development/Languages +License: GPL+ or Artistic +Epoch: 0 +Version: 1.61 +Requires: perl-devel +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch + +%description ExtUtils-Manifest +%{summary}. + + %package ExtUtils-ParseXS Summary: Module and a script for converting Perl XS code into C code Group: Development/Libraries License: GPL+ or Artistic -# It's really 2.18_02, but we drop the _02. -Version: 2.18 +# Epoch bump for clean upgrade over old standalone package +Epoch: 1 +Version: 3.16 Requires: perl-devel Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch %description ExtUtils-ParseXS -ExtUtils::ParseXS will compile XS code into C code by embedding the -constructs necessary to let C functions manipulate Perl values and -creates the glue necessary to let Perl access those functions. +ExtUtils::ParseXS will compile XS code into C code by embedding the constructs +necessary to let C functions manipulate Perl values and creates the glue +necessary to let Perl access those functions. %package File-Fetch Summary: Generic file fetching mechanism -Group: System/Libraries +Group: Development/Libraries License: GPL+ or Artistic -Version: 0.14 +Epoch: 0 +Version: 0.32 Requires: perl(IPC::Cmd) >= 0.36 Requires: perl(Module::Load::Conditional) >= 0.04 Requires: perl(Params::Check) >= 0.07 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch %description File-Fetch File::Fetch is a generic file fetching mechanism. - -%package IO-Compress-Base -Summary: Base Class for IO::Compress modules -Group: System/Libraries +# FIXME Filter-Simple? version? +%package Filter +Summary: Perl source filters +Group: Development/Libraries License: GPL+ or Artistic -Version: 2.008 +Epoch: 0 +Version: 1.40 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} -%description IO-Compress-Base -This module is the base class for all IO::Compress and IO::Uncompress -modules. This module is not intended for direct use in application -code. Its sole purpose is to to be sub-classed by IO::Compress -modules. +%description Filter +Source filters alter the program text of a module before Perl sees it, much as +a C preprocessor alters the source text of a C program before the compiler +sees it. -%package IO-Compress-Zlib -Summary: Perl interface to allow reading and writing of gzip and zip data -Group: System/Libraries -License: GPL+ or Artistic -# Really 1.23_01, but we drop the _01. -Version: 2.008 -Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +#%package IO-Compress +#Summary: IO::Compress wrapper for modules +#Group: Development/Libraries +#License: GPL+ or Artistic +#Epoch: 0 +#Version: 2.048 +#Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +#Obsoletes: perl-Compress-Zlib <= 2.020 +#Provides: perl(IO::Uncompress::Bunzip2) -%description IO-Compress-Zlib -This module provides an "IO::"-style Perl interface to "Compress::Zlib" +#%description IO-Compress +#This module is the base class for all IO::Compress and IO::Uncompress modules. +#This module is not intended for direct use in application code. Its sole +#purpose is to to be sub-classed by IO::Compress modules. %package IO-Zlib Summary: Perl IO:: style interface to Compress::Zlib -Group: System/Libraries +Group: Development/Libraries License: GPL+ or Artistic -Version: 1.07 +# Epoch bump for clean upgrade over old standalone package +Epoch: 1 +Version: 1.10 Requires: perl(Compress::Zlib) Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch %description IO-Zlib -This modules provides an IO:: style interface to the Compress::Zlib -package. The main advantage is that you can use an IO::Zlib object in -much the same way as an IO::File object so you can have common code -that doesn't know which sort of file it is using. +This modules provides an IO:: style interface to the Compress::Zlib package. +The main advantage is that you can use an IO::Zlib object in much the same way +as an IO::File object so you can have common code that doesn't know which sort +of file it is using. %package IPC-Cmd Summary: Finding and running system commands made easy -Group: System/Libraries +Group: Development/Libraries License: GPL+ or Artistic -# Really 0.40_1, but we drop the _1. -Version: 0.40 +# Epoch bump for clean upgrade over old standalone package +Epoch: 1 +Version: 0.76 +Requires: perl(ExtUtils::MakeMaker) Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch %description IPC-Cmd -IPC::Cmd allows you to run commands, interactively if desired, in a -platform independent way, but have them still work. +IPC::Cmd allows you to run commands, interactively if desired, in a platform +independent way, but have them still work. + + +%package HTTP-Tiny +Summary: A small, simple, correct HTTP/1.1 client +Group: Development/Libraries +License: GPL+ or Artistic +Epoch: 0 +Version: 0.017 +#Requires: perl(Carp) +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +Requires: perl(IO::Socket) +BuildArch: noarch + +%description HTTP-Tiny +This is a very simple HTTP/1.1 client, designed primarily for doing simple GET +requests without the overhead of a large framework like LWP::UserAgent. +It is more correct and more complete than HTTP::Lite. It supports proxies +(currently only non-authenticating ones) and redirection. It also correctly +resumes after EINTR. + + +%package JSON-PP +Summary: JSON::XS compatible pure-Perl module +Epoch: 0 +# 2.27150 version is a typo but we cannot fix it because it would break +# monotony +Version: 2.27200 +License: GPL+ or Artistic +Group: Development/Libraries +BuildArch: noarch +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +Conflicts: perl-JSON < 2.50 + +%description JSON-PP +JSON::XS is the fastest and most proper JSON module on CPAN. It is written by +Marc Lehmann in C, so must be compiled and installed in the used environment. +JSON::PP is a pure-Perl module and is compatible with JSON::XS. + + +%package Locale-Codes +Summary: Distribution of modules to handle locale codes +Epoch: 0 +Version: 3.21 +License: GPL+ or Artistic +Group: Development/Libraries +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +Requires: perl(constant) +Provides: perl(Locale::Codes) = %{version} +BuildArch: noarch + +# Do not export unversioned module +%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Locale::Codes\\)\\s*$ + +%description Locale-Codes +Locale-Codes is a distribution containing a set of modules. The modules +each deal with different types of codes which identify parts of the locale +including languages, countries, currency, etc. %package Locale-Maketext-Simple Summary: Simple interface to Locale::Maketext::Lexicon Group: Development/Libraries License: MIT -Version: 0.18 -Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +# Epoch bump for clean upgrade over old standalone package +Epoch: 1 +Version: 0.21 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch %description Locale-Maketext-Simple This module is a simple wrapper around Locale::Maketext::Lexicon, designed @@ -400,28 +738,33 @@ to alleviate the need of creating Language Classes for module authors. %package Log-Message Summary: Generic message storage mechanism -Group: System/Libraries +Group: Development/Libraries License: GPL+ or Artistic -Version: 0.01 +# Epoch bump for clean upgrade over old standalone package +Epoch: 1 +Version: 0.04 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} # Add a versioned provides, since we pull the unversioned one out. Provides: perl(Log::Message::Handlers) = %{version} +BuildArch: noarch %description Log-Message -Log::Message is a generic message storage mechanism. It allows you to -store messages on a stack -- either shared or private -- and assign meta-data -to it. Some meta-data will automatically be added for you, like a timestamp -and a stack trace, but some can be filled in by the user, like a tag by -which to identify it or group it, and a level at which to handle the -message (for example, log it, or die with it). +Log::Message is a generic message storage mechanism. It allows you to store +messages on a stack -- either shared or private -- and assign meta-data to it. +Some meta-data will automatically be added for you, like a timestamp and a +stack trace, but some can be filled in by the user, like a tag by which to +identify it or group it, and a level at which to handle the message (for +example, log it, or die with it). %package Log-Message-Simple Summary: Simplified frontend to Log::Message -Group: System/Libraries +Group: Development/Libraries License: GPL+ or Artistic -Version: 0.04 +Epoch: 0 +Version: 0.08 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch %description Log-Message-Simple This module provides standardized logging facilities using the @@ -432,176 +775,325 @@ Log::Message module. Summary: Perl module for building and installing Perl modules Group: Development/Libraries License: GPL+ or Artistic -# Really 0.2808_01, but we drop the _01. -Version: 0.2808 +# Check epoch with standalone package +Epoch: 2 +# real version 0.39_01 +Version: 0.39.01 Requires: perl(Archive::Tar) >= 1.08 +#Requires: perl(CPAN::Meta) >= 2.110420 Requires: perl(ExtUtils::CBuilder) >= 0.15 Requires: perl(ExtUtils::ParseXS) >= 1.02 +Requires: perl-devel Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch %description Module-Build -Module::Build is a system for building, testing, and installing Perl -modules. It is meant to be an alternative to ExtUtils::MakeMaker. -Developers may alter the behavior of the module through subclassing in a -much more straightforward way than with MakeMaker. It also does not -require a make on your system - most of the Module::Build code is pure-perl and -written in a very cross-platform way. In fact, you don't even need a -shell, so even platforms like MacOS (traditional) can use it fairly easily. Its -only prerequisites are modules that are included with perl 5.6.0, and it -works fine on perl 5.005 if you can install a few additional modules. +Module::Build is a system for building, testing, and installing Perl modules. +It is meant to be an alternative to ExtUtils::MakeMaker. Developers may alter +the behavior of the module through subclassing in a much more straightforward +way than with MakeMaker. It also does not require a make on your system - most +of the Module::Build code is pure-perl and written in a very cross-platform +way. In fact, you don't even need a shell, so even platforms like MacOS +(traditional) can use it fairly easily. Its only prerequisites are modules that +are included with perl 5.6.0, and it works fine on perl 5.005 if you can +install a few additional modules. %package Module-CoreList Summary: Perl core modules indexed by perl versions Group: Development/Languages License: GPL+ or Artistic -Version: 2.14 +Epoch: 1 +Version: 2.70 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} Requires: perl(version) +BuildArch: noarch %description Module-CoreList -Module::CoreList contains the hash of hashes %Module::CoreList::version, -this is keyed on perl version as indicated in $]. The second level hash -is module => version pairs. +Module::CoreList contains the hash of hashes %%Module::CoreList::version, this +is keyed on perl version as indicated in $]. The second level hash is module +=> version pairs. %package Module-Load Summary: Runtime require of both modules and files Group: Development/Libraries License: GPL+ or Artistic -Version: 0.12 +# Epoch bump for clean upgrade over old standalone package +Epoch: 1 +Version: 0.22 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch %description Module-Load -Module::Load eliminates the need to know whether you are trying to -require either a file or a module. +Module::Load eliminates the need to know whether you are trying to require +either a file or a module. %package Module-Load-Conditional Summary: Looking up module information / loading at runtime Group: Development/Libraries License: GPL+ or Artistic -Version: 0.24 +Epoch: 0 +Version: 0.46 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch %description Module-Load-Conditional -Module::Load::Conditional provides simple ways to query and possibly -load -any of the modules you have installed on your system during runtime. +Module::Load::Conditional provides simple ways to query and possibly load any +of the modules you have installed on your system during runtime. %package Module-Loaded Summary: Mark modules as loaded or unloaded Group: Development/Libraries License: GPL+ or Artistic -Version: 0.01 +# Epoch bump for clean upgrade over old standalone package +Epoch: 1 +Version: 0.08 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch %description Module-Loaded When testing applications, often you find yourself needing to provide functionality in your test environment that would usually be provided by -external modules. Rather than munging the %INC by hand to mark these -external modules as loaded, so they are not attempted to be loaded by -perl, this module offers you a very simple way to mark modules as loaded -and/or unloaded. +external modules. Rather than munging the %INC by hand to mark these external +modules as loaded, so they are not attempted to be loaded by perl, this module +offers you a very simple way to mark modules as loaded and/or unloaded. +%package Module-Metadata +Summary: Gather package and POD information from perl module files +Epoch: 0 +Version: 1.000009 +License: GPL+ or Artistic +Group: Development/Libraries +BuildArch: noarch +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description Module-Metadata +Gather package and POD information from perl module files + %package Module-Pluggable Summary: Automatically give your module the ability to have plugins Group: Development/Libraries License: GPL+ or Artistic -Version: 3.60 +# Epoch bump for clean upgrade over old standalone package +Epoch: 1 +# Keep two digit decimal part +Version: 4.00 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch %description Module-Pluggable -Provides a simple but, hopefully, extensible way of having 'plugins' for -your module. +Provides a simple but, hopefully, extensible way of having 'plugins' for your +module. %package Object-Accessor Summary: Perl module that allows per object accessors -Group: System/Libraries +Group: Development/Libraries License: GPL+ or Artistic -Version: 0.32 +# Epoch bump for clean upgrade over old standalone package +Epoch: 1 +Version: 0.42 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch %description Object-Accessor -Object::Accessor provides an interface to create per object accessors -(as opposed to per Class accessors, as, for example, Class::Accessor -provides). +Object::Accessor provides an interface to create per object accessors (as +opposed to per Class accessors, as, for example, Class::Accessor provides). %package Package-Constants Summary: List all constants declared in a package -Group: System/Libraries +Group: Development/Libraries License: GPL+ or Artistic -Version: 0.01 +# Epoch bump for clean upgrade over old standalone package +Epoch: 1 +Version: 0.02 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch %description Package-Constants -Package::Constants lists all the constants defined in a certain package. -This can be useful for, among others, setting up an autogenerated -@EXPORT/@EXPORT_OK for a Constants.pm file. +Package::Constants lists all the constants defined in a certain package. This +can be useful for, among others, setting up an autogenerated @EXPORT/@EXPORT_OK +for a Constants.pm file. + + +#%package PathTools +#Summary: PathTools Perl module (Cwd, File::Spec) +## PathTools aka File::Spec +#Group: Development/Libraries +#License: (GPL+ or Artistic) and BSD +#Epoch: 0 +#Version: 3.39.2 +#Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +#%description PathTools +#PathTools Perl module (Cwd, File::Spec). %package Params-Check Summary: Generic input parsing/checking mechanism -Group: System/Libraries +Group: Development/Libraries License: GPL+ or Artistic -Version: 0.26 +# Epoch bump for clean upgrade over old standalone package +Epoch: 1 +Version: 0.32 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch %description Params-Check Params::Check is a generic input parsing/checking mechanism. +%package Parse-CPAN-Meta +Summary: Parse META.yml and other similar CPAN metadata files +Group: Development/Libraries +License: GPL+ or Artistic +# Epoch bump for clean upgrade over old standalone package +Epoch: 1 +Version: 1.4402 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch +Requires: perl(CPAN::Meta::YAML) >= 0.002 +Requires: perl(JSON::PP) >= 2.27103 +# FIXME it could be removed now? +Obsoletes: perl-Parse-CPAN-Meta < 1.40 + +%description Parse-CPAN-Meta +Parse::CPAN::Meta is a parser for META.yml files, based on the parser half of +YAML::Tiny. + + +%package Perl-OSType +Summary: Map Perl operating system names to generic types +Version: 1.002 +Epoch: 0 +License: GPL+ or Artistic +Group: Development/Libraries +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch + +%description Perl-OSType +Modules that provide OS-specific behaviors often need to know if the current +operating system matches a more generic type of operating systems. For example, +'linux' is a type of 'Unix' operating system and so is 'freebsd'. +This module provides a mapping between an operating system name as given by $^O +and a more generic type. The initial version is based on the OS type mappings +provided in Module::Build and ExtUtils::CBuilder (thus, Microsoft operating +systems are given the type 'Windows' rather than 'Win32'). + + %package Pod-Escapes Summary: Perl module for resolving POD escape sequences -Group: System/Libraries +Group: Development/Libraries License: GPL+ or Artistic +# Epoch bump for clean upgrade over old standalone package +Epoch: 1 Version: 1.04 -Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch %description Pod-Escapes -This module provides things that are useful in decoding Pod E<...> -sequences. Presumably, it should be used only by Pod parsers and/or -formatters. +This module provides things that are useful in decoding Pod E<...> sequences. +Presumably, it should be used only by Pod parsers and/or formatters. + + +%package Pod-Parser +Summary: Basic perl modules for handling Plain Old Documentation (POD) +Group: Development/Libraries +License: GPL+ or Artistic +Epoch: 0 +Version: 1.51 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +# Pod::Usage executes perldoc from perl-Pod-Perldoc by default +Requires: perl-Pod-Perldoc +BuildArch: noarch + +%description Pod-Parser +This software distribution contains the packages for using Perl5 POD (Plain +Old Documentation). See the "perlpod" and "perlsyn" manual pages from your +Perl5 distribution for more information about POD. + + +%package Pod-Perldoc +Summary: Look up Perl documentation in Pod format +Group: Development/Libraries +License: GPL+ or Artistic +Epoch: 0 +Version: 3.17.00 +# Pod::Perldoc::ToMan executes roff +Requires: groff +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch + +%description Pod-Perldoc +perldoc looks up a piece of documentation in .pod format that is embedded +in the perl installation tree or in a perl script, and displays it via +"groff -man | $PAGER". This is primarily used for the documentation for +the perl library modules. %package Pod-Simple Summary: Framework for parsing POD documentation Group: Development/Libraries License: GPL+ or Artistic -Version: 3.07 +# Epoch bump for clean upgrade over old standalone package +Epoch: 1 +Version: 3.20 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch %description Pod-Simple Pod::Simple is a Perl library for parsing text in the Pod ("plain old documentation") markup language that is typically used for writing documentation for Perl and for Perl modules. +%package Scalar-List-Utils +Summary: A selection of general-utility scalar and list subroutines +Group: Development/Libraries +License: GPL+ or Artistic +Epoch: 0 +Version: 1.25 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description Scalar-List-Utils +Scalar::Util and List::Util contain a selection of subroutines that people have +expressed would be nice to have in the perl core, but the usage would not +really be high enough to warrant the use of a keyword, and the size so small +such that being individual extensions would be wasteful. + %package Term-UI Summary: Term::ReadLine UI made easy -Group: System/Libraries +Group: Development/Libraries License: GPL+ or Artistic -Version: 0.18 +Epoch: 0 +Version: 0.30 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} Requires: perl(Log::Message::Simple) +BuildArch: noarch %description Term-UI -Term::UI is a transparent way of eliminating the overhead of having to -format a question and then validate the reply, informing the user if the -answer was not proper and re-issuing the question. +Term::UI is a transparent way of eliminating the overhead of having to format +a question and then validate the reply, informing the user if the answer was not +proper and re-issuing the question. %package Test-Harness Summary: Run Perl standard test scripts with statistics Group: Development/Languages License: GPL+ or Artistic -Version: 3.12 +Epoch: 0 +Version: 3.23 Requires: perl-devel Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch +# Use rewritten module perl-Test-Harness +Provides: perl-TAP-Harness = 3.17 +Obsoletes: perl-TAP-Harness < 3.10 %description Test-Harness Run Perl standard test scripts with statistics. @@ -611,39 +1103,156 @@ Use TAP::Parser, Test::Harness package was whole rewritten. Summary: Basic utilities for writing tests Group: Development/Languages License: GPL+ or Artistic -Version: 0.80 +Epoch: 0 +Version: 0.98 Requires: perl-devel Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +#Requires: perl(Data::Dumper) +BuildArch: noarch %description Test-Simple Basic utilities for writing tests. +%package Test-Simple-tests +Summary: Test suite for package perl-Test-Simple +Group: Development/Debug +License: GPL+ or Artistic +Epoch: 0 +Version: 0.98 +Requires: perl-Test-Simple = %{epoch}:%{version}-%{release} +Requires: /usr/bin/prove +AutoReqProv: 0 +BuildArch: noarch + +%description Test-Simple-tests +This package provides the test suite for package perl-Test-Simple. + + %package Time-Piece Summary: Time objects from localtime and gmtime -Group: System/Libraries +Group: Development/Libraries License: GPL+ or Artistic -Version: 1.12 +Epoch: 0 +# real 1.20_01 +Version: 1.20.1 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} %description Time-Piece The Time::Piece module replaces the standard localtime and gmtime functions -with implementations that return objects. It does so in a backwards -compatible manner, so that using localtime or gmtime as documented in -perlfunc still behave as expected. +with implementations that return objects. It does so in a backwards compatible +manner, so that using localtime or gmtime as documented in perlfunc still +behave as expected. + + +%package parent +Summary: Establish an ISA relationship with base classes at compile time +Group: Development/Libraries +License: GPL+ or Artistic +# Epoch bump for clean upgrade over old standalone package +Epoch: 1 +Version: 0.225 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch + +%description parent +parent allows you to both load one or more modules, while setting up +inheritance from those modules at the same time. Mostly similar in effect to: + + package Baz; + + BEGIN { + require Foo; + require Bar; + + push @ISA, qw(Foo Bar); + } + + +%package Socket +Summary: C socket.h defines and structure manipulators +Group: Development/Libraries +License: GPL+ or Artistic +Epoch: 0 +Version: 2.001 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description Socket +This module is just a translation of the C socket.h file. Unlike the old +mechanism of requiring a translated socket.ph file, this uses the h2xs program +(see the Perl source distribution) and your native C compiler. This means +that it has a far more likely chance of getting the numbers right. This +includes all of the commonly used pound-defines like AF_INET, SOCK_STREAM, etc. + + +%package threads +Summary: Perl interpreter-based threads +Group: Development/Libraries +License: GPL+ or Artistic +Epoch: 0 +Version: 1.86 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description threads +Since Perl 5.8, thread programming has been available using a model called +interpreter threads which provides a new Perl interpreter for each thread, +and, by default, results in no data or state information being shared between +threads. + +(Prior to Perl 5.8, 5005threads was available through the Thread.pm API. This +threading model has been deprecated, and was removed as of Perl 5.10.0.) + +As just mentioned, all variables are, by default, thread local. To use shared +variables, you need to also load threads::shared. + + +%package threads-shared +Summary: Perl extension for sharing data structures between threads +Group: Development/Libraries +License: GPL+ or Artistic +Epoch: 0 +Version: 1.40 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description threads-shared +By default, variables are private to each thread, and each newly created thread +gets a private copy of each existing variable. This module allows you to share +variables across different threads (and pseudo-forks on Win32). It is used +together with the threads module. This module supports the sharing of the +following data types only: scalars and scalar refs, arrays and array refs, and +hashes and hash refs. %package version Summary: Perl extension for Version Objects Group: Development/Libraries License: GPL+ or Artistic -Version: 0.74 -Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +# Epoch bump for clean upgrade over old standalone package +Epoch: 3 +Version: 0.99 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch %description version Perl extension for Version Objects +%package Version-Requirements +Summary: Set of version requirements for a CPAN dist +License: GPL+ or Artistic +Group: Development/Libraries +Version: 0.101022 +Epoch: 0 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch + +%description Version-Requirements +A Version::Requirements object models a set of version constraints like +those specified in the META.yml or META.json files in CPAN distributions. +It can be built up by adding more and more constraints, and it will reduce +them to the simplest representation. + + %package core Summary: Base perl metapackage Group: Development/Languages @@ -651,31 +1260,47 @@ Group: Development/Languages # Nevertheless, it needs a License tag, so we'll use the generic # "perl" license. License: GPL+ or Artistic +Epoch: 0 Version: %{perl_version} Requires: perl = %{perl_epoch}:%{perl_version}-%{release} Requires: perl-libs = %{perl_epoch}:%{perl_version}-%{release} Requires: perl-devel = %{perl_epoch}:%{perl_version}-%{release} - -Requires: perl-Archive-Extract, perl-Archive-Tar, perl-Compress-Raw-Zlib, perl-Compress-Zlib, perl-CPAN, -Requires: perl-CPANPLUS, perl-Digest-SHA, perl-ExtUtils-CBuilder, -Requires: perl-ExtUtils-Embed, perl-ExtUtils-MakeMaker, perl-ExtUtils-ParseXS, -Requires: perl-File-Fetch, perl-IO-Compress-Base, perl-IO-Compress-Zlib, perl-IO-Zlib, -Requires: perl-IPC-Cmd, perl-Locale-Maketext-Simple, perl-Log-Message, perl-Log-Message-Simple, -Requires: perl-Module-Build, perl-Module-CoreList, perl-Module-Load, -Requires: perl-Module-Load-Conditional, perl-Module-Loaded, -Requires: perl-Module-Pluggable, perl-Object-Accessor, perl-Package-Constants, -Requires: perl-Params-Check, perl-Pod-Escapes, perl-Pod-Simple, perl-Term-UI, -Requires: perl-Test-Harness, perl-Test-Simple, perl-Time-Piece, perl-version -# Note: perl-suidperl has always been an independent subpackage -# We don't want perl-core to drag it in. +Requires: perl-macros + +Requires: perl-Archive-Extract, perl-Archive-Tar, perl-Compress-Raw-Bzip2 +#Requires: perl-Carp, perl-Compress-Raw-Zlib, perl-CGI, perl-CPAN, +Requires: perl-Compress-Raw-Zlib, perl-CGI, perl-CPAN, +#Requires: perl-CPAN-Meta, perl-CPAN-Meta-YAML, perl-CPANPLUS, +Requires: perl-CPAN-Meta-YAML, perl-CPANPLUS, +#Requires: perl-Data-Dumper, perl-Digest, perl-Digest-MD5, perl-Digest-SHA, +Requires: perl-Digest, perl-Digest-SHA, +Requires: perl-ExtUtils-CBuilder, perl-ExtUtils-Embed, +Requires: perl-ExtUtils-Install, perl-ExtUtils-MakeMaker +Requires: perl-ExtUtils-Manifest +Requires: perl-ExtUtils-ParseXS, perl-File-Fetch, perl-Filter, +Requires: perl-HTTP-Tiny +#Requires: perl-IO-Compress, perl-IO-Zlib, perl-IPC-Cmd, perl-JSON-PP +Requires: perl-IO-Zlib, perl-IPC-Cmd, perl-JSON-PP +Requires: perl-Locale-Codes, perl-Locale-Maketext-Simple +Requires: perl-Log-Message, perl-Log-Message-Simple, perl-Module-Build +Requires: perl-Module-CoreList, perl-Module-Load +Requires: perl-Module-Load-Conditional, perl-Module-Loaded, perl-Module-Metadata +#Requires: perl-Module-Pluggable, perl-Object-Accessor, perl-Package-Constants, perl-PathTools +Requires: perl-Module-Pluggable, perl-Object-Accessor, perl-Package-Constants +Requires: perl-Params-Check, perl-Parse-CPAN-Meta, perl-Perl-OSType +Requires: perl-Pod-Escapes, perl-Pod-Parser, perl-Pod-Perldoc +Requires: perl-Pod-Simple +Requires: perl-Socket, perl-Term-UI, perl-Test-Harness, perl-Test-Simple +Requires: perl-Time-Piece, perl-Version-Requirements, perl-version +Requires: perl-threads, perl-threads-shared, perl-parent %description core -A metapackage which requires all of the perl bits and modules in the -upstream tarball from perl.org. - +A metapackage which requires all of the perl bits and modules in the upstream +tarball from perl.org. %prep -%setup -q +%setup -q -n perl-%{perl_version} +%patch0 -p1 %patch1 -p1 %ifarch %{multilib_64_archs} %patch3 -p1 @@ -686,50 +1311,79 @@ upstream tarball from perl.org. %patch7 -p1 %patch8 -p1 %patch9 -p1 +%patch10 -p1 +%patch11 -p1 +%patch12 -p1 + +#copy the example script +cp -a %{SOURCE5} . + # # Candidates for doc recoding (need case by case review): # find . -name "*.pod" -o -name "README*" -o -name "*.pm" | xargs file -i | grep charset= | grep -v '\(us-ascii\|utf-8\)' recode() { - iconv -f "$2" -t utf-8 < "$1" > "${1}_" + iconv -f "${2:-iso-8859-1}" -t utf-8 < "$1" > "${1}_" touch -r "$1" "${1}_" mv -f "${1}_" "$1" } recode README.cn euc-cn recode README.jp euc-jp recode README.ko euc-kr -recode README.tw big5 -recode pod/perlebcdic.pod iso-8859-1 -recode pod/perlhack.pod iso-8859-1 -recode pod/perlhist.pod iso-8859-1 -#recode pod/perlothrtut.pod iso-8859-1 -recode pod/perlthrtut.pod iso-8859-1 -#recode lib/Unicode/Collate.pm iso-8859-1 -for i in Changes*; do - recode $i iso-8859-1 -done -recode AUTHORS iso-8859-1 - +# TODO iconv fail on this one +##recode README.tw big5 +recode pod/perlebcdic.pod +recode pod/perlhack.pod +recode pod/perlhist.pod +recode pod/perlthrtut.pod +recode AUTHORS find . -name \*.orig -exec rm -fv {} \; +# Configure Compress::Zlib to use system zlib +sed -i 's|BUILD_ZLIB = True|BUILD_ZLIB = False| + s|INCLUDE = ./zlib-src|INCLUDE = %{_includedir}| + s|LIB = ./zlib-src|LIB = %{_libdir}|' \ + cpan/Compress-Raw-Zlib/config.in -# Filter the automatically generated dependencies. -%{?filter_setup: -%filter_from_requires /^perl(FCGI)/d -%filter_from_requires /^perl(Mac::/d -%filter_from_requires /^perl(Tk)/d -%filter_from_requires /^perl(Tk::/d -%filter_from_requires /^perl(Your::Module::Here)/d -%?perl_default_filter -} +# Ensure that we never accidentally bundle zlib or bzip2 +rm -rf cpan/Compress-Raw-Zlib/zlib-src +rm -rf cpan/Compress-Raw-Bzip2/bzip2-src +sed -i '/\(bzip2\|zlib\)-src/d' MANIFEST + +#%if !%{with gdbm} +# Do not install anything requiring NDBM_File if NDBM is not available. +rm -rf 'cpan/Memoize/Memoize/NDBM_File.pm' +sed -i '\|cpan/Memoize/Memoize/NDBM_File.pm|d' MANIFEST +#%endif %build echo "RPM Build arch: %{_arch}" -# use "lib", not %{_lib}, for privlib, sitelib, and vendorlib +# use "lib", not %%{_lib}, for privlib, sitelib, and vendorlib +# To build production version, we would need -DDEBUGGING=-g + +# Perl INC path (perl -V) in search order: +# - /usr/local/share/perl5 -- for CPAN (site lib) +# - /usr/local/lib[64]/perl5 -- for CPAN (site arch) +# - /usr/share/perl5/vendor_perl -- 3rd party (vendor lib) +# - /usr/lib[64]/perl5/vendor_perl -- 3rd party (vendor arch) +# - /usr/share/perl5 -- Fedora (priv lib) +# - /usr/lib[64]/perl5 -- Fedora (arch lib) + +%global privlib %{_prefix}/share/perl5 +%global archlib %{_libdir}/perl5 -/bin/sh Configure -des -Doptimize="$RPM_OPT_FLAGS -DPERL_USE_SAFE_PUTENV" \ +%global perl_vendorlib %{privlib}/vendor_perl +%global perl_vendorarch %{archlib}/vendor_perl + +# For perl-5.14.2-large-repeat-heap-abuse.patch +perl regen.pl -v + +/bin/sh Configure -des -Doptimize="$RPM_OPT_FLAGS" \ + -Dccdlflags="-Wl,--enable-new-dtags" \ + -Dlddlflags="-shared $RPM_OPT_FLAGS $RPM_LD_FLAGS" \ + -DDEBUGGING=-g \ -Dversion=%{perl_version} \ -Dmyhostname=localhost \ -Dperladmin=root@localhost \ @@ -738,13 +1392,12 @@ echo "RPM Build arch: %{_arch}" -Dprefix=%{_prefix} \ -Dvendorprefix=%{_prefix} \ -Dsiteprefix=%{_prefix}/local \ - -Dprivlib="%{_prefix}/lib/perl5/%{perl_version}" \ - -Dsitelib="%{_prefix}/local/lib/perl5/site_perl/%{perl_version}" \ - -Dvendorlib="%{_prefix}/lib/perl5/vendor_perl/%{perl_version}" \ - -Darchlib="%{_libdir}/perl5/%{perl_version}/%{perl_archname}" \ - -Dsitearch="%{_prefix}/local/%{_lib}/perl5/site_perl/%{perl_version}/%{perl_archname}" \ - -Dvendorarch="%{_libdir}/perl5/vendor_perl/%{perl_version}/%{perl_archname}" \ - -Dinc_version_list=none \ + -Dsitelib="%{_prefix}/local/share/perl5" \ + -Dsitearch="%{_prefix}/local/%{_lib}/perl5" \ + -Dprivlib="%{privlib}" \ + -Dvendorlib="%{perl_vendorlib}" \ + -Darchlib="%{archlib}" \ + -Dvendorarch="%{perl_vendorarch}" \ -Darchname=%{perl_archname} \ %ifarch %{multilib_64_archs} -Dlibpth="/usr/local/lib /lib %{_prefix}/lib" \ @@ -758,8 +1411,10 @@ echo "RPM Build arch: %{_arch}" -Duselargefiles \ -Dd_semctl_semun \ -Di_db \ +%if %{with gdbm} -Ui_ndbm \ -Di_gdbm \ +%endif -Di_shadow \ -Di_syslog \ -Dman3ext=3pm \ @@ -772,16 +1427,19 @@ echo "RPM Build arch: %{_arch}" -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto \ -Ud_endservent_r_proto -Ud_setservent_r_proto \ -Dscriptdir='%{_bindir}' \ -%ifarch x86_64 ppc64 sparc64 - -Dotherlibdirs=/usr/local/lib/perl5/site_perl:/usr/local/%{_lib}/perl5/site_perl \ -%else - -Dotherlibdirs=/usr/local/lib/perl5/site_perl -%endif + -Dusesitecustomize -## delete this option, in 5.12.1 this will not be supported -# -Dd_dosuid \ -make %{?_smp_mflags} +# -Duseshrplib creates libperl.so, -Ubincompat5005 help create DSO -> libperl.so +BUILD_BZIP2=0 +BZIP2_LIB=%{_libdir} +export BUILD_BZIP2 BZIP2_LIB + +%ifarch sparc64 %{arm} +make +%else +make %{?_smp_mflags} +%endif %install ORIG=$PWD @@ -789,67 +1447,86 @@ ORIG=$PWD rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT -%define new_perl_lib $RPM_BUILD_ROOT%{_libdir}/perl5/%{version} -%define comp_perl_lib $RPM_BUILD_ROOT%{_prefix}/lib/perl5/%{version} -%define new_arch_lib $RPM_BUILD_ROOT%{_libdir}/perl5/%{version}/%{perl_archname} -%define new_vendor_lib $RPM_BUILD_ROOT%{_libdir}/perl5/vendor_perl/%{version} -%define comp_vendor_lib $RPM_BUILD_ROOT%{_prefix}/lib/perl5/vendor_perl/%{version} -%define new_perl_flags LD_PRELOAD=%{new_arch_lib}/CORE/libperl.so LD_LIBRARY_PATH=%{new_arch_lib}/CORE PERL5LIB=%{new_perl_lib}:%{comp_perl_lib} -%define new_perl %{new_perl_flags} $RPM_BUILD_ROOT%{_bindir}/perl - -# perl doesn't create this directory, but modules put things in it, so we need to own it. -mkdir -p -m 755 %{new_vendor_lib}/%{perl_archname}/auto - +%global build_archlib $RPM_BUILD_ROOT%{archlib} +%global build_privlib $RPM_BUILD_ROOT%{privlib} +%global build_bindir $RPM_BUILD_ROOT%{_bindir} +%global new_perl LD_PRELOAD="%{build_archlib}/CORE/libperl.so" \\\ + LD_LIBRARY_PATH="%{build_archlib}/CORE" \\\ + PERL5LIB="%{build_archlib}:%{build_privlib}" \\\ + %{build_bindir}/perl -install -p -m 755 utils/pl2pm ${RPM_BUILD_ROOT}%{_bindir}/pl2pm +install -p -m 755 utils/pl2pm %{build_bindir}/pl2pm -for i in asm/termios.h syscall.h syslimits.h syslog.h sys/ioctl.h sys/socket.h sys/time.h wait.h +for i in asm/termios.h syscall.h syslimits.h syslog.h \ + sys/ioctl.h sys/socket.h sys/time.h wait.h do - %{new_perl} $RPM_BUILD_ROOT%{_bindir}/h2ph -a -d %{new_arch_lib} $i || /bin/true + %{new_perl} %{build_bindir}/h2ph -a -d %{build_archlib} $i || true done +# vendor directories (in this case for third party rpms) +# perl doesn't create the auto subdirectory, but modules put things in it, +# so we need to own it. + +mkdir -p $RPM_BUILD_ROOT%{perl_vendorarch}/auto +mkdir -p $RPM_BUILD_ROOT%{perl_vendorlib} + # # libnet configuration file # -mkdir -p -m 755 %{comp_perl_lib}/Net -install -p -m 644 %{SOURCE12} %{comp_perl_lib}/Net/libnet.cfg +install -p -m 644 %{SOURCE2} %{build_privlib}/Net/libnet.cfg # # perl RPM macros # mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/rpm -install -p -m 644 %{SOURCE10} ${RPM_BUILD_ROOT}%{_sysconfdir}/rpm/ +install -p -m 644 %{SOURCE3} ${RPM_BUILD_ROOT}%{_sysconfdir}/rpm/ # # Core modules removal # -find $RPM_BUILD_ROOT -name '*NDBM*' | xargs rm -rfv - find $RPM_BUILD_ROOT -type f -name '*.bs' -empty | xargs rm -f -# miniperl? As an interpreter? How odd. -sed -i 's|./miniperl|%{_bindir}/perl|' %{comp_perl_lib}/ExtUtils/xsubpp -chmod +x %{comp_perl_lib}/ExtUtils/xsubpp +chmod -R u+w $RPM_BUILD_ROOT/* + +# miniperl? As an interpreter? How odd. Anyway, a symlink does it: +rm %{build_privlib}/ExtUtils/xsubpp +ln -s ../../../bin/xsubpp %{build_privlib}/ExtUtils/ # Don't need the .packlist -rm -f %{new_arch_lib}/.packlist +rm %{build_archlib}/.packlist # Fix some manpages to be UTF-8 -install -d $RPM_BUILD_ROOT%{_mandir}/man1/ +mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1/ pushd $RPM_BUILD_ROOT%{_mandir}/man1/ for i in perl588delta.1 perldelta.1 ; do - [ -e "$i" ] && ( iconv -f MS-ANSI -t UTF-8 $i --output new-$i - rm -rf $i + rm $i mv new-$i $i - ) || : done popd -chmod -R u+w $RPM_BUILD_ROOT/* +# Local patch tracking +pushd %{build_archlib}/CORE/ +%{new_perl} -x patchlevel.h \ + 'Fedora Patch1: Removes date check, Fedora/RHEL specific' \ +%ifarch %{multilib_64_archs} \ + 'Fedora Patch3: support for libdir64' \ +%endif \ + 'Fedora Patch4: use libresolv instead of libbind' \ + 'Fedora Patch5: USE_MM_LD_RUN_PATH' \ + 'Fedora Patch6: Skip hostname tests, due to builders not being network capable' \ + 'Fedora Patch7: Dont run one io test due to random builder failures' \ + 'Fedora Patch9: Fix find2perl to translate ? glob properly (RT#113054)' \ + 'Fedora Patch10: Fix broken atof (RT#109318)' \ + %{nil} + +rm patchlevel.bak +popd -# Compress Changes* to save space -%{__gzip} Changes* +# for now, remove Bzip2: +# Why? Now is missing Bzip2 files and provides +##find $RPM_BUILD_ROOT -name Bzip2 | xargs rm -r +##find $RPM_BUILD_ROOT -name '*B*zip2*'| xargs rm # Local patch tracking cd $RPM_BUILD_ROOT%{_libdir}/perl5/%{perl_version}/%{perl_archname}/CORE/ @@ -864,12 +1541,57 @@ cd $RPM_BUILD_ROOT%{_libdir}/perl5/%{perl_version}/%{perl_archname}/CORE/ cd $ORIG rm -rf $RPM_BUILD_ROOT/*.0 -%clean -rm -rf $RPM_BUILD_ROOT +# tests -- FIXME need to validate that this all works as expected +mkdir -p %{buildroot}%{perl5_testdir}/perl-tests + +# "core" +tar -cf - t/ | ( cd %{buildroot}%{perl5_testdir}/perl-tests && tar -xf - ) + +# "dual-lifed" +for dir in `find ext/ -type d -name t -maxdepth 2` ; do + + tar -cf - $dir | ( cd %{buildroot}%{perl5_testdir}/perl-tests/t && tar -xf - ) +done + +# Selected "Dual-lifed cpan" packages +pushd cpan +for package in Test-Simple; do + for dir in `find ${package} -type d -name t -maxdepth 2` ; do + tar -cf - $dir | ( cd %{buildroot}%{perl5_testdir} && tar -xf - ) + done +done +popd + +# Systemtap tapset install +mkdir -p %{buildroot}%{tapsetdir} +%ifarch %{multilib_64_archs} +%global libperl_stp libperl%{perl_version}-64.stp +%else +%global libperl_stp libperl%{perl_version}-32.stp +%endif + +sed \ + -e "s|LIBRARY_PATH|%{archlib}/CORE/libperl.so|" \ + %{SOURCE4} \ + > %{buildroot}%{tapsetdir}/%{libperl_stp} + +# TODO: Canonicalize test files (rewrite intrerpreter path, fix permissions) +# XXX: We cannot rewrite ./perl before %%check phase. Otherwise the test +# would run against system perl at build-time. +# See __spec_check_pre global macro in macros.perl. +#T_FILES=`find %%{buildroot}%%{perl5_testdir} -type f -name '*.t'` +#%%fix_shbang_line $T_FILES +#%%{__chmod} +x $T_FILES +#%%{_fixperms} %%{buildroot}%%{perl5_testdir} %check -%ifnarch sparc64 -#make test +%if %{with test} +%if %{parallel_tests} +# JOBS=$(printf '%%s' "%{?_smp_mflags}" | sed 's/.*-j\([0-9][0-9]*\).*/\1/') +# LC_ALL=C TEST_JOBS=$JOBS make test_harness +%else + LC_ALL=C make test +%endif %endif %post libs -p /sbin/ldconfig @@ -877,595 +1599,997 @@ rm -rf $RPM_BUILD_ROOT %postun libs -p /sbin/ldconfig %files -%defattr(-,root,root,-) -%doc Artistic AUTHORS Copying README -%doc %{_mandir}/man1/*.1* -%doc %{_mandir}/man3/*.3* +%doc Artistic AUTHORS Copying README Changes +%{_mandir}/man1/*.1* +%{_mandir}/man3/*.3* %{_bindir}/* -%{_libdir}/perl5/ -%ifarch %{multilib_64_archs} -%{_prefix}/lib/perl5/ -%endif +%{privlib} +%{archlib} +%{perl_vendorlib} + # libs -%exclude %{_libdir}/perl5/%{perl_version}/%{perl_archname}/CORE/libperl.so +%exclude %{archlib}/CORE/libperl.so +%exclude %{perl_vendorarch} # devel %exclude %{_bindir}/enc2xs %exclude %{_mandir}/man1/enc2xs* -%exclude %{_prefix}/lib/perl5/%{perl_version}/Encode/ +%exclude %{privlib}/Encode/ %exclude %{_bindir}/h2xs %exclude %{_mandir}/man1/h2xs* %exclude %{_bindir}/libnetcfg %exclude %{_mandir}/man1/libnetcfg* %exclude %{_bindir}/perlivp %exclude %{_mandir}/man1/perlivp* -%exclude %{_libdir}/perl5/%{perl_version}/%{perl_archname}/CORE/*.h -%exclude %{_bindir}/xsubpp -%exclude %{_mandir}/man1/xsubpp* +%exclude %{archlib}/CORE/*.h +%exclude %{_mandir}/man1/perlxs* # Archive-Extract -%exclude %{_prefix}/lib/perl5/%{perl_version}/Archive/Extract.pm +%exclude %{privlib}/Archive/Extract.pm %exclude %{_mandir}/man3/Archive::Extract.3* # Archive-Tar %exclude %{_bindir}/ptar %exclude %{_bindir}/ptardiff -%exclude %{_prefix}/lib/perl5/%{perl_version}/Archive/Tar/ -%exclude %{_prefix}/lib/perl5/%{perl_version}/Archive/Tar.pm +%exclude %{_bindir}/ptargrep +%exclude %{privlib}/Archive/Tar/ +%exclude %{privlib}/Archive/Tar.pm %exclude %{_mandir}/man1/ptar.1* %exclude %{_mandir}/man1/ptardiff.1* +%exclude %{_mandir}/man1/ptargrep.1* %exclude %{_mandir}/man3/Archive::Tar* +# Carp +#%exclude %{privlib}/Carp +#%exclude %{privlib}/Carp.* +#%exclude %{_mandir}/man3/Carp.* + +# CGI +%exclude %{privlib}/CGI/ +%exclude %{privlib}/CGI.pm +%exclude %{_mandir}/man3/CGI.3* +%exclude %{_mandir}/man3/CGI::*.3* + # CPAN %exclude %{_bindir}/cpan -%exclude %{_prefix}/lib/perl5/%{perl_version}/CPAN/ -%exclude %{_prefix}/lib/perl5/%{perl_version}/CPAN.pm +%exclude %{privlib}/CPAN/ +%exclude %{privlib}/CPAN.pm %exclude %{_mandir}/man1/cpan.1* %exclude %{_mandir}/man3/CPAN.* %exclude %{_mandir}/man3/CPAN:* +# CPAN-Meta +#%exclude %{privlib}/CPAN/Meta.pm +#%exclude %{privlib}/CPAN/Meta/Converter.pm +#%exclude %{privlib}/CPAN/Meta/Feature.pm +#%exclude %{privlib}/CPAN/Meta/History.pm +#%exclude %{privlib}/CPAN/Meta/Prereqs.pm +#%exclude %{privlib}/CPAN/Meta/Spec.pm +#%exclude %{privlib}/CPAN/Meta/Validator.pm +#%exclude %{_mandir}/man3/CPAN::Meta* + +# CPAN-Meta-YAML +%exclude %{privlib}/CPAN/Meta/YAML.pm +%exclude %{_mandir}/man3/CPAN::Meta::YAML* + +# Parse-CPAN-Meta +%exclude %dir %{privlib}/Parse/ +%exclude %dir %{privlib}/Parse/CPAN/ +%exclude %{privlib}/Parse/CPAN/Meta.pm +%exclude %{_mandir}/man3/Parse::CPAN::Meta.3* + # CPANPLUS %exclude %{_bindir}/cpan2dist %exclude %{_bindir}/cpanp %exclude %{_bindir}/cpanp-run-perl -%exclude %{_prefix}/lib/perl5/%{perl_version}/CPANPLUS/ -%exclude %{_prefix}/lib/perl5/%{perl_version}/CPANPLUS.pm +%exclude %{privlib}/CPANPLUS/ +%exclude %{privlib}/CPANPLUS.pm %exclude %{_mandir}/man1/cpan2dist.1* %exclude %{_mandir}/man1/cpanp.1* %exclude %{_mandir}/man3/CPANPLUS* +# Compress-Raw-Bzip2 +%exclude %dir %{archlib}/Compress +%exclude %{archlib}/Compress/Raw/Bzip2.pm +%exclude %{_mandir}/man3/Compress::Raw::Bzip2* + # Compress::Raw::Zlib -%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/Compress -%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/Compress/Raw/ -%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/auto/Compress -%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/auto/Compress/Raw/ +%exclude %{archlib}/Compress/Raw/ +%exclude %{archlib}/auto/Compress +%exclude %{archlib}/auto/Compress/Raw/ +%exclude %{archlib}/auto/Compress/Raw/Zlib/ %exclude %{_mandir}/man3/Compress::Raw::Zlib* -# Compress::Zlib -%exclude %{_libdir}/perl5/%{version}/Compress/Zlib.pm -%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/auto/Compress/Zlib/ -%exclude %{_mandir}/man3/Compress::Zlib* +# Data::Dumper +#%exclude %dir %{archlib}/auto/Data +#%exclude %dir %{archlib}/auto/Data/Dumper +#%exclude %{archlib}/auto/Data/Dumper/Dumper.so +#%exclude %dir %{archlib}/Data +#%exclude %{archlib}/Data/Dumper.pm +#%exclude %{_mandir}/man3/Data::Dumper.3* + +# Digest +%exclude %{privlib}/Digest.pm +%exclude %dir %{privlib}/Digest +%exclude %{privlib}/Digest/base.pm +%exclude %{privlib}/Digest/file.pm +%exclude %{_mandir}/man3/Digest.3* +%exclude %{_mandir}/man3/Digest::base.3* +%exclude %{_mandir}/man3/Digest::file.3* + +# Digest::MD5 +#%exclude %{archlib}/Digest/MD5.pm +#%exclude %{archlib}/auto/Digest/MD5/ +#%exclude %{_mandir}/man3/Digest::MD5.3* # Digest::SHA %exclude %{_bindir}/shasum -%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/Digest/SHA.pm -%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/auto/Digest/SHA/ +%exclude %{archlib}/Digest/SHA.pm +%exclude %{archlib}/auto/Digest/SHA/ %exclude %{_mandir}/man1/shasum.1* %exclude %{_mandir}/man3/Digest::SHA.3* # ExtUtils::CBuilder -%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/CBuilder/ -%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/CBuilder.pm +%exclude %{privlib}/ExtUtils/CBuilder/ +%exclude %{privlib}/ExtUtils/CBuilder.pm %exclude %{_mandir}/man3/ExtUtils::CBuilder* # ExtUtils::Embed -%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Embed.pm +%exclude %{privlib}/ExtUtils/Embed.pm %exclude %{_mandir}/man3/ExtUtils::Embed* +# ExtUtils::Install +%exclude %{privlib}/ExtUtils/Install.pm +%exclude %{privlib}/ExtUtils/Installed.pm +%exclude %{privlib}/ExtUtils/Packlist.pm +%exclude %{_mandir}/man3/ExtUtils::Install.3* +%exclude %{_mandir}/man3/ExtUtils::Installed.3* +%exclude %{_mandir}/man3/ExtUtils::Packlist.3* + +# ExtUtils::Manifest +%exclude %{privlib}/ExtUtils/Manifest.pm +%exclude %{privlib}/ExtUtils/MANIFEST.SKIP +%exclude %{_mandir}/man3/ExtUtils::Manifest.3* + # ExtUtils::MakeMaker %exclude %{_bindir}/instmodsh -%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Command/ -%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Install.pm -%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Installed.pm -%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Liblist/ -%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Liblist.pm -%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MakeMaker/ -%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MakeMaker.pm -%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MANIFEST.SKIP -%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MM*.pm -%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MY.pm -%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Manifest.pm -%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Mkbootstrap.pm -%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Mksymlists.pm -%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Packlist.pm -%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/testlib.pm +%exclude %{privlib}/ExtUtils/Command/ +%exclude %{privlib}/ExtUtils/Liblist/ +%exclude %{privlib}/ExtUtils/Liblist.pm +%exclude %{privlib}/ExtUtils/MakeMaker/ +%exclude %{privlib}/ExtUtils/MakeMaker.pm +%exclude %{privlib}/ExtUtils/MM*.pm +%exclude %{privlib}/ExtUtils/MY.pm +%exclude %{privlib}/ExtUtils/Mkbootstrap.pm +%exclude %{privlib}/ExtUtils/Mksymlists.pm +%exclude %{privlib}/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* # ExtUtils::ParseXS -%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/ParseXS.pm -%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/xsubpp +%exclude %dir %{privlib}/ExtUtils/ParseXS/ +%exclude %dir %{privlib}/ExtUtils/Typemaps/ +%exclude %{privlib}/ExtUtils/ParseXS.pm +%exclude %{privlib}/ExtUtils/ParseXS.pod +%exclude %{privlib}/ExtUtils/ParseXS/Constants.pm +%exclude %{privlib}/ExtUtils/ParseXS/CountLines.pm +%exclude %{privlib}/ExtUtils/ParseXS/Utilities.pm +%exclude %{privlib}/ExtUtils/Typemaps.pm +%exclude %{privlib}/ExtUtils/Typemaps/Cmd.pm +%exclude %{privlib}/ExtUtils/Typemaps/InputMap.pm +%exclude %{privlib}/ExtUtils/Typemaps/OutputMap.pm +%exclude %{privlib}/ExtUtils/Typemaps/Type.pm +%exclude %{privlib}/ExtUtils/xsubpp +%exclude %{_bindir}/xsubpp +%exclude %{_mandir}/man1/xsubpp* %exclude %{_mandir}/man3/ExtUtils::ParseXS.3* +%exclude %{_mandir}/man3/ExtUtils::ParseXS::Constants.3* +%exclude %{_mandir}/man3/ExtUtils::ParseXS::Utilities.3* +%exclude %{_mandir}/man3/ExtUtils::Typemaps.3* +%exclude %{_mandir}/man3/ExtUtils::Typemaps::Cmd.3* +%exclude %{_mandir}/man3/ExtUtils::Typemaps::InputMap.3* +%exclude %{_mandir}/man3/ExtUtils::Typemaps::OutputMap.3* +%exclude %{_mandir}/man3/ExtUtils::Typemaps::Type.3* # File::Fetch -%exclude %{_prefix}/lib/perl5/%{perl_version}/File/Fetch.pm +%exclude %{privlib}/File/Fetch.pm %exclude %{_mandir}/man3/File::Fetch.3* +# Filter +%exclude %{archlib}/auto/Filter/Util +%exclude %{archlib}/Filter/Util +%exclude %{privlib}/pod/perlfilter.pod +%exclude %{_mandir}/man1/perlfilter.* +%exclude %{_mandir}/man3/Filter::Util::* + +# IO::Compress +#%exclude %{_bindir}/zipdetails +#%exclude %{privlib}/IO/Compress/FAQ.pod +#%exclude %{_mandir}/man1/zipdetails.* +#%exclude %{_mandir}/man3/IO::Compress::FAQ.* +# Compress::Zlib +#%exclude %{privlib}/Compress/Zlib.pm +#%exclude %{_mandir}/man3/Compress::Zlib* # IO::Compress::Base -%exclude %{_libdir}/perl5/%{version}/File/GlobMapper.pm -%exclude %{_libdir}/perl5/%{version}/IO/Compress/Base/ -%exclude %{_libdir}/perl5/%{version}/IO/Compress/Base.pm -%exclude %{_libdir}/perl5/%{version}/IO/Uncompress/AnyUncompress.pm -%exclude %{_libdir}/perl5/%{version}/IO/Uncompress/Base.pm -%exclude %{_mandir}/man3/File::GlobMapper.* -%exclude %{_mandir}/man3/IO::Compress::Base.* -%exclude %{_mandir}/man3/IO::Uncompress::AnyUncompress.* -%exclude %{_mandir}/man3/IO::Uncompress::Base.* - -%exclude %{_libdir}/perl5/%{version}/IO/Compress/Adapter/ -%exclude %{_libdir}/perl5/%{version}/IO/Compress/Deflate.pm -%exclude %{_libdir}/perl5/%{version}/IO/Compress/Gzip/ -%exclude %{_libdir}/perl5/%{version}/IO/Compress/Gzip.pm -%exclude %{_libdir}/perl5/%{version}/IO/Compress/RawDeflate.pm -%exclude %{_libdir}/perl5/%{version}/IO/Compress/Zip/ -%exclude %{_libdir}/perl5/%{version}/IO/Compress/Zip.pm -%exclude %{_libdir}/perl5/%{version}/IO/Compress/Zlib/ -%exclude %{_libdir}/perl5/%{version}/IO/Uncompress/Adapter/ -%exclude %{_libdir}/perl5/%{version}/IO/Uncompress/AnyInflate.pm -%exclude %{_libdir}/perl5/%{version}/IO/Uncompress/Gunzip.pm -%exclude %{_libdir}/perl5/%{version}/IO/Uncompress/Inflate.pm -%exclude %{_libdir}/perl5/%{version}/IO/Uncompress/RawInflate.pm -%exclude %{_libdir}/perl5/%{version}/IO/Uncompress/Unzip.pm -%exclude %{_mandir}/man3/IO::Compress::Deflate* -%exclude %{_mandir}/man3/IO::Compress::Gzip* -%exclude %{_mandir}/man3/IO::Compress::RawDeflate* -%exclude %{_mandir}/man3/IO::Compress::Zip* -%exclude %{_mandir}/man3/IO::Uncompress::AnyInflate* -%exclude %{_mandir}/man3/IO::Uncompress::Gunzip* -%exclude %{_mandir}/man3/IO::Uncompress::Inflate* -%exclude %{_mandir}/man3/IO::Uncompress::RawInflate* -%exclude %{_mandir}/man3/IO::Uncompress::Unzip* +#%exclude %{privlib}/File/GlobMapper.pm +#%exclude %{privlib}/IO/Compress/Base/ +#%exclude %{privlib}/IO/Compress/Base.pm +#%exclude %{privlib}/IO/Uncompress/AnyUncompress.pm +#%exclude %{privlib}/IO/Uncompress/Base.pm +#%exclude %{_mandir}/man3/File::GlobMapper.* +#%exclude %{_mandir}/man3/IO::Compress::Base.* +#%exclude %{_mandir}/man3/IO::Uncompress::AnyUncompress.* +#%exclude %{_mandir}/man3/IO::Uncompress::Base.* +# IO::Compress::Zlib +#%exclude %{privlib}/IO/Compress/Adapter/ +#%exclude %{privlib}/IO/Compress/Deflate.pm +#%exclude %{privlib}/IO/Compress/Gzip/ +#%exclude %{privlib}/IO/Compress/Gzip.pm +#%exclude %{privlib}/IO/Compress/RawDeflate.pm +#%exclude %{privlib}/IO/Compress/Bzip2.pm +#%exclude %{privlib}/IO/Compress/Zip/ +#%exclude %{privlib}/IO/Compress/Zip.pm +#%exclude %{privlib}/IO/Compress/Zlib/ +#%exclude %{privlib}/IO/Uncompress/Adapter/ +#%exclude %{privlib}/IO/Uncompress/AnyInflate.pm +#%exclude %{privlib}/IO/Uncompress/Bunzip2.pm +#%exclude %{privlib}/IO/Uncompress/Gunzip.pm +#%exclude %{privlib}/IO/Uncompress/Inflate.pm +#%exclude %{privlib}/IO/Uncompress/RawInflate.pm +#%exclude %{privlib}/IO/Uncompress/Unzip.pm +#%exclude %{_mandir}/man3/IO::Compress::Deflate* +#%exclude %{_mandir}/man3/IO::Compress::Bzip2* +#%exclude %{_mandir}/man3/IO::Compress::Gzip* +#%exclude %{_mandir}/man3/IO::Compress::RawDeflate* +#%exclude %{_mandir}/man3/IO::Compress::Zip* +#%exclude %{_mandir}/man3/IO::Uncompress::AnyInflate* +#%exclude %{_mandir}/man3/IO::Uncompress::Bunzip2* +#%exclude %{_mandir}/man3/IO::Uncompress::Gunzip* +#%exclude %{_mandir}/man3/IO::Uncompress::Inflate* +#%exclude %{_mandir}/man3/IO::Uncompress::RawInflate* +#%exclude %{_mandir}/man3/IO::Uncompress::Unzip* # IO::Zlib -%exclude %{_prefix}/lib/perl5/%{perl_version}/IO/Zlib.pm +%exclude %{privlib}/IO/Zlib.pm %exclude %{_mandir}/man3/IO::Zlib.* +# HTTP::Tiny +%exclude %{privlib}/HTTP/Tiny.pm +%exclude %{_mandir}/man3/HTTP::Tiny* + # IPC::Cmd -%exclude %{_prefix}/lib/perl5/%{perl_version}/IPC/Cmd.pm +%exclude %{privlib}/IPC/Cmd.pm %exclude %{_mandir}/man3/IPC::Cmd.3* +# JSON::PP +%exclude %{_bindir}/json_pp +%exclude %{privlib}/JSON/PP +%exclude %{privlib}/JSON/PP.pm +%exclude %{_mandir}/man1/json_pp.1* +%exclude %{_mandir}/man3/JSON::PP.3* +%exclude %{_mandir}/man3/JSON::PP::Boolean.3pm* + +# Locale::Codes +%exclude %{privlib}/Locale/Codes +%exclude %{privlib}/Locale/Codes.* +%exclude %{privlib}/Locale/Country.* +%exclude %{privlib}/Locale/Currency.* +%exclude %{privlib}/Locale/Language.* +%exclude %{privlib}/Locale/Script.* +%exclude %{_mandir}/man3/Locale::Codes::* +%exclude %{_mandir}/man3/Locale::Codes.* +%exclude %{_mandir}/man3/Locale::Country.* +%exclude %{_mandir}/man3/Locale::Currency.* +%exclude %{_mandir}/man3/Locale::Language.* +%exclude %{_mandir}/man3/Locale::Script.* + # Locale::Maketext::Simple -%exclude %{_prefix}/lib/perl5/%{perl_version}/Locale/Maketext/Simple.pm +%exclude %{privlib}/Locale/Maketext/Simple.pm %exclude %{_mandir}/man3/Locale::Maketext::Simple.* # Log::Message -%exclude %{_prefix}/lib/perl5/%{perl_version}/Log/Message.pm -%exclude %{_prefix}/lib/perl5/%{perl_version}/Log/Message/Config.pm -%exclude %{_prefix}/lib/perl5/%{perl_version}/Log/Message/Handlers.pm -%exclude %{_prefix}/lib/perl5/%{perl_version}/Log/Message/Item.pm +%exclude %{privlib}/Log/Message.pm +%exclude %{privlib}/Log/Message/Config.pm +%exclude %{privlib}/Log/Message/Handlers.pm +%exclude %{privlib}/Log/Message/Item.pm %exclude %{_mandir}/man3/Log::Message.3* %exclude %{_mandir}/man3/Log::Message::Config.3* %exclude %{_mandir}/man3/Log::Message::Handlers.3* %exclude %{_mandir}/man3/Log::Message::Item.3* # Log::Message::Simple -%exclude %{_prefix}/lib/perl5/%{perl_version}/Log/Message/Simple.pm +%exclude %{privlib}/Log/Message/Simple.pm %exclude %{_mandir}/man3/Log::Message::Simple.3* # Module::Build %exclude %{_bindir}/config_data -%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/Build/ -%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/Build.pm +%exclude %{privlib}/inc/ +%exclude %{privlib}/Module/Build/ +%exclude %{privlib}/Module/Build.pm %exclude %{_mandir}/man1/config_data.1* %exclude %{_mandir}/man3/Module::Build* +%exclude %{_mandir}/man3/inc::latest.3* # Module-CoreList %exclude %{_bindir}/corelist -%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/CoreList.pm +%exclude %{privlib}/Module/CoreList.pm %exclude %{_mandir}/man1/corelist* %exclude %{_mandir}/man3/Module::CoreList* # Module-Load -%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/Load.pm +%exclude %{privlib}/Module/Load.pm %exclude %{_mandir}/man3/Module::Load.* # Module-Load-Conditional -%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/Load/ +%exclude %{privlib}/Module/Load/ %exclude %{_mandir}/man3/Module::Load::Conditional* # Module-Loaded -%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/Loaded.pm +%exclude %{privlib}/Module/Loaded.pm %exclude %{_mandir}/man3/Module::Loaded* +# Module-Metadata +%exclude %{privlib}/Module/Metadata.pm +%exclude %{_mandir}/man3/Module::Metadata.3pm* + # Module-Pluggable -%exclude %{_prefix}/lib/perl5/%{perl_version}/Devel/InnerPackage.pm -%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/Pluggable/ -%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/Pluggable.pm +%exclude %{privlib}/Devel/InnerPackage.pm +%exclude %{privlib}/Module/Pluggable/ +%exclude %{privlib}/Module/Pluggable.pm %exclude %{_mandir}/man3/Devel::InnerPackage* %exclude %{_mandir}/man3/Module::Pluggable* # Object-Accessor -%exclude %{_prefix}/lib/perl5/%{perl_version}/Object/ +%exclude %{privlib}/Object/ %exclude %{_mandir}/man3/Object::Accessor* # Package-Constants -%exclude %{_prefix}/lib/perl5/%{perl_version}/Package/ +%exclude %{privlib}/Package/ %exclude %{_mandir}/man3/Package::Constants* +# PathTools +#%exclude %{archlib}/Cwd.pm +#%exclude %{archlib}/File/Spec* +#%exclude %{archlib}/auto/Cwd/ +#%exclude %{_mandir}/man3/Cwd* +#%exclude %{_mandir}/man3/File::Spec* + # Params-Check -%exclude %{_prefix}/lib/perl5/%{perl_version}/Params/ +%exclude %{privlib}/Params/ %exclude %{_mandir}/man3/Params::Check* +# Perl-OSType +%exclude %{privlib}/Perl/OSType.pm +%exclude %{_mandir}/man3/Perl::OSType.3pm* + +# parent +%exclude %{privlib}/parent.pm +%exclude %{_mandir}/man3/parent.3* + # Pod-Escapes -%exclude %{_prefix}/lib/perl5/%{perl_version}/Pod/Escapes.pm +%exclude %{privlib}/Pod/Escapes.pm %exclude %{_mandir}/man3/Pod::Escapes.* +# Pod-Parser +%exclude %{_bindir}/pod2usage +%exclude %{_bindir}/podchecker +%exclude %{_bindir}/podselect +%exclude %{privlib}/Pod/Checker.pm +%exclude %{privlib}/Pod/Find.pm +%exclude %{privlib}/Pod/InputObjects.pm +%exclude %{privlib}/Pod/ParseUtils.pm +%exclude %{privlib}/Pod/Parser.pm +%exclude %{privlib}/Pod/PlainText.pm +%exclude %{privlib}/Pod/Select.pm +%exclude %{privlib}/Pod/Usage.pm +%exclude %{_mandir}/man1/pod2usage.1* +%exclude %{_mandir}/man1/podchecker.1* +%exclude %{_mandir}/man1/podselect.1* +%exclude %{_mandir}/man3/Pod::Checker.* +%exclude %{_mandir}/man3/Pod::Find.* +%exclude %{_mandir}/man3/Pod::InputObjects.* +%exclude %{_mandir}/man3/Pod::ParseUtils.* +%exclude %{_mandir}/man3/Pod::Parser.* +%exclude %{_mandir}/man3/Pod::PlainText.* +%exclude %{_mandir}/man3/Pod::Select.* +%exclude %{_mandir}/man3/Pod::Usage.* + +# Pod-Perldoc +%exclude %{_bindir}/perldoc +%exclude %{privlib}/pod/perldoc.pod +%exclude %{privlib}/Pod/Perldoc.pm +%exclude %{privlib}/Pod/Perldoc/ +%exclude %{_mandir}/man1/perldoc.1* +%exclude %{_mandir}/man3/Pod::Perldoc* + # Pod-Simple -%exclude %{_prefix}/lib/perl5/%{perl_version}/Pod/Simple/ -%exclude %{_prefix}/lib/perl5/%{perl_version}/Pod/Simple.pm -%exclude %{_prefix}/lib/perl5/%{perl_version}/Pod/Simple.pod +%exclude %{privlib}/Pod/Simple/ +%exclude %{privlib}/Pod/Simple.pm +%exclude %{privlib}/Pod/Simple.pod %exclude %{_mandir}/man3/Pod::Simple* +# Scalar-List-Utils +%exclude %{archlib}/List/ +%exclude %{archlib}/Scalar/ +%exclude %{archlib}/auto/List/ +%exclude %{_mandir}/man3/List::Util* +%exclude %{_mandir}/man3/Scalar::Util* + # Term-UI -%exclude %{_prefix}/lib/perl5/%{perl_version}/Term/UI.pm -%exclude %{_prefix}/lib/perl5/%{perl_version}/Term/UI/ +%exclude %{privlib}/Term/UI.pm +%exclude %{privlib}/Term/UI/ %exclude %{_mandir}/man3/Term::UI* # Test::Harness %exclude %{_bindir}/prove -%exclude %{_prefix}/lib/perl5/%{perl_version}/App* -%exclude %{_prefix}/lib/perl5/%{perl_version}/TAP* -%exclude %{_prefix}/lib/perl5/%{perl_version}/Test/Harness* +%exclude %{privlib}/App* +%exclude %{privlib}/TAP* +%exclude %{privlib}/Test/Harness* %exclude %{_mandir}/man1/prove.1* %exclude %{_mandir}/man3/App* %exclude %{_mandir}/man3/TAP* %exclude %{_mandir}/man3/Test::Harness* # Test::Simple -%exclude %{_prefix}/lib/perl5/%{perl_version}/Test/More* -%exclude %{_prefix}/lib/perl5/%{perl_version}/Test/Builder* -%exclude %{_prefix}/lib/perl5/%{perl_version}/Test/Simple* -%exclude %{_prefix}/lib/perl5/%{perl_version}/Test/Tutorial* +%exclude %{privlib}/Test/More* +%exclude %{privlib}/Test/Builder* +%exclude %{privlib}/Test/Simple* +%exclude %{privlib}/Test/Tutorial* %exclude %{_mandir}/man3/Test::More* %exclude %{_mandir}/man3/Test::Builder* %exclude %{_mandir}/man3/Test::Simple* %exclude %{_mandir}/man3/Test::Tutorial* # Time::Piece -%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/Time/Piece.pm -%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/Time/Seconds.pm -%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/auto/Time/Piece/ +%exclude %{archlib}/Time/Piece.pm +%exclude %{archlib}/Time/Seconds.pm +%exclude %{archlib}/auto/Time/Piece/ %exclude %{_mandir}/man3/Time::Piece.3* %exclude %{_mandir}/man3/Time::Seconds.3* +# Version-Requirements +%exclude %{privlib}/Version/Requirements.pm +%exclude %{_mandir}/man3/Version::Requirements* + +# Socket +%exclude %dir %{archlib}/auto/Socket +%exclude %{archlib}/auto/Socket/Socket.* +%exclude %{archlib}/Socket.pm +%exclude %{_mandir}/man3/Socket.3* + +# threads +%dir %exclude %{archlib}/auto/threads +%exclude %{archlib}/auto/threads/threads* +%exclude %{archlib}/threads.pm +%exclude %{_mandir}/man3/threads.3* + +# threads-shared +%exclude %{archlib}/auto/threads/shared* +%exclude %dir %{archlib}/threads +%exclude %{archlib}/threads/shared* +%exclude %{_mandir}/man3/threads::shared* + # version -%exclude %{_prefix}/lib/perl5/%{perl_version}/version.pm -%exclude %{_prefix}/lib/perl5/%{perl_version}/version.pod -%exclude %{_mandir}/man3/version.* +%exclude %{privlib}/version.pm +%exclude %{privlib}/version.pod +%exclude %{privlib}/version/ +%exclude %{_mandir}/man3/version.3* +%exclude %{_mandir}/man3/version::Internals.3* %files libs %defattr(-,root,root) -%{_libdir}/perl5/%{perl_version}/%{perl_archname}/CORE/libperl.so +%{archlib}/CORE/libperl.so +%dir %{archlib} +%dir %{perl_vendorarch} +%dir %{perl_vendorarch}/auto %files devel -%defattr(-,root,root,-) -%doc Changes* %{_bindir}/enc2xs -%doc %{_mandir}/man1/enc2xs* -%{_prefix}/lib/perl5/%{perl_version}/Encode/ +%{_mandir}/man1/enc2xs* +%{privlib}/Encode/ %{_bindir}/h2xs -%doc %{_mandir}/man1/h2xs* +%{_mandir}/man1/h2xs* %{_bindir}/libnetcfg -%doc %{_mandir}/man1/libnetcfg* +%{_mandir}/man1/libnetcfg* %{_bindir}/perlivp -%doc %{_mandir}/man1/perlivp* -%{_libdir}/perl5/%{perl_version}/%{perl_archname}/CORE/*.h -%{_bindir}/xsubpp -%doc %{_mandir}/man1/xsubpp* +%{_mandir}/man1/perlivp* +%{archlib}/CORE/*.h +%{_mandir}/man1/perlxs* +%{tapsetdir}/%{libperl_stp} +%doc perl-example.stp + +%files macros %attr(0644,root,root) %{_sysconfdir}/rpm/macros.perl +%files tests +%{perl5_testdir}/ +%exclude %{perl5_testdir}/Test-Simple + %files Archive-Extract -%defattr(-,root,root,-) -%{_prefix}/lib/perl5/%{perl_version}/Archive/Extract.pm -%doc %{_mandir}/man3/Archive::Extract.3* +%{privlib}/Archive/Extract.pm +%{_mandir}/man3/Archive::Extract.3* %files Archive-Tar -%defattr(-,root,root,-) %{_bindir}/ptar %{_bindir}/ptardiff -%{_prefix}/lib/perl5/%{perl_version}/Archive/Tar/ -%{_prefix}/lib/perl5/%{perl_version}/Archive/Tar.pm -%doc %{_mandir}/man1/ptar.1* -%doc %{_mandir}/man1/ptardiff.1* -%doc %{_mandir}/man3/Archive::Tar* +%{_bindir}/ptargrep +%{privlib}/Archive/Tar/ +%{privlib}/Archive/Tar.pm +%{_mandir}/man1/ptar.1* +%{_mandir}/man1/ptardiff.1* +%{_mandir}/man1/ptargrep.1* +%{_mandir}/man3/Archive::Tar* + +#%files Carp +#%{privlib}/Carp +#%{privlib}/Carp.* +#%{_mandir}/man3/Carp.* + +%files CGI +%{privlib}/CGI/ +%{privlib}/CGI.pm +%{_mandir}/man3/CGI.3* +%{_mandir}/man3/CGI::*.3* + +%files Compress-Raw-Bzip2 +%dir %{archlib}/Compress +%dir %{archlib}/Compress/Raw +%{archlib}/Compress/Raw/Bzip2.pm +%dir %{archlib}/auto/Compress/ +%dir %{archlib}/auto/Compress/Raw/ +%{archlib}/auto/Compress/Raw/Bzip2/ +%{_mandir}/man3/Compress::Raw::Bzip2* %files Compress-Raw-Zlib -%defattr(-,root,root,-) -%dir %{_libdir}/perl5/%{version}/%{perl_archname}/Compress -%{_libdir}/perl5/%{version}/%{perl_archname}/Compress/Raw/ -%dir %{_libdir}/perl5/%{version}/%{perl_archname}/auto/Compress/ -%{_libdir}/perl5/%{version}/%{perl_archname}/auto/Compress/Raw/ -%doc %{_mandir}/man3/Compress::Raw::Zlib* - -%files Compress-Zlib -%defattr(-,root,root,-) -%{_libdir}/perl5/%{version}/Compress/Zlib.pm -%{_libdir}/perl5/%{version}/%{perl_archname}/auto/Compress/Zlib/ -%doc %{_mandir}/man3/Compress::Zlib* +%dir %{archlib}/Compress +%dir %{archlib}/Compress/Raw +%{archlib}/Compress/Raw/Zlib.pm +%dir %{archlib}/auto/Compress/ +%dir %{archlib}/auto/Compress/Raw/ +%{archlib}/auto/Compress/Raw/Zlib/ +%{_mandir}/man3/Compress::Raw::Zlib* %files CPAN -%defattr(-,root,root,-) %{_bindir}/cpan -%{_prefix}/lib/perl5/%{perl_version}/CPAN/ -%{_prefix}/lib/perl5/%{perl_version}/CPAN.pm -%doc %{_mandir}/man1/cpan.1* -%doc %{_mandir}/man3/CPAN.* -%doc %{_mandir}/man3/CPAN:* +%{privlib}/CPAN/ +%{privlib}/CPAN.pm +%{_mandir}/man1/cpan.1* +%{_mandir}/man3/CPAN.* +%{_mandir}/man3/CPAN:* +%exclude %{privlib}/CPAN/Meta/ +%exclude %{privlib}/CPAN/Meta.pm +%exclude %{_mandir}/man3/CPAN::Meta* + +#%files CPAN-Meta +#%dir %{privlib}/CPAN/Meta +#%{privlib}/CPAN/Meta.pm +#%{privlib}/CPAN/Meta/Converter.pm +#%{privlib}/CPAN/Meta/Feature.pm +#%{privlib}/CPAN/Meta/History.pm +#%{privlib}/CPAN/Meta/Prereqs.pm +#%{privlib}/CPAN/Meta/Spec.pm +#%{privlib}/CPAN/Meta/Validator.pm +#%{_mandir}/man3/CPAN::Meta* +#%exclude %{_mandir}/man3/CPAN::Meta::YAML* + +%files CPAN-Meta-YAML +%{privlib}/CPAN/Meta/YAML.pm +%{_mandir}/man3/CPAN::Meta::YAML* %files CPANPLUS -%defattr(-,root,root,-) %{_bindir}/cpan2dist %{_bindir}/cpanp %{_bindir}/cpanp-run-perl -%{_prefix}/lib/perl5/%{perl_version}/CPANPLUS/ -%{_prefix}/lib/perl5/%{perl_version}/CPANPLUS.pm -%doc %{_mandir}/man1/cpan2dist.1* -%doc %{_mandir}/man1/cpanp.1* -%doc %{_mandir}/man3/CPANPLUS* +%{privlib}/CPANPLUS/ +%{privlib}/CPANPLUS.pm +%{_mandir}/man1/cpan2dist.1* +%{_mandir}/man1/cpanp.1* +%{_mandir}/man3/CPANPLUS* + +#%files Data-Dumper +#%dir %{archlib}/auto/Data +#%dir %{archlib}/auto/Data/Dumper +#%{archlib}/auto/Data/Dumper/Dumper.so +#%dir %{archlib}/Data +#%{archlib}/Data/Dumper.pm +#%{_mandir}/man3/Data::Dumper.3* + +%files Digest +%{privlib}/Digest.pm +%dir %{privlib}/Digest +%{privlib}/Digest/base.pm +%{privlib}/Digest/file.pm +%{_mandir}/man3/Digest.3* +%{_mandir}/man3/Digest::base.3* +%{_mandir}/man3/Digest::file.3* + +#%files Digest-MD5 +#%{archlib}/Digest/MD5.pm +#%{archlib}/auto/Digest/MD5/ +#%{_mandir}/man3/Digest::MD5.3* %files Digest-SHA -%defattr(-,root,root,-) %{_bindir}/shasum -%dir %{_libdir}/perl5/%{version}/%{perl_archname}/Digest/ -%{_libdir}/perl5/%{version}/%{perl_archname}/Digest/SHA.pm -%{_libdir}/perl5/%{version}/%{perl_archname}/auto/Digest/SHA/ -%doc %{_mandir}/man1/shasum.1* -%doc %{_mandir}/man3/Digest::SHA.3* +%dir %{archlib}/Digest/ +%{archlib}/Digest/SHA.pm +%{archlib}/auto/Digest/SHA/ +%{_mandir}/man1/shasum.1* +%{_mandir}/man3/Digest::SHA.3* %files ExtUtils-CBuilder -%defattr(-,root,root,-) -%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/CBuilder/ -%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/CBuilder.pm -%doc %{_mandir}/man3/ExtUtils::CBuilder* +%{privlib}/ExtUtils/CBuilder/ +%{privlib}/ExtUtils/CBuilder.pm +%{_mandir}/man3/ExtUtils::CBuilder* %files ExtUtils-Embed -%defattr(-,root,root,-) -%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Embed.pm -%doc %{_mandir}/man3/ExtUtils::Embed* +%{privlib}/ExtUtils/Embed.pm +%{_mandir}/man3/ExtUtils::Embed* + +%files ExtUtils-Install +%{privlib}/ExtUtils/Install.pm +%{privlib}/ExtUtils/Installed.pm +%{privlib}/ExtUtils/Packlist.pm +%{_mandir}/man3/ExtUtils::Install.3* +%{_mandir}/man3/ExtUtils::Installed.3* +%{_mandir}/man3/ExtUtils::Packlist.3* + +%files ExtUtils-Manifest +%{privlib}/ExtUtils/Manifest.pm +%{privlib}/ExtUtils/MANIFEST.SKIP +%{_mandir}/man3/ExtUtils::Manifest.3* %files ExtUtils-MakeMaker -%defattr(-,root,root,-) %{_bindir}/instmodsh -%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Command/ -%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Install.pm -%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Installed.pm -%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Liblist/ -%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Liblist.pm -%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MakeMaker/ -%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MakeMaker.pm -%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MANIFEST.SKIP -%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MM*.pm -%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MY.pm -%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Manifest.pm -%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Mkbootstrap.pm -%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Mksymlists.pm -%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Packlist.pm -%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/testlib.pm -%doc %{_mandir}/man1/instmodsh.1* -%doc %{_mandir}/man3/ExtUtils::Command::MM* -%doc %{_mandir}/man3/ExtUtils::Install.3* -%doc %{_mandir}/man3/ExtUtils::Installed.3* -%doc %{_mandir}/man3/ExtUtils::Liblist.3* -%doc %{_mandir}/man3/ExtUtils::MM* -%doc %{_mandir}/man3/ExtUtils::MY.3* -%doc %{_mandir}/man3/ExtUtils::MakeMaker* -%doc %{_mandir}/man3/ExtUtils::Manifest.3* -%doc %{_mandir}/man3/ExtUtils::Mkbootstrap.3* -%doc %{_mandir}/man3/ExtUtils::Mksymlists.3* -%doc %{_mandir}/man3/ExtUtils::Packlist.3* -%doc %{_mandir}/man3/ExtUtils::testlib.3* +%{privlib}/ExtUtils/Command/ +%{privlib}/ExtUtils/Liblist/ +%{privlib}/ExtUtils/Liblist.pm +%{privlib}/ExtUtils/MakeMaker/ +%{privlib}/ExtUtils/MakeMaker.pm +%{privlib}/ExtUtils/MM*.pm +%{privlib}/ExtUtils/MY.pm +%{privlib}/ExtUtils/Mkbootstrap.pm +%{privlib}/ExtUtils/Mksymlists.pm +%{privlib}/ExtUtils/testlib.pm +%{_mandir}/man1/instmodsh.1* +%{_mandir}/man3/ExtUtils::Command::MM* +%{_mandir}/man3/ExtUtils::Liblist.3* +%{_mandir}/man3/ExtUtils::MM* +%{_mandir}/man3/ExtUtils::MY.3* +%{_mandir}/man3/ExtUtils::MakeMaker* +%{_mandir}/man3/ExtUtils::Mkbootstrap.3* +%{_mandir}/man3/ExtUtils::Mksymlists.3* +%{_mandir}/man3/ExtUtils::testlib.3* %files ExtUtils-ParseXS -%defattr(-,root,root,-) -%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/ParseXS.pm -%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/xsubpp -%doc %{_mandir}/man3/ExtUtils::ParseXS.3* +%dir %{privlib}/ExtUtils/ParseXS/ +%dir %{privlib}/ExtUtils/Typemaps/ +%{privlib}/ExtUtils/ParseXS.pm +%{privlib}/ExtUtils/ParseXS.pod +%{privlib}/ExtUtils/ParseXS/Constants.pm +%{privlib}/ExtUtils/ParseXS/CountLines.pm +%{privlib}/ExtUtils/ParseXS/Utilities.pm +%{privlib}/ExtUtils/Typemaps.pm +%{privlib}/ExtUtils/Typemaps/Cmd.pm +%{privlib}/ExtUtils/Typemaps/InputMap.pm +%{privlib}/ExtUtils/Typemaps/OutputMap.pm +%{privlib}/ExtUtils/Typemaps/Type.pm +%{privlib}/ExtUtils/xsubpp +%{_bindir}/xsubpp +%{_mandir}/man1/xsubpp* +%{_mandir}/man3/ExtUtils::ParseXS.3* +%{_mandir}/man3/ExtUtils::ParseXS::Constants.3* +%{_mandir}/man3/ExtUtils::ParseXS::Utilities.3* +%{_mandir}/man3/ExtUtils::Typemaps.3* +%{_mandir}/man3/ExtUtils::Typemaps::Cmd.3* +%{_mandir}/man3/ExtUtils::Typemaps::InputMap.3* +%{_mandir}/man3/ExtUtils::Typemaps::OutputMap.3* +%{_mandir}/man3/ExtUtils::Typemaps::Type.3* %files File-Fetch -%defattr(-,root,root,-) -%{_prefix}/lib/perl5/%{perl_version}/File/Fetch.pm -%doc %{_mandir}/man3/File::Fetch.3* - -%files IO-Compress-Base -%defattr(-,root,root,-) -%{_libdir}/perl5/%{version}/File/GlobMapper.pm -%{_libdir}/perl5/%{version}/IO/Compress/Base/ -%{_libdir}/perl5/%{version}/IO/Compress/Base.pm -%{_libdir}/perl5/%{version}/IO/Uncompress/AnyUncompress.pm -%{_libdir}/perl5/%{version}/IO/Uncompress/Base.pm -%doc %{_mandir}/man3/File::GlobMapper.* -%doc %{_mandir}/man3/IO::Compress::Base.* -%doc %{_mandir}/man3/IO::Uncompress::AnyUncompress.* -%doc %{_mandir}/man3/IO::Uncompress::Base.* - -%files IO-Compress-Zlib -%defattr(-,root,root,-) -%{_libdir}/perl5/%{version}/IO/Compress/Adapter/ -%{_libdir}/perl5/%{version}/IO/Compress/Deflate.pm -%{_libdir}/perl5/%{version}/IO/Compress/Gzip/ -%{_libdir}/perl5/%{version}/IO/Compress/Gzip.pm -%{_libdir}/perl5/%{version}/IO/Compress/RawDeflate.pm -%{_libdir}/perl5/%{version}/IO/Compress/Zip/ -%{_libdir}/perl5/%{version}/IO/Compress/Zip.pm -%{_libdir}/perl5/%{version}/IO/Compress/Zlib/ -%{_libdir}/perl5/%{version}/IO/Uncompress/Adapter/ -%{_libdir}/perl5/%{version}/IO/Uncompress/AnyInflate.pm -%{_libdir}/perl5/%{version}/IO/Uncompress/Gunzip.pm -%{_libdir}/perl5/%{version}/IO/Uncompress/Inflate.pm -%{_libdir}/perl5/%{version}/IO/Uncompress/RawInflate.pm -%{_libdir}/perl5/%{version}/IO/Uncompress/Unzip.pm -%doc %{_mandir}/man3/IO::Compress::Deflate* -%doc %{_mandir}/man3/IO::Compress::Gzip* -%doc %{_mandir}/man3/IO::Compress::RawDeflate* -%doc %{_mandir}/man3/IO::Compress::Zip* -%doc %{_mandir}/man3/IO::Uncompress::AnyInflate* -%doc %{_mandir}/man3/IO::Uncompress::Gunzip* -%doc %{_mandir}/man3/IO::Uncompress::Inflate* -%doc %{_mandir}/man3/IO::Uncompress::RawInflate* -%doc %{_mandir}/man3/IO::Uncompress::Unzip* +%{privlib}/File/Fetch.pm +%{_mandir}/man3/File::Fetch.3* + +%files Filter +%{archlib}/auto/Filter/Util +%{archlib}/Filter/Util +%{privlib}/pod/perlfilter.pod +%{_mandir}/man1/perlfilter.* +%{_mandir}/man3/Filter::Util::* + +#%files IO-Compress +## IO-Compress +#%{_bindir}/zipdetails +#%{privlib}/IO/Compress/FAQ.pod +#%{_mandir}/man1/zipdetails.* +#%{_mandir}/man3/IO::Compress::FAQ.* +## Compress-Zlib +#%{privlib}/Compress/Zlib.pm +#%{_mandir}/man3/Compress::Zlib* +##IO-Compress-Base +#%{privlib}/File/GlobMapper.pm +#%{privlib}/IO/Compress/Base/ +#%{privlib}/IO/Compress/Base.pm +#%{privlib}/IO/Uncompress/AnyUncompress.pm +#%{privlib}/IO/Uncompress/Base.pm +#%{_mandir}/man3/File::GlobMapper.* +#%{_mandir}/man3/IO::Compress::Base.* +#%{_mandir}/man3/IO::Uncompress::AnyUncompress.* +#%{_mandir}/man3/IO::Uncompress::Base.* + +## IO-Compress-Zlib +#%{privlib}/IO/Compress/Adapter/ +#%{privlib}/IO/Compress/Deflate.pm +#%{privlib}/IO/Compress/Bzip2.pm +#%{privlib}/IO/Compress/Gzip/ +#%{privlib}/IO/Compress/Gzip.pm +#%{privlib}/IO/Compress/RawDeflate.pm +#%{privlib}/IO/Compress/Zip/ +#%{privlib}/IO/Compress/Zip.pm +#%{privlib}/IO/Compress/Zlib/ +#%{privlib}/IO/Uncompress/Adapter/ +#%{privlib}/IO/Uncompress/AnyInflate.pm +#%{privlib}/IO/Uncompress/Bunzip2.pm +#%{privlib}/IO/Uncompress/Gunzip.pm +#%{privlib}/IO/Uncompress/Inflate.pm +#%{privlib}/IO/Uncompress/RawInflate.pm +#%{privlib}/IO/Uncompress/Unzip.pm +#%{_mandir}/man3/IO::Compress::Deflate* +#%{_mandir}/man3/IO::Compress::Gzip* +#%{_mandir}/man3/IO::Compress::Bzip2* +#%{_mandir}/man3/IO::Compress::RawDeflate* +#%{_mandir}/man3/IO::Compress::Zip* +#%{_mandir}/man3/IO::Uncompress::AnyInflate* +#%{_mandir}/man3/IO::Uncompress::Bunzip2* +#%{_mandir}/man3/IO::Uncompress::Gunzip* +#%{_mandir}/man3/IO::Uncompress::Inflate* +#%{_mandir}/man3/IO::Uncompress::RawInflate* +#%{_mandir}/man3/IO::Uncompress::Unzip* %files IO-Zlib -%defattr(-,root,root,-) -%{_prefix}/lib/perl5/%{perl_version}/IO/Zlib.pm -%doc %{_mandir}/man3/IO::Zlib.* +%{privlib}/IO/Zlib.pm +%{_mandir}/man3/IO::Zlib.* + +%files HTTP-Tiny +%{privlib}/HTTP/Tiny.pm +%{_mandir}/man3/HTTP::Tiny* %files IPC-Cmd -%defattr(-,root,root,-) -%{_prefix}/lib/perl5/%{perl_version}/IPC/Cmd.pm -%doc %{_mandir}/man3/IPC::Cmd.3* +%{privlib}/IPC/Cmd.pm +%{_mandir}/man3/IPC::Cmd.3* + +%files JSON-PP +%{_bindir}/json_pp +%{privlib}/JSON/PP +%{privlib}/JSON/PP.pm +%{_mandir}/man1/json_pp.1* +%{_mandir}/man3/JSON::PP.3* +%{_mandir}/man3/JSON::PP::Boolean.3pm* + +%files Locale-Codes +%{privlib}/Locale/Codes +%{privlib}/Locale/Codes.* +%{privlib}/Locale/Country.* +%{privlib}/Locale/Currency.* +%{privlib}/Locale/Language.* +%{privlib}/Locale/Script.* +%{_mandir}/man3/Locale::Codes::* +%{_mandir}/man3/Locale::Codes.* +%{_mandir}/man3/Locale::Country.* +%{_mandir}/man3/Locale::Currency.* +%{_mandir}/man3/Locale::Language.* +%{_mandir}/man3/Locale::Script.* %files Locale-Maketext-Simple -%defattr(-,root,root,-) -%{_prefix}/lib/perl5/%{perl_version}/Locale/Maketext/Simple.pm -%doc %{_mandir}/man3/Locale::Maketext::Simple.* +%{privlib}/Locale/Maketext/Simple.pm +%{_mandir}/man3/Locale::Maketext::Simple.* %files Log-Message -%defattr(-,root,root,-) -%{_prefix}/lib/perl5/%{perl_version}/Log/Message.pm -%{_prefix}/lib/perl5/%{perl_version}/Log/Message/Config.pm -%{_prefix}/lib/perl5/%{perl_version}/Log/Message/Handlers.pm -%{_prefix}/lib/perl5/%{perl_version}/Log/Message/Item.pm -%doc %{_mandir}/man3/Log::Message.3* -%doc %{_mandir}/man3/Log::Message::Config.3* -%doc %{_mandir}/man3/Log::Message::Handlers.3* -%doc %{_mandir}/man3/Log::Message::Item.3* +%{privlib}/Log/Message.pm +%{privlib}/Log/Message/Config.pm +%{privlib}/Log/Message/Handlers.pm +%{privlib}/Log/Message/Item.pm +%{_mandir}/man3/Log::Message.3* +%{_mandir}/man3/Log::Message::Config.3* +%{_mandir}/man3/Log::Message::Handlers.3* +%{_mandir}/man3/Log::Message::Item.3* %files Log-Message-Simple -%defattr(-,root,root,-) -%{_prefix}/lib/perl5/%{perl_version}/Log/Message/Simple.pm -%doc %{_mandir}/man3/Log::Message::Simple.3* +%{privlib}/Log/Message/Simple.pm +%{_mandir}/man3/Log::Message::Simple.3* %files Module-Build -%defattr(-,root,root,-) %{_bindir}/config_data -%{_prefix}/lib/perl5/%{perl_version}/Module/Build/ -%{_prefix}/lib/perl5/%{perl_version}/Module/Build.pm -%doc %{_mandir}/man1/config_data.1* -%doc %{_mandir}/man3/Module::Build* +%{privlib}/inc/ +%{privlib}/Module/Build/ +%{privlib}/Module/Build.pm +%{_mandir}/man1/config_data.1* +%{_mandir}/man3/Module::Build* +%{_mandir}/man3/inc::latest.3* %files Module-CoreList -%defattr(-,root,root,-) %{_bindir}/corelist -%{_prefix}/lib/perl5/%{perl_version}/Module/CoreList.pm -%doc %{_mandir}/man1/corelist* -%doc %{_mandir}/man3/Module::CoreList* +%{privlib}/Module/CoreList.pm +%{_mandir}/man1/corelist* +%{_mandir}/man3/Module::CoreList* %files Module-Load -%defattr(-,root,root,-) -%{_prefix}/lib/perl5/%{perl_version}/Module/Load.pm -%doc %{_mandir}/man3/Module::Load.* +%{privlib}/Module/Load.pm +%{_mandir}/man3/Module::Load.* %files Module-Load-Conditional -%defattr(-,root,root,-) -%{_prefix}/lib/perl5/%{perl_version}/Module/Load/ -%doc %{_mandir}/man3/Module::Load::Conditional* +%{privlib}/Module/Load/ +%{_mandir}/man3/Module::Load::Conditional* %files Module-Loaded -%defattr(-,root,root,-) -%dir %{_prefix}/lib/perl5/%{perl_version}/Module/ -%{_prefix}/lib/perl5/%{perl_version}/Module/Loaded.pm -%doc %{_mandir}/man3/Module::Loaded* +%dir %{privlib}/Module/ +%{privlib}/Module/Loaded.pm +%{_mandir}/man3/Module::Loaded* + +%files Module-Metadata +%{privlib}/Module/Metadata.pm +%{_mandir}/man3/Module::Metadata.3pm* %files Module-Pluggable -%defattr(-,root,root,-) -%{_prefix}/lib/perl5/%{perl_version}/Devel/InnerPackage.pm -%{_prefix}/lib/perl5/%{perl_version}/Module/Pluggable/ -%{_prefix}/lib/perl5/%{perl_version}/Module/Pluggable.pm -%doc %{_mandir}/man3/Devel::InnerPackage* -%doc %{_mandir}/man3/Module::Pluggable* +%{privlib}/Devel/InnerPackage.pm +%{privlib}/Module/Pluggable/ +%{privlib}/Module/Pluggable.pm +%{_mandir}/man3/Devel::InnerPackage* +%{_mandir}/man3/Module::Pluggable* %files Object-Accessor -%defattr(-,root,root,-) -%{_prefix}/lib/perl5/%{perl_version}/Object/ -%doc %{_mandir}/man3/Object::Accessor* +%{privlib}/Object/ +%{_mandir}/man3/Object::Accessor* %files Package-Constants -%defattr(-,root,root,-) -%{_prefix}/lib/perl5/%{perl_version}/Package/ -%doc %{_mandir}/man3/Package::Constants* +%{privlib}/Package/ +%{_mandir}/man3/Package::Constants* + +#%files PathTools +#%{archlib}/Cwd.pm +#%{archlib}/File/Spec* +#%{archlib}/auto/Cwd/ +#%{_mandir}/man3/Cwd* +#%{_mandir}/man3/File::Spec* %files Params-Check -%defattr(-,root,root,-) -%{_prefix}/lib/perl5/%{perl_version}/Params/ -%doc %{_mandir}/man3/Params::Check* +%{privlib}/Params/ +%{_mandir}/man3/Params::Check* + +%files Parse-CPAN-Meta +%dir %{privlib}/Parse/ +%dir %{privlib}/Parse/CPAN/ +%{privlib}/Parse/CPAN/Meta.pm +%{_mandir}/man3/Parse::CPAN::Meta.3* + +%files parent +%{privlib}/parent.pm +%{_mandir}/man3/parent.3* + +%files Perl-OSType +%{privlib}/Perl/OSType.pm +%{_mandir}/man3/Perl::OSType.3pm* %files Pod-Escapes -%defattr(-,root,root,-) -%{_prefix}/lib/perl5/%{perl_version}/Pod/Escapes.pm -%doc %{_mandir}/man3/Pod::Escapes.* +%{privlib}/Pod/Escapes.pm +%{_mandir}/man3/Pod::Escapes.* + +%files Pod-Parser +%{_bindir}/pod2usage +%{_bindir}/podchecker +%{_bindir}/podselect +%{privlib}/Pod/Checker.pm +%{privlib}/Pod/Find.pm +%{privlib}/Pod/InputObjects.pm +%{privlib}/Pod/ParseUtils.pm +%{privlib}/Pod/Parser.pm +%{privlib}/Pod/PlainText.pm +%{privlib}/Pod/Select.pm +%{privlib}/Pod/Usage.pm +%{_mandir}/man1/pod2usage.1* +%{_mandir}/man1/podchecker.1* +%{_mandir}/man1/podselect.1* +%{_mandir}/man3/Pod::Checker.* +%{_mandir}/man3/Pod::Find.* +%{_mandir}/man3/Pod::InputObjects.* +%{_mandir}/man3/Pod::ParseUtils.* +%{_mandir}/man3/Pod::Parser.* +%{_mandir}/man3/Pod::PlainText.* +%{_mandir}/man3/Pod::Select.* +%{_mandir}/man3/Pod::Usage.* + +%files Pod-Perldoc +%{_bindir}/perldoc +%{privlib}/pod/perldoc.pod +%{privlib}/Pod/Perldoc.pm +%{privlib}/Pod/Perldoc/ +%{_mandir}/man1/perldoc.1* +%{_mandir}/man3/Pod::Perldoc* %files Pod-Simple -%defattr(-,root,root,-) -%{_prefix}/lib/perl5/%{perl_version}/Pod/Simple/ -%{_prefix}/lib/perl5/%{perl_version}/Pod/Simple.pm -%{_prefix}/lib/perl5/%{perl_version}/Pod/Simple.pod -%doc %{_mandir}/man3/Pod::Simple* +%{privlib}/Pod/Simple/ +%{privlib}/Pod/Simple.pm +%{privlib}/Pod/Simple.pod +%{_mandir}/man3/Pod::Simple* + +%files Scalar-List-Utils +%{archlib}/List/ +%{archlib}/Scalar/ +%{archlib}/auto/List/ +%{_mandir}/man3/List::Util* +%{_mandir}/man3/Scalar::Util* + +%files Socket +%dir %{archlib}/auto/Socket +%{archlib}/auto/Socket/Socket.* +%{archlib}/Socket.pm +%{_mandir}/man3/Socket.3* %files Term-UI -%defattr(-,root,root,-) -%{_prefix}/lib/perl5/%{perl_version}/Term/UI/ -%{_prefix}/lib/perl5/%{perl_version}/Term/UI.pm -%doc %{_mandir}/man3/Term::UI* +%{privlib}/Term/UI/ +%{privlib}/Term/UI.pm +%{_mandir}/man3/Term::UI* %files Test-Harness -%defattr(-,root,root,-) %{_bindir}/prove -%{_prefix}/lib/perl5/%{perl_version}/App* -%{_prefix}/lib/perl5/%{perl_version}/TAP* -%{_prefix}/lib/perl5/%{perl_version}/Test/Harness* +%{privlib}/App* +%{privlib}/TAP* +%{privlib}/Test/Harness* %{_mandir}/man1/prove.1* %{_mandir}/man3/App* %{_mandir}/man3/TAP* %{_mandir}/man3/Test::Harness* %files Test-Simple -%defattr(-,root,root,-) -%{_prefix}/lib/perl5/%{perl_version}/Test/More* -%{_prefix}/lib/perl5/%{perl_version}/Test/Builder* -%{_prefix}/lib/perl5/%{perl_version}/Test/Simple* -%{_prefix}/lib/perl5/%{perl_version}/Test/Tutorial* -%doc %{_mandir}/man3/Test::More* -%doc %{_mandir}/man3/Test::Builder* -%doc %{_mandir}/man3/Test::Simple* -%doc %{_mandir}/man3/Test::Tutorial* +%{privlib}/Test/More* +%{privlib}/Test/Builder* +%{privlib}/Test/Simple* +%{privlib}/Test/Tutorial* +%{_mandir}/man3/Test::More* +%{_mandir}/man3/Test::Builder* +%{_mandir}/man3/Test::Simple* +%{_mandir}/man3/Test::Tutorial* + +%files Test-Simple-tests +%dir %{perl5_testdir} +%{perl5_testdir}/Test-Simple %files Time-Piece -%defattr(-,root,root,-) -%{_libdir}/perl5/%{version}/%{perl_archname}/Time/Piece.pm -%{_libdir}/perl5/%{version}/%{perl_archname}/Time/Seconds.pm -%{_libdir}/perl5/%{version}/%{perl_archname}/auto/Time/Piece/ -%doc %{_mandir}/man3/Time::Piece.3* -%doc %{_mandir}/man3/Time::Seconds.3* +%{archlib}/Time/Piece.pm +%{archlib}/Time/Seconds.pm +%{archlib}/auto/Time/Piece/ +%{_mandir}/man3/Time::Piece.3* +%{_mandir}/man3/Time::Seconds.3* + +%files Version-Requirements +%{privlib}/Version/Requirements.pm +%{_mandir}/man3/Version::Requirements* + +%files threads +%dir %{archlib}/auto/threads +%{archlib}/auto/threads/threads* +%{archlib}/threads.pm +%{_mandir}/man3/threads.3* + +%files threads-shared +%{archlib}/auto/threads/shared* +%dir %{archlib}/threads +%{archlib}/threads/shared* +%{_mandir}/man3/threads::shared* %files version -%defattr(-,root,root,-) -%{_prefix}/lib/perl5/%{perl_version}/version.pm -%{_prefix}/lib/perl5/%{perl_version}/version.pod -%doc %{_mandir}/man3/version.* +%{privlib}/version.pm +%{privlib}/version.pod +%{privlib}/version/ +%{_mandir}/man3/version.3* +%{_mandir}/man3/version::Internals.3* %files core # Nothing. Nada. Zilch. Zarro. Uh uh. Nope. Sorry. - -# Old changelog entries are preserved in CVS. diff --git a/perl.stp b/perl.stp new file mode 100644 index 0000000..821eb0d --- /dev/null +++ b/perl.stp @@ -0,0 +1,26 @@ +/* + This probe will fire when the perl script enters a subroutine. + */ + +probe perl.sub.call = process("LIBRARY_PATH").mark("sub__entry") +{ + + sub = user_string($arg1) + filename = user_string($arg2) + lineno = $arg3 + +} + +/* + This probe will fire when the return from a subroutine has been + hit. + */ + +probe perl.sub.return = process("LIBRARY_PATH").mark("sub__return") +{ + + sub = user_string($arg1) + filename = user_string($arg2) + lineno = $arg3 + +} diff --git a/porting-podcheck-regen.patch b/porting-podcheck-regen.patch new file mode 100644 index 0000000..15df130 --- /dev/null +++ b/porting-podcheck-regen.patch @@ -0,0 +1,26 @@ +diff -up perl-5.16.0-RC2/t/porting/known_pod_issues.dat.pody perl-5.16.0-RC2/t/porting/known_pod_issues.dat +--- perl-5.16.0-RC2/t/porting/known_pod_issues.dat.pody 2012-05-14 21:49:22.000000000 +0200 ++++ perl-5.16.0-RC2/t/porting/known_pod_issues.dat 2012-05-16 14:21:00.000000000 +0200 +@@ -1,4 +1,4 @@ +-# This file is the data file for porting/podcheck.t. ++# This file is the data file for t/porting/podcheck.t. + # There are three types of lines. + # Comment lines are white-space only or begin with a '#', like this one. Any + # changes you make to the comment lines will be lost when the file is +@@ -217,6 +217,7 @@ pod/perlbook.pod Verbatim line length in + pod/perlcall.pod Verbatim line length including indents exceeds 79 by 2 + pod/perlce.pod Verbatim line length including indents exceeds 79 by 2 + pod/perlclib.pod Verbatim line length including indents exceeds 79 by 3 ++pod/perlcn.pod Verbatim line length including indents exceeds 79 by 1 + pod/perlcygwin.pod Verbatim line length including indents exceeds 79 by 25 + pod/perldbmfilter.pod Verbatim line length including indents exceeds 79 by 1 + pod/perldebguts.pod Verbatim line length including indents exceeds 79 by 68 +@@ -248,6 +249,8 @@ pod/perliol.pod Verbatim line length inc + pod/perlipc.pod Apparent broken link 1 + pod/perlipc.pod Verbatim line length including indents exceeds 79 by 19 + pod/perlirix.pod Verbatim line length including indents exceeds 79 by 4 ++pod/perljp.pod Verbatim line length including indents exceeds 79 by 1 ++pod/perlko.pod Verbatim line length including indents exceeds 79 by 22 + pod/perllol.pod Verbatim line length including indents exceeds 79 by 4 + pod/perlmacosx.pod Verbatim line length including indents exceeds 79 by 3 + pod/perlmod.pod Verbatim line length including indents exceeds 79 by 2