Michael Schröder 2011-06-17 09:23:31 +00:00 committed by Git OBS Bridge
parent d25e203e7f
commit aff4e3c4c0
6 changed files with 437 additions and 44 deletions

View File

@ -0,0 +1,383 @@
#
# spec file for package perl
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# icecream 0
Name: perl
Summary: The Perl interpreter
Version: 5.14.1
Release: 2
%define pversion 5.14.1
License: Artistic License .. ; GPLv2+
Group: Development/Languages/Perl
AutoReqProv: on
Url: http://www.perl.org/
Source: perl-5.14.1.tar.bz2
Source1: %name-rpmlintrc
Source2: macros.perl
Source3: README.macros
Source4: baselibs.conf
Patch0: perl-%{pversion}.dif
Patch1: perl-gracefull-net-ftp.diff
Patch2: perl-regexp-refoverflow.diff
Patch3: perl-nroff.diff
Patch4: perl-netcmdutf8.diff
Patch5: perl-HiRes.t-timeout.diff
Patch6: perl-saverecontext.diff
Patch7: perl-cbuilder-ccflags.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: perl-base = %version
#PreReq: %fillup_prereq
BuildRequires: db-devel gdbm-devel libbz2-devel ncurses-devel zlib-devel
#Requires: gzip # needed in SuSEconfig.perl
Suggests: perl-doc = %version
#
%if "%version" != "%pversion"
Provides: perl = %pversion-%release
%endif
Provides: perl(:MODULE_COMPAT_%pversion)
Provides: perl-500
Provides: perl-macros
Obsoletes: perl-macros
Provides: perl-Filter-Simple perl-I18N-LangTags perl-MIME-Base64 perl-Storable
Provides: perl-Test-Simple = 0.98-%{release}
Obsoletes: perl-Filter-Simple perl-I18N-LangTags perl-MIME-Base64 perl-Storable
Obsoletes: perl-Test-Simple < 0.98
Provides: perl-Text-Balanced perl-Time-HiRes perl-libnet
Obsoletes: perl-Text-Balanced perl-Time-HiRes perl-libnet
Provides: perl-Compress-Zlib perl-Compress-Raw-Zlib
Obsoletes: perl-Compress-Zlib perl-Compress-Raw-Zlib
Provides: perl-IO-Zlib perl-IO-Compress-Base perl-IO-Compress-Zlib
Obsoletes: perl-IO-Zlib perl-IO-Compress-Base perl-IO-Compress-Zlib
Provides: perl-Archive-Tar perl-Module-Build
Obsoletes: perl-Archive-Tar perl-Module-Build
Provides: perl-Locale-Maketext-Simple perl-Module-Pluggable
Obsoletes: perl-Locale-Maketext-Simple perl-Module-Pluggable
Provides: perl-Pod-Escapes perl-Pod-Simple
Obsoletes: perl-Pod-Escapes perl-Pod-Simple
Provides: perl-version perl-ExtUtils-ParseXS
Obsoletes: perl-version perl-ExtUtils-ParseXS
%description
perl - Practical Extraction and Report Language
Perl is optimized for scanning arbitrary text files, extracting
information from those text files, and printing reports based on that
information. It is also good for many system management tasks. Perl is
intended to be practical (easy to use, efficient, and complete) rather
than beautiful (tiny, elegant, and minimal).
Some of the modules available on CPAN can be found in the "perl"
series.
%package base
License: Artistic License .. ; GPLv2+
Group: Development/Languages/Perl
Summary: The Perl interpreter
Provides: perl-Digest perl-Digest-MD5
%if "%version" != "%pversion"
Provides: perl-base = %pversion-%release
%endif
# bug437293
%ifarch ppc64
Obsoletes: perl-64bit
%endif
#
%description base
perl - Practical Extraction and Report Language
Perl is optimized for scanning arbitrary text files, extracting
information from those text files, and printing reports based on that
information. It is also good for many system management tasks.
Perl is intended to be practical (easy to use, efficient, and complete)
rather than beautiful (tiny, elegant, and minimal).
This package contains only some basic modules and the perl binary
itself.
%package doc
License: Artistic License .. ; GPLv2+
Group: Development/Languages/Perl
Summary: Perl Documentation
Requires: perl = %{version}
Provides: perl:/usr/share/man/man3/CORE.3pm.gz
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
%description doc
Perl man pages and pod files.
%prep
%setup -q -n perl-5.14.1
cp -p %{S:3} .
%patch0
%patch1
%patch2
%patch3
%patch4
%patch5
%patch6
%patch7
%build
cp -a lib savelib
export SUSE_ASNEEDED=0
export BZIP2_LIB=%{_libdir}
export BZIP2_INCLUDE=%{_includedir}
export BUILD_BZIP2=0
options="-Doptimize='$RPM_OPT_FLAGS -Wall -pipe'"
%ifarch alpha
# -mieee needed for bad alpha gcc optimization
options="-Doptimize='$RPM_OPT_FLAGS -Wall -pipe -mieee'"
%endif
%ifarch ppc ppc64
options="$options -Duse64bitint"
%endif
# always use glibc's setenv
options="$options -Accflags='-DPERL_USE_SAFE_PUTENV'"
options="$options -Dotherlibdirs=/usr/lib/perl5/site_perl"
chmod 755 ./configure.gnu
./configure.gnu --prefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Duseshrplib=\'true\' $options
make %{?_smp_mflags}
cp -p libperl.so savelibperl.so
cp -p lib/Config.pm saveConfig.pm
cp -p lib/Config_heavy.pl saveConfig_heavy.pl
make clean > /dev/null
make clobber
rm -rf lib
mv savelib lib
./configure.gnu --prefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm $options
make %{?_smp_mflags}
%check
%ifnarch %arm
export SUSE_ASNEEDED=0
make test
%endif
%install
make install DESTDIR=$RPM_BUILD_ROOT
cp -a $RPM_BUILD_ROOT/usr/lib/perl5/site_perl $RPM_BUILD_ROOT/usr/lib/perl5/vendor_perl
cpa=`echo $RPM_BUILD_ROOT/usr/lib/perl5/*/*/CORE | sed -e 's@/CORE$@@'`
cp=`echo "$cpa" | sed -e 's@/[^/]*$@@'`
vpa=`echo $cpa | sed -e 's@/perl5/@/perl5/vendor_perl/@'`
vp=`echo "$vpa" | sed -e 's@/[^/]*$@@'`
install -d $vp/auto
install -d $vpa/auto
install -m 555 savelibperl.so $cpa/CORE/libperl.so
install -m 444 saveConfig.pm $cpa/Config.pm
install -m 444 saveConfig_heavy.pl $cpa/Config_heavy.pl
#install -d $RPM_BUILD_ROOT/var/adm/SuSEconfig/bin
#install -d $RPM_BUILD_ROOT/sbin/conf.d
#install -d $RPM_BUILD_ROOT/var/adm/fillup-templates
#install -m 755 SuSE/perllocal.SuSE $RPM_BUILD_ROOT/usr/lib/perl5
#install -m 755 SuSE/SuSEconfig.perl $RPM_BUILD_ROOT/sbin/conf.d
#install -m 755 SuSE/sysconfig.suseconfig-perl $RPM_BUILD_ROOT/var/adm/fillup-templates
# install macros.perl file
install -D -m 644 %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.perl
pushd /usr/include
( rpm -ql glibc-devel | fgrep '.h'
find /usr/include/asm/ -name \*.h
find /usr/include/asm-generic -name \*.h
find /usr/include/linux -name \*.h
) | while read f; do
$RPM_BUILD_ROOT/usr/bin/perl -I$cp -I$cpa $RPM_BUILD_ROOT/usr/bin/h2ph -d $vpa ${f/\/usr\/include\//} || :
done
popd
d="`gcc -print-file-name=include`"
test -f "$d/stdarg.h" && (cd $d ; $RPM_BUILD_ROOT/usr/bin/perl -I$cp -I$cpa $RPM_BUILD_ROOT/usr/bin/h2ph -d $vpa stdarg.h stddef.h float.h)
# remove broken pm - we don't have the module
rm $RPM_BUILD_ROOT/usr/lib/perl5/*/Pod/Perldoc/ToTk.pm
# we don't need this in here
rm $RPM_BUILD_ROOT/usr/lib/perl5/*/*/CORE/libperl.a
#touch $RPM_BUILD_ROOT/usr/share/man/man3/perllocal.3pm
#touch $cpa/perllocal.pod
# test CVE-2007-5116
$RPM_BUILD_ROOT/usr/bin/perl -e '$r=chr(128)."\\x{100}";/$r/'
# test perl-regexp-refoverflow.diff
$RPM_BUILD_ROOT/usr/bin/perl -e '/\6666666666/'
%if 0
# remove unrelated target/os manpages
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlaix.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlamiga.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlapollo.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlbeos.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlbs2000.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlcygwin.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perldgux.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perldos.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlepoc.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlfreebsd.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlhpux.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlhurd.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlirix.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlmachten.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlmacos.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlmacosx.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlmint.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlnetware.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlopenbsd.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlos2.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlos390.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlos400.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlplan9.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlqnx.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlsolaris.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perltru64.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perluts.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlvmesa.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlvms.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlvos.1*
rm $RPM_BUILD_ROOT/usr/share/man/man1/perlwin32.1*
%endif
cat << EOF > perl-base-filelist
/usr/lib/perl5/%pversion/B/Deparse.pm
/usr/lib/perl5/%pversion/Carp.pm
/usr/lib/perl5/%pversion/Carp/
/usr/lib/perl5/%pversion/Class/
/usr/lib/perl5/%pversion/Config/
/usr/lib/perl5/%pversion/Digest.pm
/usr/lib/perl5/%pversion/Digest/
/usr/lib/perl5/%pversion/Exporter.pm
/usr/lib/perl5/%pversion/Exporter/
/usr/lib/perl5/%pversion/File/
/usr/lib/perl5/%pversion/Getopt/
/usr/lib/perl5/%pversion/IPC/
/usr/lib/perl5/%pversion/Text/
/usr/lib/perl5/%pversion/Tie/Hash.pm
/usr/lib/perl5/%pversion/XSLoader.pm
/usr/lib/perl5/%pversion/warnings.pm
/usr/lib/perl5/%pversion/warnings/
/usr/lib/perl5/%pversion/AutoLoader.pm
/usr/lib/perl5/%pversion/FileHandle.pm
/usr/lib/perl5/%pversion/SelectSaver.pm
/usr/lib/perl5/%pversion/Symbol.pm
/usr/lib/perl5/%pversion/base.pm
/usr/lib/perl5/%pversion/bytes.pm
/usr/lib/perl5/%pversion/bytes_heavy.pl
/usr/lib/perl5/%pversion/constant.pm
/usr/lib/perl5/%pversion/fields.pm
/usr/lib/perl5/%pversion/feature.pm
/usr/lib/perl5/%pversion/integer.pm
/usr/lib/perl5/%pversion/locale.pm
/usr/lib/perl5/%pversion/overload.pm
/usr/lib/perl5/%pversion/strict.pm
/usr/lib/perl5/%pversion/utf8.pm
/usr/lib/perl5/%pversion/utf8_heavy.pl
/usr/lib/perl5/%pversion/vars.pm
/usr/lib/perl5/%pversion/version.pm
/usr/lib/perl5/%pversion/*-linux-thread-multi*/Data/
/usr/lib/perl5/%pversion/*-linux-thread-multi*/Digest/
/usr/lib/perl5/%pversion/*-linux-thread-multi*/File/
/usr/lib/perl5/%pversion/*-linux-thread-multi*/List/
/usr/lib/perl5/%pversion/*-linux-thread-multi*/Scalar/
/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO.pm
/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Dir.pm
/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/File.pm
/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Handle.pm
/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Pipe.pm
/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Poll.pm
/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Seekable.pm
/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Select.pm
/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Socket.pm
/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Socket/
/usr/lib/perl5/%pversion/*-linux-thread-multi*/B.pm
/usr/lib/perl5/%pversion/*-linux-thread-multi*/Config.pm
/usr/lib/perl5/%pversion/*-linux-thread-multi*/Config_heavy.pl
/usr/lib/perl5/%pversion/*-linux-thread-multi*/Cwd.pm
/usr/lib/perl5/%pversion/*-linux-thread-multi*/DynaLoader.pm
/usr/lib/perl5/%pversion/*-linux-thread-multi*/Errno.pm
/usr/lib/perl5/%pversion/*-linux-thread-multi*/Fcntl.pm
/usr/lib/perl5/%pversion/*-linux-thread-multi*/POSIX.pm
/usr/lib/perl5/%pversion/*-linux-thread-multi*/Socket.pm
/usr/lib/perl5/%pversion/*-linux-thread-multi*/attributes.pm
/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/Data/
/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/Digest/
/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/Fcntl/
/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/File/
/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/IO/
/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/List/
/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/Cwd/
/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/Socket/
/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/POSIX/POSIX.bs
/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/POSIX/POSIX.so
/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/POSIX/autosplit.ix
/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/POSIX/load_imports.al
/usr/lib/perl5/%pversion/*-linux-thread-multi*/lib.pm
/usr/lib/perl5/%pversion/*-linux-thread-multi*/re.pm
EOF
{
sed -e 's/^/%%exclude /' perl-base-filelist
(cd $RPM_BUILD_ROOT
for i in usr/lib/perl5/*/pod/*; do
case $i in */perldiag.pod) ;;
*) echo "%%exclude /$i" ;;
esac
done)
} > perl-base-excludes
#%%post
#%%{fillup_only -an suseconfig}
%files base -f perl-base-filelist
%defattr(-,root,root)
%dir /usr/lib/perl5
%dir /usr/lib/perl5/%pversion
%dir /usr/lib/perl5/%pversion/B
%dir /usr/lib/perl5/%pversion/*-linux-thread-multi*
%dir /usr/lib/perl5/%pversion/*-linux-thread-multi*/auto
%dir /usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/POSIX
/usr/bin/perl
/usr/bin/perl%pversion
%doc /usr/share/man/man1/perl.1.gz
%files -f perl-base-excludes
%defattr(-,root,root)
%exclude /usr/bin/perl
%exclude /usr/bin/perl%pversion
/usr/bin/*
/usr/lib/perl5/*
%config %{_sysconfdir}/rpm/macros.perl
#/sbin/conf.d/SuSEconfig.perl
#/var/adm/fillup-templates/sysconfig.suseconfig-perl
#%ghost /usr/lib/perl*/*/*/perllocal.pod
#%ghost %doc /usr/share/man/man3/perllocal.3pm.gz
%files doc
%defattr(-,root,root)
%doc README.macros
%exclude /usr/share/man/man1/perl.1.gz
%exclude /usr/lib/perl5/*/pod/perldiag.pod
%doc /usr/share/man/man1/*
%doc /usr/share/man/man3/*
%doc /usr/lib/perl5/*/pod
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ea027d0f5279b7465f69ee942ea4015296f90429f1ead7a99fe3b03a475ee821
size 13250162

View File

@ -1,5 +1,5 @@
--- ./Configure.orig 2011-05-08 03:10:08.000000000 +0000
+++ ./Configure 2011-05-16 11:36:25.000000000 +0000
--- ./Configure.orig 2011-06-09 20:04:29.000000000 +0000
+++ ./Configure 2011-06-17 09:05:57.000000000 +0000
@@ -112,7 +112,7 @@ paths="$paths /usr/5bin /etc /usr/gnu/bi
paths="$paths /opt/gnu/bin /opt/new /opt/new/bin /opt/nbin"
paths="$paths /sys5.3/bin /sys5.3/usr/bin /bsd4.3/bin /bsd4.3/usr/ucb"
@ -93,8 +93,8 @@
perl_patchlevel='$perl_patchlevel'
perl_static_inline='$perl_static_inline'
perladmin='$perladmin'
--- ./SuSE/SuSEconfig.perl.orig 2011-05-16 11:36:25.000000000 +0000
+++ ./SuSE/SuSEconfig.perl 2011-05-16 11:36:25.000000000 +0000
--- ./SuSE/SuSEconfig.perl.orig 2011-06-17 09:05:57.000000000 +0000
+++ ./SuSE/SuSEconfig.perl 2011-06-17 09:05:57.000000000 +0000
@@ -0,0 +1,76 @@
+#! /bin/bash
+#
@ -172,8 +172,8 @@
+#
+# end of file SuSEconfig.perl
+#
--- ./SuSE/perllocal.SuSE.orig 2011-05-16 11:36:25.000000000 +0000
+++ ./SuSE/perllocal.SuSE 2011-05-16 11:36:25.000000000 +0000
--- ./SuSE/perllocal.SuSE.orig 2011-06-17 09:05:57.000000000 +0000
+++ ./SuSE/perllocal.SuSE 2011-06-17 09:05:57.000000000 +0000
@@ -0,0 +1,84 @@
+#!/usr/bin/perl
+# Copyright (c) 1998 S.u.S.E. Gmbh Fuerth, Germany. All rights reserved.
@ -259,8 +259,8 @@
+ print "SuSEconfig.perl: Can't write to file $Config{'installarchlib'}/perllocal.pod !\n\n";
+}
+
--- ./SuSE/sysconfig.suseconfig-perl.orig 2011-05-16 11:36:25.000000000 +0000
+++ ./SuSE/sysconfig.suseconfig-perl 2011-05-16 11:36:25.000000000 +0000
--- ./SuSE/sysconfig.suseconfig-perl.orig 2011-06-17 09:05:57.000000000 +0000
+++ ./SuSE/sysconfig.suseconfig-perl 2011-06-17 09:05:57.000000000 +0000
@@ -0,0 +1,8 @@
+## Path: System/SuSEconfig
+## Type: yesno
@ -270,8 +270,8 @@
+# May SuSEconfig modify your perllocal.pod? (yes/no)
+#
+CREATE_PERLLOCAL_POD="yes"
--- ./cpan/CPAN/lib/CPAN.pm.orig 2011-05-08 03:10:08.000000000 +0000
+++ ./cpan/CPAN/lib/CPAN.pm 2011-05-16 11:36:25.000000000 +0000
--- ./cpan/CPAN/lib/CPAN.pm.orig 2011-06-09 20:04:29.000000000 +0000
+++ ./cpan/CPAN/lib/CPAN.pm 2011-06-17 09:05:57.000000000 +0000
@@ -64,7 +64,7 @@ sub _uniq;
no lib ".";
@ -281,8 +281,8 @@
if ($ENV{PERL5_CPAN_IS_RUNNING} && $$ != $ENV{PERL5_CPAN_IS_RUNNING}) {
$ENV{PERL5_CPAN_IS_RUNNING_IN_RECURSION} ||= $ENV{PERL5_CPAN_IS_RUNNING};
my @rec = _uniq split(/,/, $ENV{PERL5_CPAN_IS_RUNNING_IN_RECURSION}), $$;
--- ./cpan/Compress-Raw-Zlib/config.in.orig 2011-05-08 03:10:08.000000000 +0000
+++ ./cpan/Compress-Raw-Zlib/config.in 2011-05-16 11:36:25.000000000 +0000
--- ./cpan/Compress-Raw-Zlib/config.in.orig 2011-06-09 20:04:29.000000000 +0000
+++ ./cpan/Compress-Raw-Zlib/config.in 2011-06-17 09:05:57.000000000 +0000
@@ -16,9 +16,9 @@
# Setting the Gzip OS Code
#
@ -296,8 +296,8 @@
OLD_ZLIB = False
GZIP_OS_CODE = AUTO_DETECT
--- ./cpan/Encode/bin/enc2xs.orig 2011-05-08 03:10:08.000000000 +0000
+++ ./cpan/Encode/bin/enc2xs 2011-05-16 11:36:25.000000000 +0000
--- ./cpan/Encode/bin/enc2xs.orig 2011-06-09 20:04:29.000000000 +0000
+++ ./cpan/Encode/bin/enc2xs 2011-06-17 09:05:57.000000000 +0000
@@ -1005,13 +1005,13 @@ sub make_configlocal_pm {
$LocalMod{$enc} ||= $mod;
}
@ -315,7 +315,7 @@
$_E2X = find_e2x();
$_Inc = $INC{"Encode.pm"};
--- ./cpan/File-Temp/Temp.pm.orig 2011-04-13 11:36:34.000000000 +0000
+++ ./cpan/File-Temp/Temp.pm 2011-05-16 11:36:25.000000000 +0000
+++ ./cpan/File-Temp/Temp.pm 2011-06-17 09:05:57.000000000 +0000
@@ -146,7 +146,7 @@ use File::Path qw/ rmtree /;
use Fcntl 1.03;
use IO::Seekable; # For SEEK_*
@ -325,8 +325,8 @@
# pre-emptively load Carp::Heavy. If we don't when we run out of file
# handles and attempt to call croak() we get an error message telling
--- ./cpan/Sys-Syslog/t/syslog.t.orig 2011-04-13 11:36:34.000000000 +0000
+++ ./cpan/Sys-Syslog/t/syslog.t 2011-05-16 11:36:25.000000000 +0000
--- ./cpan/Sys-Syslog/t/syslog.t.orig 2011-06-17 00:06:09.000000000 +0000
+++ ./cpan/Sys-Syslog/t/syslog.t 2011-06-17 09:05:57.000000000 +0000
@@ -206,6 +206,7 @@ SKIP: {
}
}
@ -336,7 +336,7 @@
}
--- ./cpan/libnet/Net/Config.pm.orig 2011-04-13 11:36:34.000000000 +0000
+++ ./cpan/libnet/Net/Config.pm 2011-05-16 11:36:25.000000000 +0000
+++ ./cpan/libnet/Net/Config.pm 2011-06-17 09:05:57.000000000 +0000
@@ -37,7 +37,7 @@ eval { local $SIG{__DIE__}; require Net:
# Try to get as much configuration info as possible from InternetConfig
#
@ -347,7 +347,7 @@
{
my %nc = (
--- ./dist/ExtUtils-Install/lib/ExtUtils/Packlist.pm.orig 2011-04-13 11:36:34.000000000 +0000
+++ ./dist/ExtUtils-Install/lib/ExtUtils/Packlist.pm 2011-05-16 11:36:25.000000000 +0000
+++ ./dist/ExtUtils-Install/lib/ExtUtils/Packlist.pm 2011-06-17 09:05:57.000000000 +0000
@@ -206,8 +206,11 @@ foreach my $key (sort(keys(%{$self->{dat
{
if (! -e $key)
@ -363,7 +363,7 @@
}
return(@missing);
--- ./ext/DynaLoader/hints/linux.pl.orig 2011-04-13 11:36:34.000000000 +0000
+++ ./ext/DynaLoader/hints/linux.pl 2011-05-16 11:36:25.000000000 +0000
+++ ./ext/DynaLoader/hints/linux.pl 2011-06-17 09:05:57.000000000 +0000
@@ -2,4 +2,7 @@
# Some Linux releases like to hide their <nlist.h>
$self->{CCFLAGS} = $Config{ccflags} . ' -I/usr/include/libelf'
@ -373,7 +373,7 @@
+$self->{CCFLAGS} = ($self->{CCFLAGS} || $Config{ccflags}) . " $Config{cccdlflags}" if $Config{'useshrplib'} eq 'true';
1;
--- ./ext/NDBM_File/Makefile.PL.orig 2011-04-13 11:36:34.000000000 +0000
+++ ./ext/NDBM_File/Makefile.PL 2011-05-16 11:36:25.000000000 +0000
+++ ./ext/NDBM_File/Makefile.PL 2011-06-17 09:05:57.000000000 +0000
@@ -2,6 +2,7 @@ use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'NDBM_File',
@ -383,7 +383,7 @@
VERSION_FROM => 'NDBM_File.pm',
INC => ($^O eq "MacOS" ? "-i ::::db:include" : "")
--- ./ext/ODBM_File/Makefile.PL.orig 2011-04-13 11:36:34.000000000 +0000
+++ ./ext/ODBM_File/Makefile.PL 2011-05-16 11:36:25.000000000 +0000
+++ ./ext/ODBM_File/Makefile.PL 2011-06-17 09:05:57.000000000 +0000
@@ -1,7 +1,7 @@
use ExtUtils::MakeMaker;
WriteMakefile(
@ -393,17 +393,17 @@
XSPROTOARG => '-noprototypes', # XXX remove later?
VERSION_FROM => 'ODBM_File.pm',
);
--- ./ext/ODBM_File/hints/linux.pl.orig 2011-05-11 13:14:57.000000000 +0000
+++ ./ext/ODBM_File/hints/linux.pl 2011-05-16 11:36:25.000000000 +0000
--- ./ext/ODBM_File/hints/linux.pl.orig 2011-06-09 20:04:29.000000000 +0000
+++ ./ext/ODBM_File/hints/linux.pl 2011-06-17 09:05:57.000000000 +0000
@@ -1,5 +1,5 @@
# uses GDBM dbm compatibility feature - at least on SuSE 8.0
-$self->{LIBS} = ['-lgdbm'];
+$self->{LIBS} = ['-lgdbm -lgdbm_compat'];
# Debian/Ubuntu have /usr/lib/libgdbm_compat.so.3* but not this file,
# Debian/Ubuntu have libgdbm_compat.so but not this file,
# so linking may fail
--- ./hints/linux.sh.orig 2011-05-08 03:10:08.000000000 +0000
+++ ./hints/linux.sh 2011-05-16 11:40:24.000000000 +0000
--- ./hints/linux.sh.orig 2011-06-09 20:04:29.000000000 +0000
+++ ./hints/linux.sh 2011-06-17 09:05:57.000000000 +0000
@@ -50,12 +50,14 @@ ignore_versioned_solibs='y'
# BSD compatibility library no longer needed
# 'kaffe' has a /usr/lib/libnet.so which is not at all relevant for perl.
@ -518,8 +518,8 @@
;;
esac
EOCBU
--- ./installperl.orig 2011-05-08 03:10:08.000000000 +0000
+++ ./installperl 2011-05-16 11:36:25.000000000 +0000
--- ./installperl.orig 2011-06-09 20:04:29.000000000 +0000
+++ ./installperl 2011-06-17 09:05:57.000000000 +0000
@@ -753,7 +753,7 @@ sub installlib {
return if $name eq 'ExtUtils/XSSymSet.pm' and !$Is_VMS;
@ -529,8 +529,8 @@
($name =~ /^(.*)\.(?:pm|pod)$/ && $archpms{$1}) ||
($name =~ /^(.*)\.(?:h|lib)$/i && ($Is_W32 || $Is_NetWare)) ||
$name=~/^Config_(heavy|git)\.pl\z/
--- ./lib/perl5db.pl.orig 2011-05-08 03:10:08.000000000 +0000
+++ ./lib/perl5db.pl 2011-05-16 11:36:25.000000000 +0000
--- ./lib/perl5db.pl.orig 2011-06-17 00:06:09.000000000 +0000
+++ ./lib/perl5db.pl 2011-06-17 09:05:57.000000000 +0000
@@ -3388,6 +3388,8 @@ reading another.
open( OUT, ">&STDOUT" ) # XXX: lost message
|| &warn("Can't restore DB::OUT");
@ -549,8 +549,8 @@
# No pipes now.
$piped = "";
--- ./locale.c.orig 2011-05-08 03:10:08.000000000 +0000
+++ ./locale.c 2011-05-16 11:36:25.000000000 +0000
--- ./locale.c.orig 2011-06-09 20:04:29.000000000 +0000
+++ ./locale.c 2011-06-17 09:05:57.000000000 +0000
@@ -357,9 +357,15 @@ Perl_init_i18nl10n(pTHX_ int printwarn)
if (setlocale_failure) {
@ -567,8 +567,8 @@
if (locwarn) {
#ifdef LC_ALL
--- ./t/op/numconvert.t.orig 2011-05-08 03:10:09.000000000 +0000
+++ ./t/op/numconvert.t 2011-05-16 11:36:25.000000000 +0000
--- ./t/op/numconvert.t.orig 2011-06-09 20:04:29.000000000 +0000
+++ ./t/op/numconvert.t 2011-06-17 09:05:57.000000000 +0000
@@ -47,7 +47,7 @@ my $max_chain = $ENV{PERL_TEST_NUMCONVER
# Bulk out if unsigned type is hopelessly wrong:
@ -578,8 +578,8 @@
my $big_iv = do {use integer; $max_uv1 * 16}; # 16 is an arbitrary number here
my $max_uv_less3 = $max_uv1 - 3;
--- ./utils/perlbug.PL.orig 2011-05-08 03:10:09.000000000 +0000
+++ ./utils/perlbug.PL 2011-05-16 11:41:26.000000000 +0000
--- ./utils/perlbug.PL.orig 2011-06-17 00:06:09.000000000 +0000
+++ ./utils/perlbug.PL 2011-06-17 09:05:57.000000000 +0000
@@ -1070,6 +1070,7 @@ sub _message_headers {
$headers{'Cc'} = $cc if ($cc);
$headers{'Message-Id'} = $messageid if ($messageid);

3
perl-5.14.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:29b4a7e7c22d4a980ab9eb1ea486c5c4ee9ec533192a1ce8f3fe9ae32fb1f862
size 13266293

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Jun 17 11:18:09 CEST 2011 - mls@suse.de
- update to 5.14.1
- B::Deparse has been upgraded
- Pod::Perldoc has been upgraded
- given, when and default are now listed in perlfunc
- multiple other doc fixes and clarifications
- several bug fixes
-------------------------------------------------------------------
Thu May 26 11:27:14 CEST 2011 - mls@suse.de

View File

@ -20,14 +20,14 @@
Name: perl
Summary: The Perl interpreter
Version: 5.14.0
Version: 5.14.1
Release: 2
%define pversion 5.14.0
%define pversion 5.14.1
License: Artistic License .. ; GPLv2+
Group: Development/Languages/Perl
AutoReqProv: on
Url: http://www.perl.org/
Source: perl-5.14.0.tar.bz2
Source: perl-5.14.1.tar.bz2
Source1: %name-rpmlintrc
Source2: macros.perl
Source3: README.macros
@ -126,7 +126,7 @@ BuildArch: noarch
Perl man pages and pod files.
%prep
%setup -q -n perl-5.14.0
%setup -q -n perl-5.14.1
cp -p %{S:3} .
%patch0
%patch1