SHA256
3
0
forked from pool/perl

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

View File

@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -21,8 +21,8 @@
Name: perl
Summary: The Perl interpreter
Version: 5.10.1
Release: 2
License: Artistic License .. ; GPL v2 or later
Release: 3
License: Artistic License .. ; GPLv2+
Group: Development/Languages/Perl
AutoReqProv: on
Url: http://www.perl.org/
@ -30,6 +30,7 @@ Source: perl-%{version}.tar.bz2
Source1: %name-rpmlintrc
Source2: macros.perl
Source3: README.macros
Source4: baselibs.conf
Patch0: perl-%{version}.dif
Patch1: perl-gracefull-net-ftp.diff
Patch2: perl-fix_dbmclose_call.patch
@ -83,7 +84,7 @@ Authors:
Larry Wall, Louis J. LaBash, Jr. <llabash@siue.edu>
%package base
License: Artistic License .. ; GPL v2 or later
License: Artistic License .. ; GPLv2+
Group: Development/Languages/Perl
Summary: The Perl interpreter
Provides: perl-Digest perl-Digest-MD5
@ -113,11 +114,14 @@ Authors:
Larry Wall, Louis J. LaBash, Jr. <llabash@siue.edu>
%package doc
License: Artistic License .. ; GPL v2 or later
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.
@ -156,13 +160,13 @@ options="$options -Duse64bitint"
options="$options -Accflags='-DPERL_USE_SAFE_PUTENV'"
chmod 755 ./configure.gnu
./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 lib/Config.pm saveConfig.pm
mv lib/Config_heavy.pl saveConfig_heavy.pl
make clobber
./configure.gnu --prefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm $options
make
make %{?jobs:-j%jobs};
%ifnarch %arm
%check