Accepting request 28377 from devel:languages:perl

Copy from devel:languages:perl/perl based on submit request 28377 from user coolo

OBS-URL: https://build.opensuse.org/request/show/28377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl?expand=0&rev=35
This commit is contained in:
OBS User autobuild 2010-01-14 14:14:13 +00:00 committed by Git OBS Bridge
parent a6857230d8
commit 4ae03af73d
2 changed files with 17 additions and 7 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 13 18:52:18 CET 2009 - jengelh@medozas.de
- enable parallel building
- package documentation as noarch
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Oct 25 18:46:40 UTC 2009 - coolo@novell.com Sun Oct 25 18:46:40 UTC 2009 - coolo@novell.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl (Version 5.10.1) # spec file for package perl (Version 5.10.1)
# #
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -21,8 +21,8 @@
Name: perl Name: perl
Summary: The Perl interpreter Summary: The Perl interpreter
Version: 5.10.1 Version: 5.10.1
Release: 2 Release: 3
License: Artistic License .. ; GPL v2 or later License: Artistic License .. ; GPLv2+
Group: Development/Languages/Perl Group: Development/Languages/Perl
AutoReqProv: on AutoReqProv: on
Url: http://www.perl.org/ Url: http://www.perl.org/
@ -30,6 +30,7 @@ Source: perl-%{version}.tar.bz2
Source1: %name-rpmlintrc Source1: %name-rpmlintrc
Source2: macros.perl Source2: macros.perl
Source3: README.macros Source3: README.macros
Source4: baselibs.conf
Patch0: perl-%{version}.dif Patch0: perl-%{version}.dif
Patch1: perl-gracefull-net-ftp.diff Patch1: perl-gracefull-net-ftp.diff
Patch2: perl-fix_dbmclose_call.patch Patch2: perl-fix_dbmclose_call.patch
@ -83,7 +84,7 @@ Authors:
Larry Wall, Louis J. LaBash, Jr. <llabash@siue.edu> Larry Wall, Louis J. LaBash, Jr. <llabash@siue.edu>
%package base %package base
License: Artistic License .. ; GPL v2 or later License: Artistic License .. ; GPLv2+
Group: Development/Languages/Perl Group: Development/Languages/Perl
Summary: The Perl interpreter Summary: The Perl interpreter
Provides: perl-Digest perl-Digest-MD5 Provides: perl-Digest perl-Digest-MD5
@ -113,11 +114,14 @@ Authors:
Larry Wall, Louis J. LaBash, Jr. <llabash@siue.edu> Larry Wall, Louis J. LaBash, Jr. <llabash@siue.edu>
%package doc %package doc
License: Artistic License .. ; GPL v2 or later License: Artistic License .. ; GPLv2+
Group: Development/Languages/Perl Group: Development/Languages/Perl
Summary: Perl Documentation Summary: Perl Documentation
Requires: perl = %{version} Requires: perl = %{version}
Provides: perl:/usr/share/man/man3/CORE.3pm.gz Provides: perl:/usr/share/man/man3/CORE.3pm.gz
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
%description doc %description doc
Perl man pages and pod files. Perl man pages and pod files.
@ -156,13 +160,13 @@ options="$options -Duse64bitint"
options="$options -Accflags='-DPERL_USE_SAFE_PUTENV'" options="$options -Accflags='-DPERL_USE_SAFE_PUTENV'"
chmod 755 ./configure.gnu chmod 755 ./configure.gnu
./configure.gnu --prefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Duseshrplib=\'true\' $options ./configure.gnu --prefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Duseshrplib=\'true\' $options
make make %{?jobs:-j%jobs};
mv libperl.so savelibperl.so mv libperl.so savelibperl.so
mv lib/Config.pm saveConfig.pm mv lib/Config.pm saveConfig.pm
mv lib/Config_heavy.pl saveConfig_heavy.pl mv lib/Config_heavy.pl saveConfig_heavy.pl
make clobber make clobber
./configure.gnu --prefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm $options ./configure.gnu --prefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm $options
make make %{?jobs:-j%jobs};
%ifnarch %arm %ifnarch %arm
%check %check