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
|
|
|
#
|
2021-03-16 16:00:53 +01:00
|
|
|
# Copyright (c) 2021 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
|
|
|
|
2021-03-16 16:00:53 +01:00
|
|
|
%define pversion 5.32.1
|
|
|
|
%global versionlist 5.32.0
|
2006-12-19 00:17:26 +01:00
|
|
|
Name: perl
|
2021-03-16 16:00:53 +01:00
|
|
|
Version: 5.32.1
|
2018-05-18 20:24:55 +02:00
|
|
|
Release: 0
|
2007-05-17 00:31:32 +02:00
|
|
|
Summary: The Perl interpreter
|
2020-11-17 10:19:13 +01:00
|
|
|
License: Artistic-1.0 OR GPL-1.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
|
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
|
2020-10-27 12:07:45 +01:00
|
|
|
Provides: perl-Filter-Simple = 0.96
|
2018-05-18 20:24:55 +02:00
|
|
|
Provides: perl(:MODULE_COMPAT_%{pversion})
|
2021-03-16 16:00:53 +01:00
|
|
|
Provides: perl(:MODULE_COMPAT_5.32.0)
|
2020-10-27 12:07:45 +01:00
|
|
|
Obsoletes: perl-Filter-Simple <= 0.96
|
|
|
|
Provides: perl-I18N-LangTags = 0.44
|
|
|
|
Obsoletes: perl-I18N-LangTags <= 0.44
|
2015-06-23 21:23:16 +02:00
|
|
|
Provides: perl-MIME-Base64 = 3.15
|
|
|
|
Obsoletes: perl-MIME-Base64 <= 3.15
|
2020-10-27 12:07:45 +01:00
|
|
|
Provides: perl-Storable = 3.21
|
|
|
|
Obsoletes: perl-Storable <= 3.21
|
|
|
|
Provides: perl-Test-Simple = 1.302175
|
|
|
|
Obsoletes: perl-Test-Simple <= 1.302175
|
2015-06-23 21:23:16 +02:00
|
|
|
Provides: perl-Text-Balanced = 2.03
|
|
|
|
Obsoletes: perl-Text-Balanced <= 2.03
|
2020-10-27 12:07:45 +01:00
|
|
|
Provides: perl-Time-HiRes = 1.9764
|
|
|
|
Obsoletes: perl-Time-HiRes <= 1.9764
|
2018-09-26 12:49:13 +02:00
|
|
|
Provides: perl-libnet = 3.11
|
|
|
|
Obsoletes: perl-libnet <= 3.11
|
2020-10-27 12:07:45 +01:00
|
|
|
Provides: perl-Compress-Raw-Zlib = 2.093
|
|
|
|
Obsoletes: perl-Compress-Raw-Zlib <= 2.093
|
|
|
|
Provides: perl-Compress-Zlib = 2.093
|
|
|
|
Obsoletes: perl-Compress-Zlib <= 2.093
|
|
|
|
Provides: perl-IO-Compress-Base = 2.093
|
|
|
|
Obsoletes: perl-IO-Compress-Base <= 2.093
|
|
|
|
Provides: perl-IO-Compress-Zlib = 2.093
|
|
|
|
Obsoletes: perl-IO-Compress-Zlib <= 2.093
|
2015-06-23 21:23:16 +02:00
|
|
|
Provides: perl-IO-Zlib = 1.10
|
|
|
|
Obsoletes: perl-IO-Zlib <= 1.10
|
2020-10-27 12:07:45 +01:00
|
|
|
Provides: perl-Archive-Tar = 2.36
|
|
|
|
Obsoletes: perl-Archive-Tar <= 2.36
|
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
|
2020-10-27 12:07:45 +01:00
|
|
|
Provides: perl-Pod-Simple = 3.40
|
|
|
|
Obsoletes: perl-Pod-Simple <= 3.40
|
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
|
2020-10-27 12:07:45 +01:00
|
|
|
Provides: perl-ExtUtils-CBuilder = 0.280234
|
|
|
|
Obsoletes: perl-ExtUtils-CBuilder <= 0.280234
|
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
|
2020-10-27 12:07:45 +01:00
|
|
|
Provides: perl-autodie = 2.32
|
|
|
|
Obsoletes: perl-autodie <= 2.32
|
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
|
2020-10-27 12:07:45 +01:00
|
|
|
%patch14
|
2018-09-28 16:08:18 +02:00
|
|
|
%patch15
|
2019-11-19 15:17:02 +01:00
|
|
|
%patch17
|
|
|
|
%patch18
|
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'"
|
2020-06-05 14:12:31 +02:00
|
|
|
options="$options -Dotherlibdirs=/usr/lib/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
|
2020-06-05 14:12:31 +02:00
|
|
|
cp -a %{buildroot}/usr/lib/perl5/site_perl %{buildroot}/usr/lib/perl5/vendor_perl
|
|
|
|
cpa=`echo %{buildroot}/usr/lib/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
|
2020-08-31 13:04:42 +02:00
|
|
|
install -D -m 644 %{SOURCE2} %{buildroot}%{_rpmconfigdir}/macros.d/macros.perl
|
2018-05-18 20:24:55 +02:00
|
|
|
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
|
2020-06-05 14:12:31 +02:00
|
|
|
rm -f %{buildroot}/usr/lib/perl5/*/Pod/Perldoc/ToTk.pm
|
2008-03-14 17:55:08 +01:00
|
|
|
# we don't need this in here
|
2020-06-05 14:12:31 +02:00
|
|
|
rm -f %{buildroot}/usr/lib/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
|
2020-06-05 14:12:31 +02:00
|
|
|
/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}/English.pm
|
|
|
|
/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}/overloading.pm
|
|
|
|
/usr/lib/perl5/%{pversion}/parent.pm
|
|
|
|
/usr/lib/perl5/%{pversion}/strict.pm
|
|
|
|
/usr/lib/perl5/%{pversion}/utf8.pm
|
|
|
|
/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.so
|
|
|
|
/usr/lib/perl5/%{pversion}/*-linux-thread-multi*/lib.pm
|
|
|
|
/usr/lib/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
|
2020-06-05 14:12:31 +02:00
|
|
|
%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
|
2018-05-18 20:24:55 +02:00
|
|
|
%{_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}/*
|
2020-06-05 14:12:31 +02:00
|
|
|
/usr/lib/perl5/*
|
2020-08-31 13:04:42 +02:00
|
|
|
%{_rpmconfigdir}/macros.d/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
|
2020-06-05 14:12:31 +02:00
|
|
|
%exclude /usr/lib/perl5/*/pod/perldiag.pod
|
2018-05-18 20:24:55 +02:00
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_mandir}/man3/*
|
2020-06-05 14:12:31 +02:00
|
|
|
%doc /usr/lib/perl5/*/pod
|
2008-03-14 17:55:08 +01:00
|
|
|
|
2007-03-29 00:57:43 +02:00
|
|
|
%changelog
|