2006-12-19 00:17:26 +01:00
|
|
|
#
|
2011-01-15 02:24:29 +01:00
|
|
|
# spec file for package perl
|
2006-12-19 00:17:26 +01:00
|
|
|
#
|
2019-12-03 11:27:11 +01:00
|
|
|
# Copyright (c) 2019 SUSE LLC
|
2006-12-19 00:17:26 +01:00
|
|
|
#
|
2008-08-21 18:46:31 +02:00
|
|
|
# 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.
|
|
|
|
|
2019-12-03 11:27:11 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2006-12-19 00:17:26 +01:00
|
|
|
#
|
|
|
|
|
2008-02-25 17:35:30 +01:00
|
|
|
|
2019-11-19 15:17:02 +01:00
|
|
|
%define pversion 5.30.1
|
|
|
|
%global versionlist %nil
|
2006-12-19 00:17:26 +01:00
|
|
|
Name: perl
|
2019-11-19 15:17:02 +01:00
|
|
|
Version: 5.30.1
|
2018-05-18 20:24:55 +02:00
|
|
|
Release: 0
|
2007-05-17 00:31:32 +02:00
|
|
|
Summary: The Perl interpreter
|
2018-05-18 20:24:55 +02:00
|
|
|
License: Artistic-1.0 OR GPL-2.0-or-later
|
2006-12-19 00:17:26 +01:00
|
|
|
Group: Development/Languages/Perl
|
2019-12-03 11:27:11 +01:00
|
|
|
URL: https://www.perl.org/
|
2018-09-26 11:53:14 +02:00
|
|
|
Source: https://www.cpan.org/src/5.0/perl-%{version}.tar.xz
|
2018-05-18 20:24:55 +02:00
|
|
|
Source1: %{name}-rpmlintrc
|
2009-07-03 16:07:28 +02:00
|
|
|
Source2: macros.perl
|
|
|
|
Source3: README.macros
|
2010-01-14 16:56:23 +01:00
|
|
|
Source4: baselibs.conf
|
2018-09-26 11:53:14 +02:00
|
|
|
Patch0: perl-5.28.0.dif
|
2011-05-16 16:18:55 +02:00
|
|
|
Patch3: perl-nroff.diff
|
|
|
|
Patch4: perl-netcmdutf8.diff
|
|
|
|
Patch5: perl-HiRes.t-timeout.diff
|
|
|
|
Patch6: perl-saverecontext.diff
|
2015-12-09 12:12:36 +01:00
|
|
|
# PATCH-FIX-OPENSUSE perl-5.22.0_wrong_rpm_provides.diff Prevent generating bad RPM provides
|
|
|
|
Patch7: perl-5.22.0_wrong_rpm_provides.diff
|
2013-08-08 17:39:00 +02:00
|
|
|
Patch8: skip_time_hires.patch
|
2014-01-08 15:13:37 +01:00
|
|
|
Patch9: perl-incfix.diff
|
2014-03-25 13:21:43 +01:00
|
|
|
Patch11: perl-5.18.2-overflow.diff
|
2018-05-18 20:24:55 +02:00
|
|
|
# PATCH-FIX-OPENSUSE
|
2017-12-06 15:57:28 +01:00
|
|
|
Patch12: perl-reproducible.patch
|
2018-01-11 15:55:49 +01:00
|
|
|
Patch13: perl_skip_flaky_tests_powerpc.patch
|
2018-01-22 22:01:20 +01:00
|
|
|
Patch14: posix-sigaction.patch
|
2018-09-28 16:08:18 +02:00
|
|
|
Patch15: perl-gdbm-test-no-mmap.diff
|
2019-02-01 13:33:06 +01:00
|
|
|
# PATCH-FIX-UPSTREAM unmerged
|
|
|
|
Patch17: perl-fix2020.patch
|
|
|
|
# PATCH-FIX-UPSTREAM unmerged https://www.nntp.perl.org/group/perl.perl5.porters/2018/12/msg253240.html
|
|
|
|
Patch18: perl-reproducible2.patch
|
2019-12-03 11:27:11 +01:00
|
|
|
# PATCH-FIX-UPSTREAM https://github.com/Perl/perl5/commit/6bd6308fcea3541e505651bf8e8127a4a03d22cd Fix detection of GCC 10 compiler and later
|
|
|
|
Patch19: perl-Adapt-Configure-to-GCC-version-10.patch
|
2012-01-13 14:51:12 +01:00
|
|
|
BuildRequires: db-devel
|
|
|
|
BuildRequires: gdbm-devel
|
|
|
|
BuildRequires: libbz2-devel
|
|
|
|
BuildRequires: ncurses-devel
|
2016-05-09 14:03:01 +02:00
|
|
|
BuildRequires: xz
|
2012-01-13 14:51:12 +01:00
|
|
|
BuildRequires: zlib-devel
|
2018-05-18 20:24:55 +02:00
|
|
|
Requires: perl-base = %{version}
|
|
|
|
Suggests: perl-doc = %{version}
|
2009-07-03 16:07:28 +02:00
|
|
|
Provides: perl-500
|
2018-09-26 12:49:13 +02:00
|
|
|
Provides: perl-Filter-Simple = 0.95
|
2018-05-18 20:24:55 +02:00
|
|
|
Provides: perl(:MODULE_COMPAT_%{pversion})
|
2018-09-26 12:49:13 +02:00
|
|
|
Obsoletes: perl-Filter-Simple <= 0.95
|
|
|
|
Provides: perl-I18N-LangTags = 0.43
|
|
|
|
Obsoletes: perl-I18N-LangTags <= 0.43
|
2015-06-23 21:23:16 +02:00
|
|
|
Provides: perl-MIME-Base64 = 3.15
|
|
|
|
Obsoletes: perl-MIME-Base64 <= 3.15
|
2019-11-19 15:17:02 +01:00
|
|
|
Provides: perl-Storable = 3.15
|
|
|
|
Obsoletes: perl-Storable <= 3.15
|
|
|
|
Provides: perl-Test-Simple = 1.302162
|
|
|
|
Obsoletes: perl-Test-Simple <= 1.302162
|
2015-06-23 21:23:16 +02:00
|
|
|
Provides: perl-Text-Balanced = 2.03
|
|
|
|
Obsoletes: perl-Text-Balanced <= 2.03
|
2019-11-19 15:17:02 +01:00
|
|
|
Provides: perl-Time-HiRes = 1.9760
|
|
|
|
Obsoletes: perl-Time-HiRes <= 1.9760
|
2018-09-26 12:49:13 +02:00
|
|
|
Provides: perl-libnet = 3.11
|
|
|
|
Obsoletes: perl-libnet <= 3.11
|
2019-11-19 15:17:02 +01:00
|
|
|
Provides: perl-Compress-Raw-Zlib = 2.084
|
|
|
|
Obsoletes: perl-Compress-Raw-Zlib <= 2.084
|
|
|
|
Provides: perl-Compress-Zlib = 2.084
|
|
|
|
Obsoletes: perl-Compress-Zlib <= 2.084
|
|
|
|
Provides: perl-IO-Compress-Base = 2.084
|
|
|
|
Obsoletes: perl-IO-Compress-Base <= 2.084
|
|
|
|
Provides: perl-IO-Compress-Zlib = 2.084
|
|
|
|
Obsoletes: perl-IO-Compress-Zlib <= 2.084
|
2015-06-23 21:23:16 +02:00
|
|
|
Provides: perl-IO-Zlib = 1.10
|
|
|
|
Obsoletes: perl-IO-Zlib <= 1.10
|
2019-11-19 15:17:02 +01:00
|
|
|
Provides: perl-Archive-Tar = 2.32
|
|
|
|
Obsoletes: perl-Archive-Tar <= 2.32
|
2012-11-16 09:47:08 +01:00
|
|
|
Provides: perl-Locale-Maketext-Simple = 0.21
|
2015-06-23 21:23:16 +02:00
|
|
|
Obsoletes: perl-Locale-Maketext-Simple <= 0.21
|
|
|
|
Provides: perl-Pod-Escapes = 1.07
|
|
|
|
Obsoletes: perl-Pod-Escapes <= 1.07
|
2017-09-23 14:12:52 +02:00
|
|
|
Provides: perl-Pod-Simple = 3.35
|
|
|
|
Obsoletes: perl-Pod-Simple <= 3.35
|
2019-11-19 15:17:02 +01:00
|
|
|
Provides: perl-ExtUtils-ParseXS = 3.40
|
|
|
|
Obsoletes: perl-ExtUtils-ParseXS <= 3.40
|
2017-09-23 14:12:52 +02:00
|
|
|
Provides: perl-CPAN-Meta = 2.150010
|
|
|
|
Obsoletes: perl-CPAN-Meta <= 2.150010
|
2016-05-10 16:03:39 +02:00
|
|
|
Provides: perl-CPAN-Meta-YAML = 0.018
|
|
|
|
Obsoletes: perl-CPAN-Meta-YAML <= 0.018
|
2019-11-19 15:17:02 +01:00
|
|
|
Provides: perl-ExtUtils-CBuilder = 0.280231
|
|
|
|
Obsoletes: perl-ExtUtils-CBuilder <= 0.280231
|
2018-09-26 12:49:13 +02:00
|
|
|
Provides: perl-IO-Socket-IP = 0.39
|
|
|
|
Obsoletes: perl-IO-Socket-IP <= 0.39
|
2018-05-18 20:24:55 +02:00
|
|
|
Provides: perl-Parse-CPAN-Meta = 2.150010
|
|
|
|
Obsoletes: perl-Parse-CPAN-Meta <= 2.150010
|
2019-11-19 15:17:02 +01:00
|
|
|
Provides: perl-PathTools = 3.75
|
|
|
|
Obsoletes: perl-PathTools <= 3.75
|
2016-05-10 16:03:39 +02:00
|
|
|
Provides: perl-autodie = 2.29
|
|
|
|
Obsoletes: perl-autodie <= 2.29
|
2018-09-26 12:49:13 +02:00
|
|
|
Provides: perl-Test-Harness = 3.42
|
|
|
|
Obsoletes: perl-Test-Harness <= 3.42
|
2019-11-19 15:17:02 +01:00
|
|
|
Provides: perl-version = 0.9924
|
|
|
|
Obsoletes: perl-version <= 0.9924
|
2018-05-18 20:24:55 +02:00
|
|
|
%if "%{version}" != "%{pversion}"
|
|
|
|
Provides: perl = %{pversion}-%{release}
|
|
|
|
%endif
|
2006-12-19 00:17:26 +01:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2007-05-17 00:31:32 +02:00
|
|
|
%package base
|
|
|
|
Summary: The Perl interpreter
|
2012-05-30 14:21:16 +02:00
|
|
|
Group: Development/Languages/Perl
|
2012-04-02 13:09:27 +02:00
|
|
|
Provides: perl-Digest
|
2018-09-26 12:49:13 +02:00
|
|
|
Provides: perl-Digest-MD5 = 2.55
|
2018-05-18 20:24:55 +02:00
|
|
|
%if "%{version}" != "%{pversion}"
|
|
|
|
Provides: perl-base = %{pversion}-%{release}
|
2010-04-04 11:54:04 +02:00
|
|
|
%endif
|
2007-05-17 00:31:32 +02:00
|
|
|
|
|
|
|
%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
|
2007-05-25 17:20:59 +02:00
|
|
|
information. It is also good for many system management tasks.
|
2007-05-17 00:31:32 +02:00
|
|
|
|
2007-05-25 17:20:59 +02:00
|
|
|
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.
|
2007-05-17 00:31:32 +02:00
|
|
|
|
2008-03-14 17:55:08 +01:00
|
|
|
%package doc
|
|
|
|
Summary: Perl Documentation
|
2012-05-30 14:21:16 +02:00
|
|
|
Group: Development/Languages/Perl
|
2008-03-14 17:55:08 +01:00
|
|
|
Requires: perl = %{version}
|
2013-06-11 15:10:30 +02:00
|
|
|
Provides: perl-macros = 2.0
|
2018-05-18 20:24:55 +02:00
|
|
|
Provides: perl:%{_mandir}/man3/CORE.3pm.gz
|
2013-06-11 15:10:30 +02:00
|
|
|
Obsoletes: perl-macros < 2.0
|
2018-05-18 20:24:55 +02:00
|
|
|
BuildArch: noarch
|
2008-03-14 17:55:08 +01:00
|
|
|
|
|
|
|
%description doc
|
|
|
|
Perl man pages and pod files.
|
|
|
|
|
2006-12-19 00:17:26 +01:00
|
|
|
%prep
|
2012-11-16 09:47:08 +01:00
|
|
|
%setup -q -n perl-%{pversion}
|
2018-05-18 20:24:55 +02:00
|
|
|
cp -p %{SOURCE3} .
|
2018-09-26 11:55:33 +02:00
|
|
|
%patch0
|
2008-03-11 18:05:46 +01:00
|
|
|
%patch3
|
2008-05-07 21:53:03 +02:00
|
|
|
%patch4
|
2008-08-21 18:46:31 +02:00
|
|
|
%patch5
|
2010-06-02 18:06:44 +02:00
|
|
|
%patch6
|
2016-05-09 14:03:01 +02:00
|
|
|
%patch7
|
2018-01-11 15:55:49 +01:00
|
|
|
%ifarch ppc ppc64 ppc64le
|
2013-08-08 17:39:00 +02:00
|
|
|
%patch8 -p1
|
2018-09-26 13:07:51 +02:00
|
|
|
%patch13
|
2013-08-08 17:39:00 +02:00
|
|
|
%endif
|
2013-09-03 18:08:31 +02:00
|
|
|
%patch9
|
2014-03-25 13:21:43 +01:00
|
|
|
%patch11
|
2017-12-06 15:57:28 +01:00
|
|
|
%patch12 -p1
|
2018-01-22 22:01:20 +01:00
|
|
|
%patch14 -p1
|
2018-09-28 16:08:18 +02:00
|
|
|
%patch15
|
2019-11-19 15:17:02 +01:00
|
|
|
%patch17
|
|
|
|
%patch18
|
2019-12-03 11:27:11 +01:00
|
|
|
%patch19 -p1
|
2006-12-19 00:17:26 +01:00
|
|
|
|
|
|
|
%build
|
2019-06-28 08:16:24 +02:00
|
|
|
%define _lto_cflags %{nil}
|
2010-04-01 18:16:33 +02:00
|
|
|
cp -a lib savelib
|
2009-09-06 12:05:41 +02:00
|
|
|
export BZIP2_LIB=%{_libdir}
|
|
|
|
export BZIP2_INCLUDE=%{_includedir}
|
|
|
|
export BUILD_BZIP2=0
|
2018-05-18 20:24:55 +02:00
|
|
|
options="-Doptimize='%{optflags} -Wall -pipe'"
|
2006-12-19 00:17:26 +01:00
|
|
|
%ifarch alpha
|
|
|
|
# -mieee needed for bad alpha gcc optimization
|
2018-05-18 20:24:55 +02:00
|
|
|
options="-Doptimize='%{optflags} -Wall -pipe -mieee'"
|
2006-12-19 00:17:26 +01:00
|
|
|
%endif
|
|
|
|
%ifarch ppc ppc64
|
|
|
|
options="$options -Duse64bitint"
|
|
|
|
%endif
|
2013-09-03 18:08:31 +02:00
|
|
|
# this needs an installed perl, sorry
|
|
|
|
archname=%(perl -V:archname | sed "s!.*='!!;s!'.*!!")
|
|
|
|
test -n "$archname"
|
|
|
|
versionlist=
|
|
|
|
for v in %{?versionlist} ; do
|
|
|
|
test "$v" == none || versionlist="$versionlist $v/$archname $v"
|
|
|
|
done
|
|
|
|
test -n "$versionlist" || versionlist=none
|
|
|
|
versionlist=${versionlist# }
|
2008-04-12 20:11:59 +02:00
|
|
|
# always use glibc's setenv
|
|
|
|
options="$options -Accflags='-DPERL_USE_SAFE_PUTENV'"
|
2018-05-18 20:24:55 +02:00
|
|
|
options="$options -Dotherlibdirs=%{_libexecdir}/perl5/site_perl -Dinc_version_list='$versionlist'"
|
2006-12-19 00:17:26 +01:00
|
|
|
chmod 755 ./configure.gnu
|
2018-05-18 20:24:55 +02:00
|
|
|
./configure.gnu --prefix=%{_prefix} -Dvendorprefix=%{_prefix} -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Dd_dbm_open -Duseshrplib=\'true\' $options
|
2010-07-30 12:31:05 +02:00
|
|
|
make %{?_smp_mflags}
|
2010-04-01 18:16:33 +02:00
|
|
|
cp -p libperl.so savelibperl.so
|
|
|
|
cp -p lib/Config.pm saveConfig.pm
|
|
|
|
cp -p lib/Config_heavy.pl saveConfig_heavy.pl
|
2018-05-18 20:24:55 +02:00
|
|
|
make -j1 clobber
|
2010-04-01 18:16:33 +02:00
|
|
|
rm -rf lib
|
|
|
|
mv savelib lib
|
2018-05-18 20:24:55 +02:00
|
|
|
./configure.gnu --prefix=%{_prefix} -Dvendorprefix=%{_prefix} -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Dd_dbm_open $options
|
2010-07-30 12:31:05 +02:00
|
|
|
make %{?_smp_mflags}
|
2008-03-11 18:05:46 +01:00
|
|
|
|
|
|
|
%check
|
2013-05-27 11:09:59 +02:00
|
|
|
%if !0%{?qemu_user_space_build}
|
2018-05-18 20:24:55 +02:00
|
|
|
TEST_JOBS="%{jobs}" make %{?_smp_mflags} test
|
2006-12-19 00:17:26 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%install
|
2018-05-18 20:24:55 +02:00
|
|
|
%make_install
|
|
|
|
cp -a %{buildroot}%{_libexecdir}/perl5/site_perl %{buildroot}%{_libexecdir}/perl5/vendor_perl
|
|
|
|
cpa=`echo %{buildroot}%{_libexecdir}/perl5/*/*/CORE | sed -e 's@/CORE$@@'`
|
2006-12-19 00:17:26 +01:00
|
|
|
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
|
2009-07-03 16:07:28 +02:00
|
|
|
# install macros.perl file
|
2018-05-18 20:24:55 +02:00
|
|
|
install -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/rpm/macros.perl
|
|
|
|
pushd %{_includedir}
|
|
|
|
( rpm -ql glibc-devel | fgrep '.h'
|
|
|
|
find %{_includedir}/asm/ -name \*.h
|
|
|
|
find %{_includedir}/asm-generic -name \*.h
|
|
|
|
find %{_includedir}/linux -name \*.h
|
2008-03-14 17:55:08 +01:00
|
|
|
) | while read f; do
|
2018-05-18 20:24:55 +02:00
|
|
|
%{buildroot}%{_bindir}/perl -I$cp -I$cpa %{buildroot}%{_bindir}/h2ph -d $vpa ${f/\/usr\/include\//} || :
|
2006-12-19 00:17:26 +01:00
|
|
|
done
|
2008-03-21 02:20:15 +01:00
|
|
|
popd
|
2006-12-19 00:17:26 +01:00
|
|
|
d="`gcc -print-file-name=include`"
|
2018-05-18 20:24:55 +02:00
|
|
|
test -f "$d/stdarg.h" && (cd $d ; %{buildroot}%{_bindir}/perl -I$cp -I$cpa %{buildroot}%{_bindir}/h2ph -d $vpa stdarg.h stddef.h float.h)
|
2008-03-14 17:55:08 +01:00
|
|
|
# remove broken pm - we don't have the module
|
2018-05-18 20:24:55 +02:00
|
|
|
rm -f %{buildroot}%{_libexecdir}/perl5/*/Pod/Perldoc/ToTk.pm
|
2008-03-14 17:55:08 +01:00
|
|
|
# we don't need this in here
|
2018-05-18 20:24:55 +02:00
|
|
|
rm -f %{buildroot}%{_libexecdir}/perl5/*/*/CORE/libperl.a
|
2007-11-12 18:41:25 +01:00
|
|
|
# test CVE-2007-5116
|
2018-05-18 20:24:55 +02:00
|
|
|
%{buildroot}%{_bindir}/perl -e '$r=chr(128)."\\x{100}";/$r/'
|
2013-09-03 18:08:31 +02:00
|
|
|
# test perl-regexp-refoverflow.diff, should not crash or hang
|
2018-05-18 20:24:55 +02:00
|
|
|
%{buildroot}%{_bindir}/perl -e 'eval "/\\6666666666/"'
|
2007-05-17 00:31:32 +02:00
|
|
|
cat << EOF > perl-base-filelist
|
2018-05-18 20:24:55 +02:00
|
|
|
%{_libexecdir}/perl5/%{pversion}/B/Deparse.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/Carp.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/Carp/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/Class/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/Config/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/Digest.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/Digest/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/English.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/Exporter.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/Exporter/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/File/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/Getopt/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/IPC/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/Text/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/Tie/Hash.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/XSLoader.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/warnings.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/warnings/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/AutoLoader.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/FileHandle.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/SelectSaver.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/Symbol.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/base.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/bytes.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/bytes_heavy.pl
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/constant.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/fields.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/feature.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/integer.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/locale.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/overload.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/overloading.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/parent.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/strict.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/unicore/Heavy.pl
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/utf8.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/utf8_heavy.pl
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/vars.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/version.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/Data/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/Digest/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/File/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/List/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/Scalar/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/IO.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/IO/Dir.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/IO/File.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/IO/Handle.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/IO/Pipe.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/IO/Poll.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/IO/Seekable.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/IO/Select.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/IO/Socket.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/IO/Socket/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/B.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/Config.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/Config_heavy.pl
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/Cwd.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/DynaLoader.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/Errno.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/Fcntl.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/POSIX.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/Socket.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/attributes.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/auto/Data/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/auto/Digest/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/auto/Fcntl/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/auto/File/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/auto/IO/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/auto/List/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/auto/Cwd/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/auto/Socket/
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/auto/POSIX/POSIX.so
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/lib.pm
|
|
|
|
%{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/re.pm
|
2007-05-17 00:31:32 +02:00
|
|
|
EOF
|
2008-08-21 18:46:31 +02:00
|
|
|
{
|
|
|
|
sed -e 's/^/%%exclude /' perl-base-filelist
|
2018-05-18 20:24:55 +02:00
|
|
|
(cd %{buildroot}
|
2008-08-21 18:46:31 +02:00
|
|
|
for i in usr/lib/perl5/*/pod/*; do
|
|
|
|
case $i in */perldiag.pod) ;;
|
|
|
|
*) echo "%%exclude /$i" ;;
|
|
|
|
esac
|
|
|
|
done)
|
|
|
|
} > perl-base-excludes
|
2006-12-19 00:17:26 +01:00
|
|
|
|
2007-05-17 00:31:32 +02:00
|
|
|
%files base -f perl-base-filelist
|
2018-03-06 20:03:04 +01:00
|
|
|
%license Copying Artistic
|
2018-05-18 20:24:55 +02:00
|
|
|
%dir %{_libexecdir}/perl5
|
|
|
|
%dir %{_libexecdir}/perl5/%{pversion}
|
|
|
|
%dir %{_libexecdir}/perl5/%{pversion}/B
|
|
|
|
%dir %{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*
|
|
|
|
%dir %{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/auto
|
|
|
|
%dir %{_libexecdir}/perl5/%{pversion}/*-linux-thread-multi*/auto/POSIX
|
|
|
|
%{_bindir}/perl
|
|
|
|
%{_bindir}/perl%{pversion}
|
|
|
|
%{_mandir}/man1/perl.1%{?ext_man}
|
2007-05-17 00:31:32 +02:00
|
|
|
|
2018-05-18 20:24:55 +02:00
|
|
|
%files -f perl-base-excludes
|
|
|
|
%exclude %{_bindir}/perl
|
|
|
|
%exclude %{_bindir}/perl%{pversion}
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_libexecdir}/perl5/*
|
2009-07-03 16:07:28 +02:00
|
|
|
%config %{_sysconfdir}/rpm/macros.perl
|
2008-01-12 02:01:53 +01:00
|
|
|
|
2008-03-14 17:55:08 +01:00
|
|
|
%files doc
|
2009-07-03 16:07:28 +02:00
|
|
|
%doc README.macros
|
2018-05-18 20:24:55 +02:00
|
|
|
%exclude %{_mandir}/man1/perl.1.gz
|
|
|
|
%exclude %{_libexecdir}/perl5/*/pod/perldiag.pod
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%doc %{_libexecdir}/perl5/*/pod
|
2008-03-14 17:55:08 +01:00
|
|
|
|
2007-03-29 00:57:43 +02:00
|
|
|
%changelog
|