1b6ae01
%define perl_version    5.10.0
1b6ae01
%define perl_epoch      4
1b6ae01
%define perl_arch_stem -thread-multi
1b6ae01
%define perl_archname %{_arch}-%{_os}%{perl_arch_stem}
1b6ae01
jvdias 6c3b438
%define multilib_64_archs x86_64 s390x ppc64 sparc64
jvdias 6c3b438
f16070f
%define db4_major %(grep "DB_VERSION_MAJOR" /usr/include/db.h | cut -f3)
f16070f
%define db4_minor %(grep "DB_VERSION_MINOR" /usr/include/db.h | cut -f3)
f16070f
%define db4_patch %(grep "DB_VERSION_PATCH" /usr/include/db.h | cut -f3)
f16070f
jvdias 6c3b438
Name:           perl
73b278f
Version:        %{perl_version}
325b0b7
Release:        33%{?dist}
2b5e20c
Epoch:          %{perl_epoch}
jvdias 6c3b438
Summary:        The Perl programming language
jvdias 6c3b438
Group:          Development/Languages
6451d3d
# Modules Tie::File and Getopt::Long are licenced under "GPLv2+ or Artistic,"
6451d3d
# we have to reflect that in the sub-package containing them.
6451d3d
License:        (GPL+ or Artistic) and (GPLv2+ or Artistic)
jvdias 6c3b438
Url:            http://www.perl.org/
223accb
Source0:        http://search.cpan.org/CPAN/authors/id/R/RG/RGARCIA/perl-%{perl_version}.tar.gz
1b1e488
Source11:       filter-requires.sh
jvdias 6c3b438
Source12:       perl-5.8.0-libnet.cfg
7d7972e
# Specific to Fedora/RHEL
34e870b
Patch1:         perl-5.8.0-root.patch
223accb
7d7972e
# Removes date check, Fedora/RHEL specific
223accb
Patch2:         perl-5.10.0-perlbug-tag.patch
223accb
7d7972e
# Fedora/RHEL use links instead of lynx
223accb
Patch3:         perl-5.10.0-links.patch
223accb
jvdias 6c3b438
# work around annoying rpath issue
7d7972e
# This is only relevant for Fedora, as it is unlikely
7d7972e
# that upstream will assume the existence of a libperl.so
223accb
Patch4:         perl-5.8.8-rpath-make.patch
223accb
7d7972e
# Fedora/RHEL only (64bit only)
223accb
Patch5:         perl-5.8.0-libdir64.patch
223accb
7d7972e
# Fedora/RHEL specific (use libresolv instead of libbind)
6a5cde9
Patch6:         perl-5.8.6-libresolv.patch
223accb
223accb
# FIXME: May need the "Fedora" references removed before upstreaming
6a5cde9
Patch7:         perl-5.10.0-USE_MM_LD_RUN_PATH.patch
223accb
e5a5548
# Skip hostname tests, since hostname lookup isn't available in Fedora
e5a5548
# buildroots by design.
6a5cde9
Patch8:         perl-5.10.0-disable_test_hosts.patch
038556d
384f2ba
# Bump Sys::Syslog to 0.24 to fix test failure case
6a5cde9
Patch9:         perl-5.10.0-SysSyslog-0.24.patch
384f2ba
645d176
# The Fedora builders started randomly failing this futime test
645d176
# only on x86_64, so we just don't run it. Works fine on normal
645d176
# systems.
6a5cde9
Patch10:        perl-5.10.0-x86_64-io-test-failure.patch
645d176
e1baeee
# http://public.activestate.com/cgi-bin/perlbrowse/p/32891
6a5cde9
Patch11:        32891.patch
6a5cde9
6a5cde9
# Update Module::Load::Conditional to 0.24 for clean upgrade
6e38dfc
Patch12:	perl-5.10.0-Module-Load-Conditional-0.24.patch
e1baeee
eba1424
# Upgrade Module::CoreList to 2.14
eba1424
Patch13:	perl-5.10.0-Module-CoreList2.14.patch
eba1424
6a36cc7
# Upgrade CGI to 3.37 for bugzilla package
6a36cc7
Patch14:	perl-5.10.0-CGI-3.37.patch
6a36cc7
0b9fc66
# Problem with assertion - add upstream patch
0b9fc66
Patch15:	perl-5.10.0-bz448392.patch
0b9fc66
85f75da
# Wrong access test
85f75da
Patch16:	perl-5.10.0-accessXOK.patch
85f75da
c49219d
# CVE-2008-2827 perl: insecure use of chmod in rmtree
c49219d
Patch17:	perl-5.10.0-CVE-2008-2827.patch
c49219d
325b0b7
# Upgrade Test::Harness
325b0b7
# first remove old files
325b0b7
Patch18:	perl-5.10.0-removeTestHarness.patch
325b0b7
# now include new files perl-5.10.0-TestHarness3.12.patch
325b0b7
Patch19:	perl-5.10.0-TestHarness3.12.patch
325b0b7
87de3d0
BuildRoot:      %{_tmppath}/%{name}-%{perl_version}-%{release}-root-%(%{__id_u} -n)
34e870b
BuildRequires:  tcsh, dos2unix, man, groff
223accb
BuildRequires:  gdbm-devel, db4-devel, zlib-devel
57d9388
# For tests
57d9388
BuildRequires:  procps, rsyslog
57d9388
34e870b
# The long line of Perl provides.
jvdias 6c3b438
jvdias 6c3b438
# These provides are needed by the perl pkg itself with auto-generated perl.req
jvdias 6c3b438
Provides: perl(VMS::Filespec)
jvdias 6c3b438
Provides: perl(VMS::Stdio)
jvdias 6c3b438
34e870b
# Compat provides
223accb
Provides: perl(:MODULE_COMPAT_5.10.0)
223accb
34e870b
# Threading provides
34e870b
Provides: perl(:WITH_ITHREADS)
34e870b
Provides: perl(:WITH_THREADS)
34e870b
# Largefile provides
34e870b
Provides: perl(:WITH_LARGEFILES)
34e870b
# PerlIO provides
34e870b
Provides: perl(:WITH_PERLIO)
34e870b
# File provides
jvdias 6c3b438
Provides: perl(abbrev.pl)
jvdias 6c3b438
Provides: perl(assert.pl)
jvdias 6c3b438
Provides: perl(bigfloat.pl)
jvdias 6c3b438
Provides: perl(bigint.pl)
jvdias 6c3b438
Provides: perl(bigrat.pl)
jvdias 6c3b438
Provides: perl(bytes_heavy.pl)
jvdias 6c3b438
Provides: perl(cacheout.pl)
jvdias 6c3b438
Provides: perl(complete.pl)
jvdias 6c3b438
Provides: perl(ctime.pl)
jvdias 6c3b438
Provides: perl(dotsh.pl)
jvdias 6c3b438
Provides: perl(dumpvar.pl)
jvdias 6c3b438
Provides: perl(exceptions.pl)
jvdias 6c3b438
Provides: perl(fastcwd.pl)
jvdias 6c3b438
Provides: perl(find.pl)
jvdias 6c3b438
Provides: perl(finddepth.pl)
jvdias 6c3b438
Provides: perl(flush.pl)
jvdias 6c3b438
Provides: perl(ftp.pl)
jvdias 6c3b438
Provides: perl(getcwd.pl)
jvdias 6c3b438
Provides: perl(getopt.pl)
jvdias 6c3b438
Provides: perl(getopts.pl)
jvdias 6c3b438
Provides: perl(hostname.pl)
jvdias 6c3b438
Provides: perl(importenv.pl)
jvdias 6c3b438
Provides: perl(look.pl)
jvdias 6c3b438
Provides: perl(newgetopt.pl)
jvdias 6c3b438
Provides: perl(open2.pl)
jvdias 6c3b438
Provides: perl(open3.pl)
jvdias 6c3b438
Provides: perl(perl5db.pl)
jvdias 6c3b438
Provides: perl(pwd.pl)
jvdias 6c3b438
Provides: perl(shellwords.pl)
jvdias 6c3b438
Provides: perl(stat.pl)
jvdias 6c3b438
Provides: perl(syslog.pl)
jvdias 6c3b438
Provides: perl(tainted.pl)
jvdias 6c3b438
Provides: perl(termcap.pl)
jvdias 6c3b438
Provides: perl(timelocal.pl)
jvdias 6c3b438
Provides: perl(utf8_heavy.pl)
jvdias 6c3b438
Provides: perl(validate.pl)
jvdias 6c3b438
Provides: perl(Carp::Heavy)
jvdias 6c3b438
629d7f2
# Long history in 3rd-party repositories:
629d7f2
Provides: perl-File-Temp = 0.18
629d7f2
Obsoletes: perl-File-Temp < 0.18
629d7f2
325b0b7
# Use new testing module perl-Test-Harness, obsolete it outside of this package
325b0b7
Provides: perl-TAP-Harness = 3.10
325b0b7
Obsoletes: perl-TAP-Harness < 3.10
e1baeee
152af83
Requires: perl-libs = %{perl_epoch}:%{perl_version}-%{release}
8e2ede0
Requires: db4 = %{db4_major}.%{db4_minor}.%{db4_patch}
152af83
244e713
# We need this to break the dependency loop, and ensure that perl-libs 
244e713
# gets installed before perl.
244e713
Requires(post): perl-libs
244e713
1b1e488
# Filter the automatically generated dependencies.
1b1e488
#
1b1e488
# The original script might be /usr/lib/rpm/perl.req or
1b1e488
# /usr/lib/rpm/redhat/perl.req, better use the original value of the macro:
223accb
%{expand:%%define prev__perl_requires %{__perl_requires}} 
1b1e488
%define __perl_requires %{SOURCE11} %{prev__perl_requires}
1b1e488
1b1e488
# When _use_internal_dependency_generator is 0, the perl.req script is
1b1e488
# called from /usr/lib/rpm{,/redhat}/find-requires.sh
1b1e488
# Likewise:
223accb
%{expand:%%define prev__find_requires %{__find_requires}} 
1b1e488
%define __find_requires %{SOURCE11} %{prev__find_requires}
1b1e488
jvdias 6c3b438
jvdias 6c3b438
%description
jvdias 6c3b438
Perl is a high-level programming language with roots in C, sed, awk
jvdias 6c3b438
and shell scripting.  Perl is good at handling processes and files,
jvdias 6c3b438
and is especially good at handling text.  Perl's hallmarks are
jvdias 6c3b438
practicality and efficiency.  While it is used to do a lot of
jvdias 6c3b438
different things, Perl's most common applications are system
jvdias 6c3b438
administration utilities and web programming.  A large proportion of
jvdias 6c3b438
the CGI scripts on the web are written in Perl.  You need the perl
jvdias 6c3b438
package installed on your system so that your system can handle Perl
jvdias 6c3b438
scripts.
jvdias 6c3b438
jvdias 6c3b438
Install this package if you want to program in Perl or enable your
jvdias 6c3b438
system to handle Perl scripts.
jvdias 6c3b438
ad8e701
%package libs
ad8e701
Summary:        The libraries for the perl runtime
27d74c5
Group:          Development/Languages
22e8f3d
License:        GPL+ or Artistic
ad8e701
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
ad8e701
ad8e701
%description libs
ad8e701
The libraries for the perl runtime
ad8e701
ad8e701
34e870b
%package devel
34e870b
Summary:        Header files for use in perl development
27d74c5
Group:          Development/Languages
22e8f3d
License:        GPL+ or Artistic
2b5e20c
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
34e870b
34e870b
%description devel
378cd40
This package contains header files and development modules.
378cd40
Most perl packages will need to install perl-devel to build.
378cd40
jvdias 6c3b438
jvdias 6c3b438
%package suidperl
34e870b
Summary:        Suidperl, for use with setuid perl scripts
27d74c5
Group:          Development/Languages
22e8f3d
License:        GPL+ or Artistic
2b5e20c
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
jvdias 6c3b438
jvdias 6c3b438
%description suidperl
34e870b
Suidperl is a setuid binary copy of perl that allows for (hopefully)
jvdias 6c3b438
more secure running of setuid perl scripts.
jvdias 6c3b438
223accb
223accb
%package Archive-Extract
223accb
Summary:        Generic archive extracting mechanism
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
# Epoch bump for clean upgrade over old standalone package
223accb
Epoch:          1
223accb
Version:        0.24
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description Archive-Extract
223accb
Archive::Extract is a generic archive extraction mechanism.
223accb
223accb
223accb
%package Archive-Tar
223accb
Summary:        A module for Perl manipulation of .tar files
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
Epoch:          0
223accb
# It's really 1.37_01, but we drop the _01.
223accb
Version:        1.37
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
Requires:       perl(Compress::Zlib), perl(IO::Zlib)
223accb
223accb
%description Archive-Tar
223accb
Archive::Tar provides an object oriented mechanism for handling tar
223accb
files.  It provides class methods for quick and easy files handling
223accb
while also allowing for the creation of tar file objects for custom
223accb
manipulation.  If you have the IO::Zlib module installed, Archive::Tar
223accb
will also support compressed or gzipped tar files.
223accb
223accb
223accb
%package Compress-Raw-Zlib
223accb
Summary:        Low-Level Interface to the zlib compression library
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
Epoch:          0
223accb
Version:        2.008
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description Compress-Raw-Zlib
223accb
This module provides a Perl interface to the zlib compression library.
223accb
It is used by IO::Compress::Zlib.
223accb
223accb
223accb
%package Compress-Zlib
223accb
Summary:        A module providing Perl interfaces to the zlib compression library
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
Epoch:          0
223accb
Version:        2.008
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description Compress-Zlib
223accb
The Compress::Zlib module provides a Perl interface to the zlib
223accb
compression library. Most of the functionality provided by zlib is
223accb
available in Compress::Zlib.
223accb
223accb
The module can be split into two general areas of functionality,
223accb
namely in-memory compression/decompression and read/write access to
223accb
gzip files.
223accb
223accb
87de3d0
%package CPAN
87de3d0
Summary:        Query, download and build perl modules from CPAN sites
27d74c5
Group:          Development/Languages
22e8f3d
License:        GPL+ or Artistic
87de3d0
Epoch:          0
223accb
Version:        1.9205
2b5e20c
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
73b278f
Provides:       cpan = %{version}
87de3d0
87de3d0
%description CPAN
87de3d0
Query, download and build perl modules from CPAN sites.
87de3d0
223accb
223accb
%package CPANPLUS
223accb
Summary:        API & CLI access to the CPAN mirrors
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
Epoch:          0
6a5cde9
Version:        0.84
223accb
Requires:       perl(IPC::Run) >= 0.79
223accb
Requires:       perl(Module::Pluggable) >= 2.4
223accb
Requires:       perl(Module::CoreList)
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
a7bd58b
Provides:       perl-CPANPLUS-Dist-Build = 0.06
a7bd58b
Obsoletes:	perl-CPANPLUS-Dist-Build <= 0.05
223accb
223accb
%description CPANPLUS
223accb
The CPANPLUS library is an API to the CPAN mirrors and a collection of
223accb
interactive shells, commandline programs, etc, that use this API.
223accb
223accb
223accb
%package Digest-SHA
223accb
Summary:        Perl extension for SHA-1/224/256/384/512
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
# Epoch bump for clean upgrade over old standalone package
223accb
Epoch:          1
223accb
Version:        5.45
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description Digest-SHA
223accb
Digest::SHA is a complete implementation of the NIST Secure Hash
223accb
Standard.  It gives Perl programmers a convenient way to calculate
223accb
SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512 message digests.  The
223accb
module can handle all types of input, including partial-byte data.
223accb
223accb
223accb
%package ExtUtils-CBuilder
223accb
Summary:        Compile and link C code for Perl modules
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
# Epoch bump for clean upgrade over old standalone package
223accb
Epoch:          1
223accb
Version:        0.21
223accb
Requires:       perl-devel
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description ExtUtils-CBuilder
223accb
This module can build the C portions of Perl modules by invoking the
223accb
appropriate compilers and linkers in a cross-platform manner. It was
223accb
motivated by the Module::Build project, but may be useful for other
223accb
purposes as well.
223accb
223accb
87de3d0
%package ExtUtils-Embed
87de3d0
Summary:        Utilities for embedding Perl in C/C++ applications
27d74c5
Group:          Development/Languages
22e8f3d
License:        GPL+ or Artistic
87de3d0
Epoch:          0
223accb
Version:        1.27
87de3d0
Requires:       perl-devel
2b5e20c
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
87de3d0
87de3d0
%description ExtUtils-Embed
87de3d0
Utilities for embedding Perl in C/C++ applications.
87de3d0
223accb
87de3d0
%package ExtUtils-MakeMaker
87de3d0
Summary:        Create a module Makefile
27d74c5
Group:          Development/Languages
22e8f3d
License:        GPL+ or Artistic
87de3d0
Epoch:          0
223accb
# It's really 6.36_01, but we drop the _01.
223accb
Version:        6.36
87de3d0
Requires:       perl-devel
2b5e20c
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
73b278f
Requires:       perl(Test::Harness)
87de3d0
87de3d0
%description ExtUtils-MakeMaker
87de3d0
Create a module Makefile.
87de3d0
223accb
223accb
%package ExtUtils-ParseXS
223accb
Summary:        Module and a script for converting Perl XS code into C code
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
# Epoch bump for clean upgrade over old standalone package
223accb
Epoch:          1
223accb
# It's really 2.18_02, but we drop the _02.
223accb
Version:        2.18
223accb
Requires:       perl-devel
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description ExtUtils-ParseXS
223accb
ExtUtils::ParseXS will compile XS code into C code by embedding the
223accb
constructs necessary to let C functions manipulate Perl values and
223accb
creates the glue necessary to let Perl access those functions.
223accb
223accb
223accb
%package File-Fetch
223accb
Summary:        Generic file fetching mechanism
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
Epoch:          0
6a5cde9
Version:        0.14
223accb
Requires:       perl(IPC::Cmd) >= 0.36
223accb
Requires:       perl(Module::Load::Conditional) >= 0.04
223accb
Requires:       perl(Params::Check) >= 0.07
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description File-Fetch
223accb
File::Fetch is a generic file fetching mechanism.
223accb
223accb
223accb
%package IO-Compress-Base
223accb
Summary:        Base Class for IO::Compress modules
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
Epoch:          0
223accb
Version:        2.008
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description IO-Compress-Base
223accb
This module is the base class for all IO::Compress and IO::Uncompress
223accb
modules. This module is not intended for direct use in application
223accb
code. Its sole purpose is to to be sub-classed by IO::Compress
223accb
modules.
223accb
223accb
223accb
%package IO-Compress-Zlib
223accb
Summary:        Perl interface to allow reading and writing of gzip and zip data
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
Epoch:          0
223accb
# Really 1.23_01, but we drop the _01.
223accb
Version:        2.008
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description IO-Compress-Zlib
223accb
This module provides an "IO::"-style Perl interface to "Compress::Zlib"
223accb
223accb
223accb
%package IO-Zlib
223accb
Summary:        Perl IO:: style interface to Compress::Zlib
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
# Epoch bump for clean upgrade over old standalone package
223accb
Epoch:          1
223accb
Version:        1.07
223accb
Requires:       perl(Compress::Zlib)
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description IO-Zlib
223accb
This modules provides an IO:: style interface to the Compress::Zlib
223accb
package. The main advantage is that you can use an IO::Zlib object in
223accb
much the same way as an IO::File object so you can have common code
223accb
that doesn't know which sort of file it is using.
223accb
223accb
223accb
%package IPC-Cmd
223accb
Summary:        Finding and running system commands made easy
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
# Epoch bump for clean upgrade over old standalone package
223accb
Epoch:          1
223accb
# Really 0.40_1, but we drop the _1.
223accb
Version:        0.40
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description IPC-Cmd
223accb
IPC::Cmd allows you to run commands, interactively if desired, in a
223accb
platform independent way, but have them still work.
223accb
223accb
223accb
%package Locale-Maketext-Simple
223accb
Summary:        Simple interface to Locale::Maketext::Lexicon
223accb
Group:          Development/Libraries
223accb
License:        MIT
223accb
# Epoch bump for clean upgrade over old standalone package
223accb
Epoch:          1
223accb
Version:        0.18
223accb
Requires:	perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description Locale-Maketext-Simple
223accb
This module is a simple wrapper around Locale::Maketext::Lexicon, designed
223accb
to alleviate the need of creating Language Classes for module authors.
223accb
223accb
223accb
%package Log-Message
223accb
Summary:        Generic message storage mechanism
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
# Epoch bump for clean upgrade over old standalone package
223accb
Epoch:          1
223accb
Version:        0.01
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
# Add a versioned provides, since we pull the unversioned one out.
223accb
Provides:       perl(Log::Message::Handlers) = %{version}
223accb
223accb
%description Log-Message
223accb
Log::Message is a generic message storage mechanism. It allows you to 
223accb
store messages on a stack -- either shared or private -- and assign meta-data 
223accb
to it. Some meta-data will automatically be added for you, like a timestamp
223accb
and a stack trace, but some can be filled in by the user, like a tag by
223accb
which to identify it or group it, and a level at which to handle the
223accb
message (for example, log it, or die with it).
223accb
223accb
223accb
%package Log-Message-Simple
223accb
Summary:        Simplified frontend to Log::Message
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
Epoch:          0
223accb
Version:        0.04
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description Log-Message-Simple
223accb
This module provides standardized logging facilities using the
223accb
Log::Message module.
223accb
223accb
223accb
%package Module-Build
223accb
Summary:        Perl module for building and installing Perl modules
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
# Epoch bump for clean upgrade over old standalone package
223accb
Epoch:          1
223accb
# Really 0.2808_01, but we drop the _01.
223accb
Version:        0.2808
223accb
Requires:       perl(Archive::Tar) >= 1.08
223accb
Requires:       perl(ExtUtils::CBuilder) >= 0.15
223accb
Requires:       perl(ExtUtils::ParseXS) >= 1.02
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description Module-Build
223accb
Module::Build is a system for building, testing, and installing Perl
223accb
modules. It is meant to be an alternative to ExtUtils::MakeMaker.
223accb
Developers may alter the behavior of the module through subclassing in a
223accb
much more straightforward way than with MakeMaker. It also does not 
223accb
require a make on your system - most of the Module::Build code is pure-perl and
223accb
written in a very cross-platform way. In fact, you don't even need a 
223accb
shell, so even platforms like MacOS (traditional) can use it fairly easily. Its
223accb
only prerequisites are modules that are included with perl 5.6.0, and it
223accb
works fine on perl 5.005 if you can install a few additional modules.
223accb
223accb
223accb
%package Module-CoreList
223accb
Summary:        Perl core modules indexed by perl versions
223accb
Group:          Development/Languages
223accb
License:        GPL+ or Artistic
223accb
Epoch:          0
a7bd58b
Version:        2.14
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
Requires:       perl(version)
223accb
223accb
%description Module-CoreList
223accb
Module::CoreList contains the hash of hashes %Module::CoreList::version,
223accb
this is keyed on perl version as indicated in $].  The second level hash
223accb
is module => version pairs.
223accb
223accb
223accb
%package Module-Load
223accb
Summary:        Runtime require of both modules and files
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
# Epoch bump for clean upgrade over old standalone package
223accb
Epoch:          1
223accb
Version:        0.12
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description Module-Load
223accb
Module::Load eliminates the need to know whether you are trying to
223accb
require either a file or a module.
223accb
223accb
223accb
%package Module-Load-Conditional
223accb
Summary:        Looking up module information / loading at runtime
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
Epoch:          0
6e38dfc
Version:        0.24
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description Module-Load-Conditional
223accb
Module::Load::Conditional provides simple ways to query and possibly 
223accb
load
223accb
any of the modules you have installed on your system during runtime.
223accb
223accb
223accb
%package Module-Loaded
223accb
Summary:        Mark modules as loaded or unloaded
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
# Epoch bump for clean upgrade over old standalone package
223accb
Epoch:          1
223accb
Version:        0.01
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description Module-Loaded
223accb
When testing applications, often you find yourself needing to provide
223accb
functionality in your test environment that would usually be provided by
223accb
external modules. Rather than munging the %INC by hand to mark these
223accb
external modules as loaded, so they are not attempted to be loaded by
223accb
perl, this module offers you a very simple way to mark modules as loaded
223accb
and/or unloaded.
223accb
223accb
223accb
%package Module-Pluggable
223accb
Summary:        Automatically give your module the ability to have plugins
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
# Epoch bump for clean upgrade over old standalone package
223accb
Epoch:          1
223accb
Version:        3.60
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description Module-Pluggable
223accb
Provides a simple but, hopefully, extensible way of having 'plugins' for
223accb
your module.
223accb
223accb
223accb
%package Object-Accessor
223accb
Summary:        Perl module that allows per object accessors
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
# Epoch bump for clean upgrade over old standalone package
223accb
Epoch:          1
223accb
Version:        0.32
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description Object-Accessor
223accb
Object::Accessor provides an interface to create per object accessors 
223accb
(as opposed to per Class accessors, as, for example, Class::Accessor 
223accb
provides).
223accb
223accb
223accb
%package Package-Constants
223accb
Summary:        List all constants declared in a package
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
# Epoch bump for clean upgrade over old standalone package
223accb
Epoch:          1
223accb
Version:        0.01
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description Package-Constants
223accb
Package::Constants lists all the constants defined in a certain package.
223accb
This can be useful for, among others, setting up an autogenerated
223accb
@EXPORT/@EXPORT_OK for a Constants.pm file.
223accb
223accb
223accb
%package Params-Check
223accb
Summary:        Generic input parsing/checking mechanism
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
# Epoch bump for clean upgrade over old standalone package
223accb
Epoch:          1
223accb
Version:        0.26
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description Params-Check
223accb
Params::Check is a generic input parsing/checking mechanism.
223accb
223accb
223accb
%package Pod-Escapes
223accb
Summary:        Perl module for resolving POD escape sequences
223accb
Group:   	Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
# Epoch bump for clean upgrade over old standalone package
223accb
Epoch:          1
223accb
Version:        1.04
223accb
Requires:	perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description Pod-Escapes
223accb
This module provides things that are useful in decoding Pod E<...>
223accb
sequences. Presumably, it should be used only by Pod parsers and/or
223accb
formatters.
223accb
223accb
223accb
%package Pod-Simple
223accb
Summary:        Framework for parsing POD documentation
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
# Epoch bump for clean upgrade over old standalone package
223accb
Epoch:          1
223accb
Version:        3.05
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description Pod-Simple
223accb
Pod::Simple is a Perl library for parsing text in the Pod ("plain old
223accb
documentation") markup language that is typically used for writing
223accb
documentation for Perl and for Perl modules.
223accb
223accb
223accb
%package Term-UI
223accb
Summary:        Term::ReadLine UI made easy
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
Epoch:          0
223accb
Version:        0.18
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
Requires:       perl(Log::Message::Simple)
223accb
223accb
%description Term-UI
223accb
Term::UI is a transparent way of eliminating the overhead of having to
223accb
format a question and then validate the reply, informing the user if the
223accb
answer was not proper and re-issuing the question.
223accb
223accb
87de3d0
%package Test-Harness
87de3d0
Summary:        Run Perl standard test scripts with statistics
27d74c5
Group:          Development/Languages
22e8f3d
License:        GPL+ or Artistic
87de3d0
Epoch:          0
223accb
Version:        2.64
87de3d0
Requires:       perl-devel
2b5e20c
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
87de3d0
87de3d0
%description Test-Harness
87de3d0
Run Perl standard test scripts with statistics.
325b0b7
Use TAP::Parser, Test::Harness package was whole rewritten.
223accb
87de3d0
%package Test-Simple
87de3d0
Summary:        Basic utilities for writing tests
27d74c5
Group:          Development/Languages
22e8f3d
License:        GPL+ or Artistic
87de3d0
Epoch:          0
223accb
Version:        0.72
87de3d0
Requires:       perl-devel
2b5e20c
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
87de3d0
87de3d0
%description Test-Simple
87de3d0
Basic utilities for writing tests.
378cd40
223accb
223accb
%package Time-Piece
223accb
Summary:        Time objects from localtime and gmtime
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
Epoch:          0
223accb
Version:        1.12
223accb
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description Time-Piece
223accb
The Time::Piece module replaces the standard localtime and gmtime functions
223accb
with implementations that return objects.  It does so in a backwards
223accb
compatible manner, so that using localtime or gmtime as documented in
223accb
perlfunc still behave as expected.
223accb
223accb
223accb
%package version
223accb
Summary:        Perl extension for Version Objects
223accb
Group:          Development/Libraries
223accb
License:        GPL+ or Artistic
223accb
# Epoch bump for clean upgrade over old standalone package
223accb
Epoch:          3
223accb
Version:        0.74
223accb
Requires:	perl = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
%description version
223accb
Perl extension for Version Objects
223accb
223accb
63c832d
%package core
63c832d
Summary:        Base perl metapackage
27d74c5
Group:          Development/Languages
223accb
# This rpm doesn't contain any copyrightable material.
223accb
# Nevertheless, it needs a License tag, so we'll use the generic
223accb
# "perl" license.
22e8f3d
License:        GPL+ or Artistic
63c832d
Epoch:          0
63c832d
Version:        %{perl_version}
63c832d
Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
63c832d
Requires:       perl-libs = %{perl_epoch}:%{perl_version}-%{release}
63c832d
Requires:       perl-devel = %{perl_epoch}:%{perl_version}-%{release}
223accb
223accb
Requires:       perl-Archive-Extract, perl-Archive-Tar, perl-Compress-Raw-Zlib, perl-Compress-Zlib, perl-CPAN,
223accb
Requires:       perl-CPANPLUS, perl-Digest-SHA, perl-ExtUtils-CBuilder,
223accb
Requires:       perl-ExtUtils-Embed, perl-ExtUtils-MakeMaker, perl-ExtUtils-ParseXS,
223accb
Requires:       perl-File-Fetch, perl-IO-Compress-Base, perl-IO-Compress-Zlib, perl-IO-Zlib,
223accb
Requires:       perl-IPC-Cmd, perl-Locale-Maketext-Simple, perl-Log-Message, perl-Log-Message-Simple,
223accb
Requires:       perl-Module-Build, perl-Module-CoreList, perl-Module-Load,
223accb
Requires:       perl-Module-Load-Conditional, perl-Module-Loaded,
223accb
Requires:       perl-Module-Pluggable, perl-Object-Accessor, perl-Package-Constants,
223accb
Requires:       perl-Params-Check, perl-Pod-Escapes, perl-Pod-Simple, perl-Term-UI, 
223accb
Requires:       perl-Test-Harness, perl-Test-Simple, perl-Time-Piece, perl-version
63c832d
# Note: perl-suidperl has always been an independent subpackage
63c832d
# We don't want perl-core to drag it in.
63c832d
63c832d
%description core
63c832d
A metapackage which requires all of the perl bits and modules in the
63c832d
upstream tarball from perl.org.
63c832d
63c832d
jvdias 6c3b438
%prep
223accb
%setup -q 
34e870b
%patch1 -p1
34e870b
%patch2 -p1
34e870b
%patch3 -p1
ce3b874
# This patch breaks sparc64 compilation
ce3b874
# We should probably consider removing it for all arches.
ce3b874
%ifnarch sparc64
34e870b
%patch4 -p1
ce3b874
%endif
223accb
%ifarch %{multilib_64_archs}
jvdias 6c3b438
%patch5 -p1
223accb
%endif
34e870b
%patch6 -p1
34e870b
%patch7 -p1
34e870b
%patch8 -p1
384f2ba
%patch9 -p1
645d176
%patch10 -p1
e1baeee
%patch11 -p1
6a5cde9
%patch12 -p1
eba1424
%patch13 -p1
6a36cc7
%patch14 -p1
0b9fc66
%patch15 -p1
85f75da
%patch16 -p1
c49219d
%patch17 -p1
325b0b7
%patch18 -p1
325b0b7
%patch19 -p1
jvdias 6c3b438
#
jvdias 6c3b438
# Candidates for doc recoding (need case by case review):
jvdias 6c3b438
# find . -name "*.pod" -o -name "README*" -o -name "*.pm" | xargs file -i | grep charset= | grep -v '\(us-ascii\|utf-8\)'
jvdias 6c3b438
recode()
jvdias 6c3b438
{
34e870b
        iconv -f "$2" -t utf-8 < "$1" > "${1}_"
34e870b
        mv -f "${1}_" "$1"
jvdias 6c3b438
}
jvdias 6c3b438
recode README.cn euc-cn
jvdias 6c3b438
recode README.jp euc-jp
jvdias 6c3b438
recode README.ko euc-kr
jvdias 6c3b438
recode README.tw big5
jvdias 6c3b438
recode pod/perlebcdic.pod iso-8859-1
jvdias 6c3b438
recode pod/perlhack.pod iso-8859-1
jvdias 6c3b438
recode pod/perlhist.pod iso-8859-1
jvdias 6c3b438
recode pod/perlothrtut.pod iso-8859-1
jvdias 6c3b438
recode pod/perlthrtut.pod iso-8859-1
jvdias 6c3b438
recode lib/Unicode/Collate.pm iso-8859-1
223accb
for i in Changes*; do
223accb
    recode $i iso-8859-1
223accb
done
223accb
recode AUTHORS iso-8859-1
223accb
jvdias 6c3b438
jvdias 6c3b438
find . -name \*.orig -exec rm -fv {} \;
jvdias 6c3b438
34e870b
# Oh, the irony. Perl generates some non-versioned provides we don't need.
34e870b
# Each of these has a versioned provide, which we keep.
223accb
cat << EOF > perl-prov
34e870b
#!/bin/sh
34e870b
%{__perl_provides} $* |\
34e870b
    sed -e '/^perl(Carp)$/d' |\
34e870b
    sed -e '/^perl(DynaLoader)$/d' |\
34e870b
    sed -e '/^perl(Locale::Maketext)$/d' |\
223accb
    sed -e '/^perl(Log::Message::Handlers)$/d' |\
34e870b
    sed -e '/^perl(Math::BigInt)$/d' |\
34e870b
    sed -e '/^perl(Net::Config)$/d' |\
34e870b
    sed -e '/^perl(Tie::Hash)$/d' |\
34e870b
    sed -e '/^perl(bigint)$/d' |\
34e870b
    sed -e '/^perl(bigrat)$/d' |\
34e870b
    sed -e '/^perl(bytes)$/d' |\
223accb
    sed -e '/^perl(utf8)$/d' |\
223accb
    sed -e '/^perl(DB)$/d'
34e870b
EOF
223accb
%define __perl_provides %{_builddir}/%{name}-%{perl_version}/perl-prov
34e870b
chmod +x %{__perl_provides}
34e870b
223accb
# Configure Compress::Zlib to use system zlib
223accb
sed -i "s|BUILD_ZLIB      = True|BUILD_ZLIB      = False|" ext/Compress/Raw/Zlib/config.in
223accb
sed -i "s|INCLUDE         = ./zlib-src|INCLUDE         = %{_includedir}|" ext/Compress/Raw/Zlib/config.in
223accb
sed -i "s|LIB             = ./zlib-src|LIB             = %{_libdir}|" ext/Compress/Raw/Zlib/config.in
jvdias 6c3b438
jvdias 6c3b438
%build
jvdias 6c3b438
echo "RPM Build arch: %{_arch}"
jvdias 6c3b438
1b6ae01
# use "lib", not %{_lib}, for privlib, sitelib, and vendorlib
jvdias 6c3b438
2b5e20c
/bin/sh Configure -des -Doptimize="$RPM_OPT_FLAGS" \
87de3d0
        -Dversion=%{perl_version} \
34e870b
        -Dmyhostname=localhost \
34e870b
        -Dperladmin=root@localhost \
34e870b
        -Dcc='%{__cc}' \
34e870b
        -Dcf_by='Red Hat, Inc.' \
34e870b
        -Dprefix=%{_prefix} \
1b6ae01
        -Dvendorprefix=%{_prefix} \
1b6ae01
        -Dsiteprefix=%{_prefix}/local \
2b5e20c
        -Dprivlib="%{_prefix}/lib/perl5/%{perl_version}" \
e1baeee
        -Dsitelib="%{_prefix}/local/lib/perl5/site_perl/%{perl_version}" \
2b5e20c
        -Dvendorlib="%{_prefix}/lib/perl5/vendor_perl/%{perl_version}" \
87de3d0
        -Darchlib="%{_libdir}/perl5/%{perl_version}/%{perl_archname}" \
e1baeee
        -Dsitearch="%{_prefix}/local/%{_lib}/perl5/site_perl/%{perl_version}/%{perl_archname}" \
87de3d0
        -Dvendorarch="%{_libdir}/perl5/vendor_perl/%{perl_version}/%{perl_archname}" \
1b6ae01
        -Dinc_version_list=none \
1b6ae01
        -Darchname=%{perl_archname} \
1b6ae01
%ifarch %{multilib_64_archs}
1b6ae01
        -Dlibpth="/usr/local/lib64 /lib64 %{_prefix}/lib64" \
jvdias 6c3b438
%endif
223accb
%ifarch sparc sparcv9
34e870b
        -Ud_longdbl \
jvdias 6c3b438
%endif
34e870b
        -Duseshrplib \
34e870b
        -Dusethreads \
34e870b
        -Duseithreads \
34e870b
        -Duselargefiles \
34e870b
        -Dd_dosuid \
34e870b
        -Dd_semctl_semun \
34e870b
        -Di_db \
34e870b
        -Ui_ndbm \
34e870b
        -Di_gdbm \
34e870b
        -Di_shadow \
34e870b
        -Di_syslog \
34e870b
        -Dman3ext=3pm \
34e870b
        -Duseperlio \
34e870b
        -Dinstallusrbinperl=n \
34e870b
        -Ubincompat5005 \
34e870b
        -Uversiononly \
34e870b
        -Dpager='/usr/bin/less -isr' \
34e870b
        -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto \
34e870b
        -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto \
34e870b
        -Ud_endservent_r_proto -Ud_setservent_r_proto \
34e870b
        -Dscriptdir='%{_bindir}'
jvdias 6c3b438
jvdias 6c3b438
make %{?_smp_mflags}
jvdias 6c3b438
jvdias 6c3b438
jvdias 6c3b438
%install
jvdias 6c3b438
rm -rf $RPM_BUILD_ROOT
jvdias 6c3b438
make install DESTDIR=$RPM_BUILD_ROOT
jvdias 6c3b438
1b6ae01
%define new_perl_lib  $RPM_BUILD_ROOT%{_libdir}/perl5/%{version}
1b6ae01
%define comp_perl_lib $RPM_BUILD_ROOT%{_prefix}/lib/perl5/%{version}
1b6ae01
%define new_arch_lib  $RPM_BUILD_ROOT%{_libdir}/perl5/%{version}/%{perl_archname}
1b6ae01
%define new_vendor_lib $RPM_BUILD_ROOT%{_libdir}/perl5/vendor_perl/%{version}
1b6ae01
%define comp_vendor_lib $RPM_BUILD_ROOT%{_prefix}/lib/perl5/vendor_perl/%{version}
1b6ae01
%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}
1b6ae01
%define new_perl %{new_perl_flags} $RPM_BUILD_ROOT%{_bindir}/perl
1b6ae01
1b6ae01
# perl doesn't create this directory, but modules put things in it, so we need to own it.
1b6ae01
mkdir -p -m 755 %{new_vendor_lib}/%{perl_archname}/auto
1b6ae01
jvdias 6c3b438
%ifarch %{multilib_64_archs}
d44a83d
%ifarch x86_64
1b6ae01
%define arch32 i386
d44a83d
%endif
d44a83d
%ifarch s390x
1b6ae01
%define arch32 s390
d44a83d
%endif
d44a83d
%ifarch ppc64
1b6ae01
%define arch32 ppc
d44a83d
%endif
d44a83d
%ifarch sparc64
1b6ae01
%define arch32 sparc
d44a83d
%endif
1b6ae01
mkdir -p -m 755 %{comp_perl_lib} %{comp_vendor_lib}{,/%{arch32}-%{_os}%{perl_arch_stem}}/auto
jvdias 6c3b438
%endif
jvdias 6c3b438
jvdias 6c3b438
install -p -m 755 utils/pl2pm ${RPM_BUILD_ROOT}%{_bindir}/pl2pm
jvdias 6c3b438
jvdias 6c3b438
for i in asm/termios.h syscall.h syslimits.h syslog.h sys/ioctl.h sys/socket.h sys/time.h wait.h
jvdias 6c3b438
do
1b6ae01
  %{new_perl} $RPM_BUILD_ROOT%{_bindir}/h2ph -a -d %{new_arch_lib} $i || /bin/true
jvdias 6c3b438
done
jvdias 6c3b438
jvdias 6c3b438
#
jvdias 6c3b438
# libnet configuration file
jvdias 6c3b438
#
1b6ae01
mkdir -p -m 755 %{new_perl_lib}/Net
1b6ae01
install -p -m 644 %{SOURCE12} %{new_perl_lib}/Net/libnet.cfg
jvdias 6c3b438
jvdias 6c3b438
#
jvdias 6c3b438
# Core modules removal
jvdias 6c3b438
#
jvdias 6c3b438
find $RPM_BUILD_ROOT -name '*NDBM*' | xargs rm -rfv
jvdias 6c3b438
1b6ae01
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty | xargs rm -f 
jvdias 6c3b438
223accb
# Install sample cgi scripts (this used to happen automatically?)
1b6ae01
mkdir -p %{comp_perl_lib}/CGI/eg/
1b6ae01
cp -a lib/CGI/eg/* %{comp_perl_lib}/CGI/eg/
223accb
34e870b
# Cleanup binary paths and make cgi files executable
1b6ae01
pushd %{comp_perl_lib}/CGI/eg/
34e870b
  for i in *.cgi make_links.pl RunMeFirst ; do
1b6ae01
    sed -i 's|%{_prefix}/local/bin/perl|%{_bindir}/perl|g' $i
34e870b
    chmod +x $i
34e870b
  done
34e870b
popd
34e870b
34e870b
# miniperl? As an interpreter? How odd.
1b6ae01
sed -i 's|./miniperl|%{_bindir}/perl|' %{comp_perl_lib}/ExtUtils/xsubpp
1b6ae01
chmod +x %{comp_perl_lib}/ExtUtils/xsubpp
34e870b
34e870b
# Don't need the .packlist
1b6ae01
rm -f %{new_arch_lib}/.packlist
34e870b
34e870b
# Fix some manpages to be UTF-8
34e870b
pushd $RPM_BUILD_ROOT%{_mandir}/man1/
34e870b
  for i in perl588delta.1 perldelta.1 ; do
34e870b
    iconv -f MS-ANSI -t UTF-8 $i --output new-$i
34e870b
    rm -rf $i
34e870b
    mv new-$i $i
34e870b
  done
34e870b
popd
34e870b
jvdias 6c3b438
chmod -R u+w $RPM_BUILD_ROOT/*
jvdias 6c3b438
0a91f37
# Compress Changes* to save space
0a91f37
%{__gzip} Changes*
0a91f37
f3a2a32
# Local patch tracking
f3a2a32
cd $RPM_BUILD_ROOT%{_libdir}/perl5/%{perl_version}/%{perl_archname}/CORE/
74f2279
perl -x patchlevel.h 'Fedora Patch1: Permit suidperl to install as nonroot'
74f2279
perl -x patchlevel.h 'Fedora Patch2: Removes date check, Fedora/RHEL specific'
74f2279
perl -x patchlevel.h 'Fedora Patch3: Fedora/RHEL use links instead of lynx'
ce3b874
%ifnarch sparc64
74f2279
perl -x patchlevel.h 'Fedora Patch4: Work around annoying rpath issue'
ce3b874
%endif
6a5cde9
%ifarch %{multilib_64_archs}
74f2279
perl -x patchlevel.h 'Fedora Patch5: support for libdir64'
6a5cde9
%endif
74f2279
perl -x patchlevel.h 'Fedora Patch6: use libresolv instead of libbind'
74f2279
perl -x patchlevel.h 'Fedora Patch7: USE_MM_LD_RUN_PATH'
74f2279
perl -x patchlevel.h 'Fedora Patch8: Skip hostname tests, due to builders not being network capable'
74f2279
perl -x patchlevel.h 'Fedora Patch9: Update Sys::Syslog to 0.24'
74f2279
perl -x patchlevel.h 'Fedora Patch10: Dont run one io test due to random builder failures'
f3a2a32
perl -x patchlevel.h '32891 fix big slowdown in 5.10 @_ parameter passing'
6e38dfc
perl -x patchlevel.h 'Fedora Patch12: Update Module::Load::Conditional to 0.24'
d44a83d
perl -x patchlevel.h 'Fedora Patch13: Upgrade Module::CoreList to 2.14'
6a36cc7
perl -x patchlevel.h 'Fedora Patch14: Upgrade CGI to 3.37'
0b9fc66
perl -x patchlevel.h 'Fedora Patch15: Adopt upstream commit for assertion'
85f75da
perl -x patchlevel.h 'Fedora Patch16: Access permission - rt49003'
c49219d
perl -x patchlevel.h 'Fedora Patch17: CVE-2008-2827 perl: insecure use of chmod in rmtree'
325b0b7
perl -x patchlevel.h 'Fedora Patch18: Remove old Test::Harness'
325b0b7
perl -x patchlevel.h 'Fedora Patch19: Update Test::Harness to 3.12'
f3a2a32
jvdias 6c3b438
%clean
jvdias 6c3b438
rm -rf $RPM_BUILD_ROOT
jvdias 6c3b438
34e870b
%check
ce3b874
%ifnarch sparc64
34e870b
make test
ce3b874
%endif
34e870b
ad8e701
%post libs -p /sbin/ldconfig
ad8e701
ad8e701
%postun libs -p /sbin/ldconfig
ad8e701
jvdias 6c3b438
%files
jvdias 6c3b438
%defattr(-,root,root,-)
0a91f37
%doc Artistic AUTHORS Changes* Copying README
jvdias 6c3b438
%{_mandir}/man1/*.1*
jvdias 6c3b438
%{_mandir}/man3/*.3*
jvdias 6c3b438
%{_bindir}/*
jvdias 6c3b438
%{_libdir}/perl5/
jvdias 6c3b438
%ifarch %{multilib_64_archs}
2b5e20c
%{_prefix}/lib/perl5/
jvdias 6c3b438
%endif
87de3d0
ad8e701
# libs
ad8e701
%exclude %{_libdir}/perl5/%{perl_version}/%{perl_archname}/CORE/libperl.so
ad8e701
87de3d0
# devel
378cd40
%exclude %{_bindir}/enc2xs
378cd40
%exclude %{_mandir}/man1/enc2xs*
378cd40
%exclude %{_bindir}/h2xs
378cd40
%exclude %{_mandir}/man1/h2xs*
378cd40
%exclude %{_bindir}/libnetcfg
378cd40
%exclude %{_mandir}/man1/libnetcfg*
378cd40
%exclude %{_bindir}/perlivp
378cd40
%exclude %{_mandir}/man1/perlivp*
87de3d0
%exclude %{_libdir}/perl5/%{perl_version}/%{perl_archname}/CORE/*.h
7d9e370
%exclude %{_bindir}/xsubpp
7d9e370
%exclude %{_mandir}/man1/xsubpp*
87de3d0
87de3d0
# suidperl
jvdias 6c3b438
%exclude %{_bindir}/suidperl
87de3d0
%exclude %{_bindir}/sperl%{perl_version}
87de3d0
223accb
# Archive-Extract
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Archive/Extract.pm
223accb
%exclude %{_mandir}/man3/Archive::Extract.3*
223accb
223accb
# Archive-Tar
223accb
%exclude %{_bindir}/ptar
223accb
%exclude %{_bindir}/ptardiff
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Archive/Tar/
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Archive/Tar.pm
223accb
%exclude %{_mandir}/man1/ptar.1*
223accb
%exclude %{_mandir}/man1/ptardiff.1*
223accb
%exclude %{_mandir}/man3/Archive::Tar*
223accb
378cd40
# CPAN
378cd40
%exclude %{_bindir}/cpan
2b5e20c
%exclude %{_prefix}/lib/perl5/%{perl_version}/CPAN/
2b5e20c
%exclude %{_prefix}/lib/perl5/%{perl_version}/CPAN.pm
378cd40
%exclude %{_mandir}/man1/cpan.1*
223accb
%exclude %{_mandir}/man3/CPAN.*
223accb
%exclude %{_mandir}/man3/CPAN:*
223accb
223accb
# CPANPLUS
223accb
%exclude %{_bindir}/cpan2dist
223accb
%exclude %{_bindir}/cpanp
223accb
%exclude %{_bindir}/cpanp-run-perl
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/CPANPLUS/
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/CPANPLUS.pm
223accb
%exclude %{_mandir}/man1/cpan2dist.1*
223accb
%exclude %{_mandir}/man1/cpanp.1*
223accb
%exclude %{_mandir}/man3/CPANPLUS*
223accb
223accb
# Compress::Raw::Zlib
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/Compress
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/Compress/Raw/
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/auto/Compress
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/auto/Compress/Raw/
223accb
%exclude %{_mandir}/man3/Compress::Raw::Zlib*
223accb
223accb
# Compress::Zlib
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/Compress/Zlib.pm
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/auto/Compress/Zlib/
223accb
%exclude %{_mandir}/man3/Compress::Zlib*
223accb
223accb
# Digest::SHA
223accb
%exclude %{_bindir}/shasum
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/Digest/SHA.pm
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/auto/Digest/SHA/
223accb
%exclude %{_mandir}/man1/shasum.1*
223accb
%exclude %{_mandir}/man3/Digest::SHA.3*
223accb
223accb
# ExtUtils::CBuilder
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/CBuilder/
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/CBuilder.pm
223accb
%exclude %{_mandir}/man3/ExtUtils::CBuilder*
223accb
223accb
# ExtUtils::Embed
7706e26
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Embed.pm
378cd40
%exclude %{_mandir}/man3/ExtUtils::Embed*
87de3d0
223accb
# ExtUtils::MakeMaker
378cd40
%exclude %{_bindir}/instmodsh
7706e26
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Command/
7706e26
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Install.pm
7706e26
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Installed.pm
7706e26
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Liblist/
7706e26
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Liblist.pm
7706e26
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MakeMaker/
7706e26
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MakeMaker.pm
7706e26
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MANIFEST.SKIP
7706e26
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MM*.pm
7706e26
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MY.pm
7706e26
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Manifest.pm
7706e26
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Mkbootstrap.pm
7706e26
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Mksymlists.pm
7706e26
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Packlist.pm
7706e26
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/testlib.pm
378cd40
%exclude %{_mandir}/man1/instmodsh.1*
378cd40
%exclude %{_mandir}/man3/ExtUtils::Command::MM*
378cd40
%exclude %{_mandir}/man3/ExtUtils::Install.3*
378cd40
%exclude %{_mandir}/man3/ExtUtils::Installed.3*
378cd40
%exclude %{_mandir}/man3/ExtUtils::Liblist.3*
378cd40
%exclude %{_mandir}/man3/ExtUtils::MM*
378cd40
%exclude %{_mandir}/man3/ExtUtils::MY.3*
378cd40
%exclude %{_mandir}/man3/ExtUtils::MakeMaker*
378cd40
%exclude %{_mandir}/man3/ExtUtils::Manifest.3*
378cd40
%exclude %{_mandir}/man3/ExtUtils::Mkbootstrap.3*
378cd40
%exclude %{_mandir}/man3/ExtUtils::Mksymlists.3*
378cd40
%exclude %{_mandir}/man3/ExtUtils::Packlist.3*
378cd40
%exclude %{_mandir}/man3/ExtUtils::testlib.3*
87de3d0
223accb
# ExtUtils::ParseXS
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/ParseXS.pm
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/xsubpp
223accb
%exclude %{_mandir}/man3/ExtUtils::ParseXS.3*
223accb
223accb
# File::Fetch
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/File/Fetch.pm
223accb
%exclude %{_mandir}/man3/File::Fetch.3*
223accb
223accb
# IO::Compress::Base
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/File/GlobMapper.pm
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/IO/Compress/Base/
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/IO/Compress/Base.pm
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/IO/Uncompress/AnyUncompress.pm
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/IO/Uncompress/Base.pm
223accb
%exclude %{_mandir}/man3/File::GlobMapper.*
223accb
%exclude %{_mandir}/man3/IO::Compress::Base.*
223accb
%exclude %{_mandir}/man3/IO::Uncompress::AnyUncompress.*
223accb
%exclude %{_mandir}/man3/IO::Uncompress::Base.*
223accb
223accb
# IO::Compress::Zlib
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/IO/Compress/Adapter/
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/IO/Compress/Deflate.pm
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/IO/Compress/Gzip/
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/IO/Compress/Gzip.pm
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/IO/Compress/RawDeflate.pm
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/IO/Compress/Zip/
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/IO/Compress/Zip.pm
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/IO/Compress/Zlib/
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/IO/Uncompress/Adapter/
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/IO/Uncompress/AnyInflate.pm
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/IO/Uncompress/Gunzip.pm
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/IO/Uncompress/Inflate.pm
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/IO/Uncompress/RawInflate.pm
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/IO/Uncompress/Unzip.pm
223accb
%exclude %{_mandir}/man3/IO::Compress::Deflate*
223accb
%exclude %{_mandir}/man3/IO::Compress::Gzip*
223accb
%exclude %{_mandir}/man3/IO::Compress::RawDeflate*
223accb
%exclude %{_mandir}/man3/IO::Compress::Zip*
223accb
%exclude %{_mandir}/man3/IO::Uncompress::AnyInflate*
223accb
%exclude %{_mandir}/man3/IO::Uncompress::Gunzip*
223accb
%exclude %{_mandir}/man3/IO::Uncompress::Inflate*
223accb
%exclude %{_mandir}/man3/IO::Uncompress::RawInflate*
223accb
%exclude %{_mandir}/man3/IO::Uncompress::Unzip*
223accb
223accb
# IO::Zlib
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/IO/Zlib.pm
223accb
%exclude %{_mandir}/man3/IO::Zlib.*
223accb
223accb
# IPC::Cmd
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/IPC/Cmd.pm
223accb
%exclude %{_mandir}/man3/IPC::Cmd.3*
223accb
223accb
# Locale::Maketext::Simple
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Locale/Maketext/Simple.pm
223accb
%exclude %{_mandir}/man3/Locale::Maketext::Simple.*
223accb
223accb
# Log::Message
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Log/Message.pm
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Log/Message/Config.pm
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Log/Message/Handlers.pm
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Log/Message/Item.pm
223accb
%exclude %{_mandir}/man3/Log::Message.3*
223accb
%exclude %{_mandir}/man3/Log::Message::Config.3*
223accb
%exclude %{_mandir}/man3/Log::Message::Handlers.3*
223accb
%exclude %{_mandir}/man3/Log::Message::Item.3*
223accb
223accb
# Log::Message::Simple
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Log/Message/Simple.pm
223accb
%exclude %{_mandir}/man3/Log::Message::Simple.3*
223accb
223accb
# Module::Build
223accb
%exclude %{_bindir}/config_data
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/Build/
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/Build.pm
223accb
%exclude %{_mandir}/man1/config_data.1*
223accb
%exclude %{_mandir}/man3/Module::Build*
223accb
223accb
# Module-CoreList
223accb
%exclude %{_bindir}/corelist
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/CoreList.pm
223accb
%exclude %{_mandir}/man1/corelist*
223accb
%exclude %{_mandir}/man3/Module::CoreList*
223accb
223accb
# Module-Load
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/Load.pm
223accb
%exclude %{_mandir}/man3/Module::Load.*
223accb
223accb
# Module-Load-Conditional
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/Load/
223accb
%exclude %{_mandir}/man3/Module::Load::Conditional*
223accb
223accb
# Module-Loaded
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/Loaded.pm
223accb
%exclude %{_mandir}/man3/Module::Loaded*
223accb
223accb
# Module-Pluggable
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Devel/InnerPackage.pm
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/Pluggable/
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/Pluggable.pm
223accb
%exclude %{_mandir}/man3/Devel::InnerPackage*
223accb
%exclude %{_mandir}/man3/Module::Pluggable*
223accb
223accb
# Object-Accessor
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Object/
223accb
%exclude %{_mandir}/man3/Object::Accessor*
223accb
223accb
# Package-Constants
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Package/
223accb
%exclude %{_mandir}/man3/Package::Constants*
223accb
223accb
# Params-Check
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Params/
223accb
%exclude %{_mandir}/man3/Params::Check*
223accb
223accb
# Pod-Escapes
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Pod/Escapes.pm
223accb
%exclude %{_mandir}/man3/Pod::Escapes.*
223accb
223accb
# Pod-Simple
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Pod/Simple/
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Pod/Simple.pm
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Pod/Simple.pod
223accb
%exclude %{_mandir}/man3/Pod::Simple*
223accb
223accb
# Term-UI
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Term/UI.pm
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/Term/UI/
223accb
%exclude %{_mandir}/man3/Term::UI*
223accb
378cd40
# Test::Harness
378cd40
%exclude %{_bindir}/prove
7706e26
%exclude %{_prefix}/lib/perl5/%{perl_version}/Test/Harness*
378cd40
%exclude %{_mandir}/man1/prove.1*
378cd40
%exclude %{_mandir}/man3/Test::Harness*
34e870b
87de3d0
# Test::Simple
7706e26
%exclude %{_prefix}/lib/perl5/%{perl_version}/Test/More*
7706e26
%exclude %{_prefix}/lib/perl5/%{perl_version}/Test/Builder*
7706e26
%exclude %{_prefix}/lib/perl5/%{perl_version}/Test/Simple*
7706e26
%exclude %{_prefix}/lib/perl5/%{perl_version}/Test/Tutorial*
87de3d0
%exclude %{_mandir}/man3/Test::More*
87de3d0
%exclude %{_mandir}/man3/Test::Builder*
87de3d0
%exclude %{_mandir}/man3/Test::Simple*
87de3d0
%exclude %{_mandir}/man3/Test::Tutorial*
87de3d0
223accb
# Time::Piece
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/Time/Piece.pm
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/Time/Seconds.pm
223accb
%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/auto/Time/Piece/
223accb
%exclude %{_mandir}/man3/Time::Piece.3*
223accb
%exclude %{_mandir}/man3/Time::Seconds.3*
223accb
223accb
# version
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/version.pm
223accb
%exclude %{_prefix}/lib/perl5/%{perl_version}/version.pod
223accb
%exclude %{_mandir}/man3/version.*
223accb
223accb
%files libs
ad8e701
%defattr(-,root,root)
223accb
%{_libdir}/perl5/%{perl_version}/%{perl_archname}/CORE/libperl.so
ad8e701
34e870b
%files devel
34e870b
%defattr(-,root,root,-)
378cd40
%{_bindir}/enc2xs
378cd40
%{_mandir}/man1/enc2xs*
378cd40
%{_bindir}/h2xs
378cd40
%{_mandir}/man1/h2xs*
378cd40
%{_bindir}/libnetcfg
378cd40
%{_mandir}/man1/libnetcfg*
378cd40
%{_bindir}/perlivp
378cd40
%{_mandir}/man1/perlivp*
87de3d0
%{_libdir}/perl5/%{perl_version}/%{perl_archname}/CORE/*.h
7d9e370
%{_bindir}/xsubpp
7d9e370
%{_mandir}/man1/xsubpp*
87de3d0
87de3d0
%files suidperl
87de3d0
%defattr(-,root,root,-)
87de3d0
%{_bindir}/suidperl
87de3d0
%{_bindir}/sperl%{perl_version}
87de3d0
223accb
%files Archive-Extract
223accb
%defattr(-,root,root,-)
223accb
%{_prefix}/lib/perl5/%{perl_version}/Archive/
223accb
%{_mandir}/man3/Archive::Extract.3*
223accb
223accb
%files Archive-Tar
223accb
%defattr(-,root,root,-)
223accb
%{_bindir}/ptar
223accb
%{_bindir}/ptardiff
223accb
%{_prefix}/lib/perl5/%{perl_version}/Archive/Tar/ 
223accb
%{_prefix}/lib/perl5/%{perl_version}/Archive/Tar.pm
223accb
%{_mandir}/man1/ptar.1*
223accb
%{_mandir}/man1/ptardiff.1*
223accb
%{_mandir}/man3/Archive::Tar* 
223accb
223accb
%files Compress-Raw-Zlib
223accb
%defattr(-,root,root,-)
223accb
%dir %{_libdir}/perl5/%{version}/%{perl_archname}/Compress
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/Compress/Raw/
223accb
%dir %{_libdir}/perl5/%{version}/%{perl_archname}/auto/Compress/
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/auto/Compress/Raw/
223accb
%{_mandir}/man3/Compress::Raw::Zlib*
223accb
223accb
%files Compress-Zlib
223accb
%defattr(-,root,root,-)
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/Compress/Zlib.pm
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/auto/Compress/Zlib/
223accb
%{_mandir}/man3/Compress::Zlib*
223accb
87de3d0
%files CPAN
87de3d0
%defattr(-,root,root,-)
378cd40
%{_bindir}/cpan
2b5e20c
%{_prefix}/lib/perl5/%{perl_version}/CPAN/
2b5e20c
%{_prefix}/lib/perl5/%{perl_version}/CPAN.pm
378cd40
%{_mandir}/man1/cpan.1*
223accb
%{_mandir}/man3/CPAN.*
223accb
%{_mandir}/man3/CPAN:*
223accb
223accb
%files CPANPLUS
223accb
%defattr(-,root,root,-)
223accb
%{_bindir}/cpan2dist
223accb
%{_bindir}/cpanp
223accb
%{_bindir}/cpanp-run-perl
223accb
%{_prefix}/lib/perl5/%{perl_version}/CPANPLUS/
223accb
%{_prefix}/lib/perl5/%{perl_version}/CPANPLUS.pm
223accb
%{_mandir}/man1/cpan2dist.1*
223accb
%{_mandir}/man1/cpanp.1*
223accb
%{_mandir}/man3/CPANPLUS*
223accb
223accb
%files Digest-SHA
223accb
%defattr(-,root,root,-)
223accb
%{_bindir}/shasum
223accb
%dir %{_libdir}/perl5/%{version}/%{perl_archname}/Digest/
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/Digest/SHA.pm
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/auto/Digest/SHA/
223accb
%{_mandir}/man1/shasum.1*
223accb
%{_mandir}/man3/Digest::SHA.3*
223accb
223accb
%files ExtUtils-CBuilder
223accb
%defattr(-,root,root,-)
223accb
%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/CBuilder/
223accb
%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/CBuilder.pm
223accb
%{_mandir}/man3/ExtUtils::CBuilder*
87de3d0
87de3d0
%files ExtUtils-Embed
87de3d0
%defattr(-,root,root,-)
7706e26
%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Embed.pm
378cd40
%{_mandir}/man3/ExtUtils::Embed*
87de3d0
87de3d0
%files ExtUtils-MakeMaker
87de3d0
%defattr(-,root,root,-)
378cd40
%{_bindir}/instmodsh
7706e26
%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Command/
7706e26
%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Install.pm
7706e26
%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Installed.pm
7706e26
%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Liblist/
7706e26
%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Liblist.pm
7706e26
%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MakeMaker/
7706e26
%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MakeMaker.pm
7706e26
%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MANIFEST.SKIP
7706e26
%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MM*.pm
7706e26
%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MY.pm
7706e26
%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Manifest.pm
7706e26
%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Mkbootstrap.pm
7706e26
%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Mksymlists.pm
7706e26
%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Packlist.pm
7706e26
%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/testlib.pm
378cd40
%{_mandir}/man1/instmodsh.1*
378cd40
%{_mandir}/man3/ExtUtils::Command::MM*
378cd40
%{_mandir}/man3/ExtUtils::Install.3*
378cd40
%{_mandir}/man3/ExtUtils::Installed.3*
378cd40
%{_mandir}/man3/ExtUtils::Liblist.3*
378cd40
%{_mandir}/man3/ExtUtils::MM*
378cd40
%{_mandir}/man3/ExtUtils::MY.3*
378cd40
%{_mandir}/man3/ExtUtils::MakeMaker*
378cd40
%{_mandir}/man3/ExtUtils::Manifest.3*
378cd40
%{_mandir}/man3/ExtUtils::Mkbootstrap.3*
378cd40
%{_mandir}/man3/ExtUtils::Mksymlists.3*
378cd40
%{_mandir}/man3/ExtUtils::Packlist.3*
378cd40
%{_mandir}/man3/ExtUtils::testlib.3*
87de3d0
223accb
%files ExtUtils-ParseXS
87de3d0
%defattr(-,root,root,-)
223accb
%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/ParseXS.pm
223accb
%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/xsubpp
223accb
%{_mandir}/man3/ExtUtils::ParseXS.3*
jvdias 6c3b438
223accb
%files File-Fetch
34e870b
%defattr(-,root,root,-)
223accb
%{_prefix}/lib/perl5/%{perl_version}/File/Fetch.pm
223accb
%{_mandir}/man3/File::Fetch.3*
jvdias 6c3b438
223accb
%files IO-Compress-Base
223accb
%defattr(-,root,root,-)
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/File/GlobMapper.pm
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/IO/Compress/Base/
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/IO/Compress/Base.pm
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/IO/Uncompress/AnyUncompress.pm
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/IO/Uncompress/Base.pm
223accb
%{_mandir}/man3/File::GlobMapper.*
223accb
%{_mandir}/man3/IO::Compress::Base.*
223accb
%{_mandir}/man3/IO::Uncompress::AnyUncompress.*
223accb
%{_mandir}/man3/IO::Uncompress::Base.*
223accb
223accb
%files IO-Compress-Zlib
223accb
%defattr(-,root,root,-)
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/IO/Compress/Adapter/
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/IO/Compress/Deflate.pm
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/IO/Compress/Gzip/
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/IO/Compress/Gzip.pm
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/IO/Compress/RawDeflate.pm
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/IO/Compress/Zip/
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/IO/Compress/Zip.pm
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/IO/Compress/Zlib/
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/IO/Uncompress/Adapter/
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/IO/Uncompress/AnyInflate.pm
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/IO/Uncompress/Gunzip.pm
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/IO/Uncompress/Inflate.pm
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/IO/Uncompress/RawInflate.pm
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/IO/Uncompress/Unzip.pm
223accb
%{_mandir}/man3/IO::Compress::Deflate*
223accb
%{_mandir}/man3/IO::Compress::Gzip*
223accb
%{_mandir}/man3/IO::Compress::RawDeflate*
223accb
%{_mandir}/man3/IO::Compress::Zip*
223accb
%{_mandir}/man3/IO::Uncompress::AnyInflate*
223accb
%{_mandir}/man3/IO::Uncompress::Gunzip*
223accb
%{_mandir}/man3/IO::Uncompress::Inflate*
223accb
%{_mandir}/man3/IO::Uncompress::RawInflate*
223accb
%{_mandir}/man3/IO::Uncompress::Unzip*
223accb
223accb
%files IO-Zlib
223accb
%defattr(-,root,root,-)
223accb
%{_prefix}/lib/perl5/%{perl_version}/IO/Zlib.pm
223accb
%{_mandir}/man3/IO::Zlib.*
jvdias 6c3b438
223accb
%files IPC-Cmd
223accb
%defattr(-,root,root,-)
223accb
%{_prefix}/lib/perl5/%{perl_version}/IPC/Cmd.pm
223accb
%{_mandir}/man3/IPC::Cmd.3*
jvdias 6c3b438
223accb
%files Locale-Maketext-Simple
223accb
%defattr(-,root,root,-)
223accb
%{_prefix}/lib/perl5/%{perl_version}/Locale/Maketext/Simple.pm
223accb
%{_mandir}/man3/Locale::Maketext::Simple.*
jvdias 6c3b438
223accb
%files Log-Message
223accb
%defattr(-,root,root,-)
223accb
%{_prefix}/lib/perl5/%{perl_version}/Log/Message.pm
223accb
%{_prefix}/lib/perl5/%{perl_version}/Log/Message/Config.pm
223accb
%{_prefix}/lib/perl5/%{perl_version}/Log/Message/Handlers.pm
223accb
%{_prefix}/lib/perl5/%{perl_version}/Log/Message/Item.pm
223accb
%{_mandir}/man3/Log::Message.3*
223accb
%{_mandir}/man3/Log::Message::Config.3*
223accb
%{_mandir}/man3/Log::Message::Handlers.3*
223accb
%{_mandir}/man3/Log::Message::Item.3*
223accb
223accb
%files Log-Message-Simple
223accb
%defattr(-,root,root,-)
223accb
%{_prefix}/lib/perl5/%{perl_version}/Log/Message/Simple.pm
223accb
%{_mandir}/man3/Log::Message::Simple.3*
jvdias 6c3b438
223accb
%files Module-Build
223accb
%defattr(-,root,root,-)
223accb
%{_bindir}/config_data
223accb
%{_prefix}/lib/perl5/%{perl_version}/Module/Build/
223accb
%{_prefix}/lib/perl5/%{perl_version}/Module/Build.pm
223accb
%{_mandir}/man1/config_data.1*
223accb
%{_mandir}/man3/Module::Build*
jvdias 6c3b438
223accb
%files Module-CoreList
223accb
%defattr(-,root,root,-)
223accb
%{_bindir}/corelist
223accb
%{_prefix}/lib/perl5/%{perl_version}/Module/CoreList.pm
223accb
%{_mandir}/man1/corelist*
223accb
%{_mandir}/man3/Module::CoreList*
jvdias 6c3b438
223accb
%files Module-Load
223accb
%defattr(-,root,root,-)
223accb
%{_prefix}/lib/perl5/%{perl_version}/Module/Load.pm
223accb
%{_mandir}/man3/Module::Load.*
jvdias 6c3b438
223accb
%files Module-Load-Conditional
223accb
%defattr(-,root,root,-)
223accb
%{_prefix}/lib/perl5/%{perl_version}/Module/Load/
223accb
%{_mandir}/man3/Module::Load::Conditional* 
jvdias 6c3b438
223accb
%files Module-Loaded
223accb
%defattr(-,root,root,-)
223accb
%dir %{_prefix}/lib/perl5/%{perl_version}/Module/
223accb
%{_prefix}/lib/perl5/%{perl_version}/Module/Loaded.pm
223accb
%{_mandir}/man3/Module::Loaded*
jvdias 6c3b438
223accb
%files Module-Pluggable
223accb
%defattr(-,root,root,-)
223accb
%{_prefix}/lib/perl5/%{perl_version}/Devel/InnerPackage.pm
223accb
%{_prefix}/lib/perl5/%{perl_version}/Module/Pluggable/
223accb
%{_prefix}/lib/perl5/%{perl_version}/Module/Pluggable.pm
223accb
%{_mandir}/man3/Devel::InnerPackage*
223accb
%{_mandir}/man3/Module::Pluggable*
jvdias 6c3b438
223accb
%files Object-Accessor
223accb
%defattr(-,root,root,-)
223accb
%{_prefix}/lib/perl5/%{perl_version}/Object/
223accb
%{_mandir}/man3/Object::Accessor*
jvdias 6c3b438
223accb
%files Package-Constants
223accb
%defattr(-,root,root,-)
223accb
%{_prefix}/lib/perl5/%{perl_version}/Package/
223accb
%{_mandir}/man3/Package::Constants*
jvdias 6c3b438
223accb
%files Params-Check
223accb
%defattr(-,root,root,-)
223accb
%{_prefix}/lib/perl5/%{perl_version}/Params/
223accb
%{_mandir}/man3/Params::Check*
jvdias 6c3b438
223accb
%files Pod-Escapes
223accb
%defattr(-,root,root,-)
223accb
%{_prefix}/lib/perl5/%{perl_version}/Pod/Escapes.pm
223accb
%{_mandir}/man3/Pod::Escapes.*
jvdias 6c3b438
223accb
%files Pod-Simple
223accb
%defattr(-,root,root,-)
223accb
%{_prefix}/lib/perl5/%{perl_version}/Pod/Simple/ 
223accb
%{_prefix}/lib/perl5/%{perl_version}/Pod/Simple.pm
223accb
%{_prefix}/lib/perl5/%{perl_version}/Pod/Simple.pod
223accb
%{_mandir}/man3/Pod::Simple*
jvdias 6c3b438
223accb
%files Term-UI
223accb
%defattr(-,root,root,-)
223accb
%{_prefix}/lib/perl5/%{perl_version}/Term/UI/
223accb
%{_prefix}/lib/perl5/%{perl_version}/Term/UI.pm
223accb
%{_mandir}/man3/Term::UI*
jvdias 6c3b438
223accb
%files Test-Harness
223accb
%defattr(-,root,root,-)
223accb
%{_bindir}/prove
223accb
%{_prefix}/lib/perl5/%{perl_version}/Test/Harness*
223accb
%{_mandir}/man1/prove.1*
223accb
%{_mandir}/man3/Test::Harness*
jvdias 6c3b438
223accb
%files Test-Simple
223accb
%defattr(-,root,root,-)
223accb
%{_prefix}/lib/perl5/%{perl_version}/Test/More*
223accb
%{_prefix}/lib/perl5/%{perl_version}/Test/Builder*
223accb
%{_prefix}/lib/perl5/%{perl_version}/Test/Simple*
223accb
%{_prefix}/lib/perl5/%{perl_version}/Test/Tutorial*
223accb
%{_mandir}/man3/Test::More*
223accb
%{_mandir}/man3/Test::Builder*
223accb
%{_mandir}/man3/Test::Simple*
223accb
%{_mandir}/man3/Test::Tutorial*
jvdias 6c3b438
223accb
%files Time-Piece
223accb
%defattr(-,root,root,-)
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/Time/Piece.pm 
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/Time/Seconds.pm
223accb
%{_libdir}/perl5/%{version}/%{perl_archname}/auto/Time/Piece/        
223accb
%{_mandir}/man3/Time::Piece.3*
223accb
%{_mandir}/man3/Time::Seconds.3*
jvdias 6c3b438
223accb
%files version
223accb
%defattr(-,root,root,-)
223accb
%{_prefix}/lib/perl5/%{perl_version}/version.pm
223accb
%{_prefix}/lib/perl5/%{perl_version}/version.pod
223accb
%{_mandir}/man3/version.*
jvdias 6c3b438
223accb
%files core
223accb
# Nothing. Nada. Zilch. Zarro. Uh uh. Nope. Sorry.
jvdias 6c3b438
223accb
# Old changelog entries are preserved in CVS.
223accb
%changelog
325b0b7
* Tue Jul  1 2008 Marcela Maslanova <mmaslano@redhat.com> 4:5.10.0-33
325b0b7
- 451078 update Test::Harness to 3.12 for more testing. Removed verbose 
325b0b7
test, new Test::Harness has possibly verbose output, but updated package
325b0b7
has a lot of features f.e. TAP::Harness. Carefully watched all new bugs 
325b0b7
related to tests!
325b0b7
58c55ec
* Fri Jun 27 2008 Stepan Kasal <skasal@redhat.com> 4:5.10.0-32
58c55ec
- bump the release number, so that it is not smaller than in F-9
58c55ec
c49219d
* Tue Jun 24 2008 Marcela Maslanova <mmaslano@redhat.com> 4:5.10.0-28
c49219d
- CVE-2008-2827 perl: insecure use of chmod in rmtree
c49219d
85f75da
* Wed Jun 11 2008 Marcela Maslanova <mmaslano@redhat.com> 4:5.10.0-27
85f75da
- 447371 wrong access permission rt49003
85f75da
1b6ae01
* Tue Jun 10 2008 Stepan Kasal <skasal@redhat.com> 4:5.10.0-26
1b6ae01
- make config parameter list consistent for 32bit and 64bit platforms,
1b6ae01
  add config option -Dinc_version_list=none (#448735)
1b6ae01
- use perl_archname consistently
1b6ae01
- cleanup of usage of *_lib macros in %%install
1b6ae01
e55b345
* Mon Jun  6 2008 Marcela Maslanova <mmaslano@redhat.com> 4:5.10.0-25
e55b345
- 449577 rebuild for FTBFS
e55b345
0b9fc66
* Mon May 26 2008 Marcela Maslanova <mmaslano@redhat.com> 4:5.10.0-24
0b9fc66
- 448392 upstream fix for assertion
0b9fc66
ce3b874
* Thu May 22 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4:5.10.0-23
ce3b874
- sparc64 breaks with the rpath hack patch applied
ce3b874
ce3b874
* Mon May 19 2008 Marcela Maslanova <mmaslano@redhat.com>
ce3b874
- 447142 upgrade CGI to 3.37 (this actually happened in -21 in rawhide.)
ce3b874
ce3b874
* Sat May 17 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4:5.10.0-21
ce3b874
- sparc64 fails two tests under mysterious circumstances. we need to get the
ce3b874
  rest of the tree moving, so we temporarily disable the tests on that arch.
6a36cc7
2a22093
* Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4:5.10.0-20
2a22093
- create the vendor_perl/%%{perl_version}/%%{perl_archname}/auto directory 
2a22093
  in %%{_libdir} so we own it properly
2a22093
a7bd58b
* Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4:5.10.0-19
a7bd58b
- fix CPANPLUS-Dist-Build Provides/Obsoletes (bz 437615)
a7bd58b
- bump version on Module-CoreList subpackage
a7bd58b
066be20
* Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4:5.10.0-18
066be20
- forgot to create the auto directory for multilib vendor_perl dirs
066be20
d44a83d
* Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4:5.10.0-17
d44a83d
- own multilib vendor_perl directories
d44a83d
- mark Module::CoreList patch in patchlevel.h
d44a83d
eba1424
* Tue Mar 18 2008 Marcela Maslanova <mmaslano@redhat.com> 4:5.10.0-16
eba1424
- 437817: RFE: Upgrade Module::CoreList to 2.14
eba1424
7d9e370
* Wed Mar 12 2008 Marcela Maslanova <mmaslano@redhat.com> 4:5.10.0-15
7d9e370
- xsubpp now lives in perl-devel instead of perl.
7d9e370
6e38dfc
* Sat Mar  8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4:5.10.0-14
6e38dfc
- back out Archive::Extract patch, causing odd test failure
6e38dfc
30d1b9a
* Sat Mar  8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4:5.10.0-13
30d1b9a
- add missing lzma test file
30d1b9a
6a5cde9
* Fri Mar  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4:5.10.0-12
6a5cde9
- conditionalize multilib patch report in patchlevel.h
6a5cde9
- Update Archive::Extract to 0.26
6a5cde9
- Update Module::Load::Conditional to 0.24
6a5cde9
74f2279
* Fri Mar  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4:5.10.0-11
74f2279
- only do it once, and do it for all our patches
74f2279
f3a2a32
* Fri Mar  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4:5.10.0-10
f3a2a32
- note 32891 in patchlevel.h
f3a2a32
a7c4cfb
* Fri Mar  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4:5.10.0-9
a7c4cfb
- get rid of bad conflicts on perl-File-Temp
a7c4cfb
e1baeee
* Fri Mar  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4:5.10.0-8
e1baeee
- use /usr/local for sitelib/sitearch dirs
e1baeee
- patch 32891 for significant performance improvement
e1baeee
629d7f2
* Fri Feb 22 2008 Stepan Kasal <skasal@redhat.com> - 4:5.10.0-7
629d7f2
- Add perl-File-Temp provides/obsoletes/conflicts (#433836),
629d7f2
  reported by Bill McGonigle <bill@bfccomputing.com>
629d7f2
- escape the macros in Jan 30 entry
629d7f2
8b3149f
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4:5.10.0-6
8b3149f
- Autorebuild for GCC 4.3
8b3149f
9d9283e
* Wed Jan 30 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 4:5.10.0-5
9d9283e
- disable some futime tests in t/io/fs.t because they started failing on x86_64
9d9283e
  in the Fedora builders, and no one can figure out why. :/
9d9283e
b55269d
* Wed Jan 30 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 4:5.10.0-4
629d7f2
- create %%{_prefix}/lib/perl5/vendor_perl/%%{perl_version}/auto and own it
b55269d
  in base perl (resolves bugzilla 214580)
b55269d
384f2ba
* Thu Jan 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 4:5.10.0-3
384f2ba
- Update Sys::Syslog to 0.24, to fix test failures
384f2ba
57d9388
* Wed Jan 9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 4:5.10.0-2
57d9388
- add some BR for tests
57d9388
223accb
* Tue Jan 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 4:5.10.0-1
223accb
- 5.10.0 final
223accb
- clear out all the unnecessary patches (down to 8 patches!)
223accb
- get rid of super perl debugging mode
223accb
- add new subpackages
jvdias 6c3b438
223accb
* Thu Nov 29 2007 Robin Norwood <rnorwood@redhat.com> - 4:5.10.0_RC2-0.1
223accb
- first attempt at building 5.10.0
jvdias 6c3b438
jvdias 6c3b438