Accepting request 611550 from devel:languages:perl
-> OBS-URL: https://build.opensuse.org/request/show/611550 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl?expand=0&rev=109
This commit is contained in:
commit
ba53282318
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fe8208133e73e47afc3251c08d2c21c5a60160165a8ab8b669c43a420e4ec680
|
||||
size 11922848
|
3
perl-5.26.2.tar.xz
Normal file
3
perl-5.26.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0f8c0fb1b0db4681adb75c3ba0dd77a0472b1b359b9e80efd79fc27b4352132c
|
||||
size 11931624
|
24
perl.changes
24
perl.changes
@ -1,3 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 23 14:12:11 CEST 2018 - mls@suse.de
|
||||
|
||||
- make perl-5.26.2 compatible with perl-5.26.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 14 14:50:11 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Update versions based on provides in perl rpm
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 11 11:34:29 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Version update to perl-5.26.2:
|
||||
* Tons of bugfixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 11 09:33:27 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Remove the as-needed disabling as no other distro is doing that
|
||||
- Use macros where possible
|
||||
- Remove if0 and commented out code to reduce the scope
|
||||
- Run tests in threads
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 22 15:10:43 UTC 2018 - fvogt@suse.com
|
||||
|
||||
|
344
perl.spec
344
perl.spec
@ -14,24 +14,19 @@
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
# icecream 0
|
||||
|
||||
|
||||
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
||||
%if ! %{defined _fillupdir}
|
||||
%define _fillupdir /var/adm/fillup-templates
|
||||
%endif
|
||||
|
||||
%define pversion 5.26.2
|
||||
%global versionlist 5.26.1
|
||||
Name: perl
|
||||
Summary: The Perl interpreter
|
||||
License: Artistic-1.0 or GPL-2.0+
|
||||
Group: Development/Languages/Perl
|
||||
Version: 5.26.1
|
||||
Version: 5.26.2
|
||||
Release: 0
|
||||
%define pversion 5.26.1
|
||||
Url: http://www.perl.org/
|
||||
Summary: The Perl interpreter
|
||||
License: Artistic-1.0 OR GPL-2.0-or-later
|
||||
Group: Development/Languages/Perl
|
||||
URL: http://www.perl.org/
|
||||
Source: http://www.cpan.org/src/5.0/perl-%{version}.tar.xz
|
||||
Source1: %name-rpmlintrc
|
||||
Source1: %{name}-rpmlintrc
|
||||
Source2: macros.perl
|
||||
Source3: README.macros
|
||||
Source4: baselibs.conf
|
||||
@ -50,25 +45,18 @@ Patch11: perl-5.18.2-overflow.diff
|
||||
Patch12: perl-reproducible.patch
|
||||
Patch13: perl_skip_flaky_tests_powerpc.patch
|
||||
Patch14: posix-sigaction.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
PreReq: perl-base = %version
|
||||
#PreReq: %fillup_prereq
|
||||
BuildRequires: db-devel
|
||||
BuildRequires: gdbm-devel
|
||||
BuildRequires: libbz2-devel
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: xz
|
||||
BuildRequires: zlib-devel
|
||||
#Requires: gzip # needed in SuSEconfig.perl
|
||||
Suggests: perl-doc = %version
|
||||
#
|
||||
%if "%version" != "%pversion"
|
||||
Provides: perl = %pversion-%release
|
||||
%endif
|
||||
Requires: perl-base = %{version}
|
||||
Suggests: perl-doc = %{version}
|
||||
Provides: perl-500
|
||||
Provides: perl(:MODULE_COMPAT_%pversion)
|
||||
%global versionlist %nil
|
||||
Provides: perl-Filter-Simple = 0.93
|
||||
Provides: perl(:MODULE_COMPAT_%{pversion})
|
||||
Provides: perl(:MODULE_COMPAT_5.26.1)
|
||||
Obsoletes: perl-Filter-Simple <= 0.93
|
||||
Provides: perl-I18N-LangTags = 0.42
|
||||
Obsoletes: perl-I18N-LangTags <= 0.42
|
||||
@ -112,8 +100,8 @@ Provides: perl-ExtUtils-CBuilder = 0.280225
|
||||
Obsoletes: perl-ExtUtils-CBuilder <= 0.280225
|
||||
Provides: perl-IO-Socket-IP = 0.38
|
||||
Obsoletes: perl-IO-Socket-IP <= 0.38
|
||||
Provides: perl-Parse-CPAN-Meta = 1.4417
|
||||
Obsoletes: perl-Parse-CPAN-Meta <= 1.4417
|
||||
Provides: perl-Parse-CPAN-Meta = 2.150010
|
||||
Obsoletes: perl-Parse-CPAN-Meta <= 2.150010
|
||||
Provides: perl-PathTools = 3.63
|
||||
Obsoletes: perl-PathTools <= 3.63
|
||||
Provides: perl-autodie = 2.29
|
||||
@ -122,6 +110,9 @@ Provides: perl-Test-Harness = 3.38
|
||||
Obsoletes: perl-Test-Harness <= 3.38
|
||||
Provides: perl-version = 0.9917
|
||||
Obsoletes: perl-version <= 0.9917
|
||||
%if "%{version}" != "%{pversion}"
|
||||
Provides: perl = %{pversion}-%{release}
|
||||
%endif
|
||||
|
||||
%description
|
||||
perl - Practical Extraction and Report Language
|
||||
@ -140,14 +131,9 @@ Summary: The Perl interpreter
|
||||
Group: Development/Languages/Perl
|
||||
Provides: perl-Digest
|
||||
Provides: perl-Digest-MD5
|
||||
%if "%version" != "%pversion"
|
||||
Provides: perl-base = %pversion-%release
|
||||
%if "%{version}" != "%{pversion}"
|
||||
Provides: perl-base = %{pversion}-%{release}
|
||||
%endif
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: perl-64bit
|
||||
%endif
|
||||
#
|
||||
|
||||
%description base
|
||||
perl - Practical Extraction and Report Language
|
||||
@ -166,19 +152,17 @@ itself.
|
||||
Summary: Perl Documentation
|
||||
Group: Development/Languages/Perl
|
||||
Requires: perl = %{version}
|
||||
Provides: perl:/usr/share/man/man3/CORE.3pm.gz
|
||||
%if 0%{?suse_version} >= 1120
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
Provides: perl-macros = 2.0
|
||||
Provides: perl:%{_mandir}/man3/CORE.3pm.gz
|
||||
Obsoletes: perl-macros < 2.0
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
Perl man pages and pod files.
|
||||
|
||||
%prep
|
||||
%setup -q -n perl-%{pversion}
|
||||
cp -p %{S:3} .
|
||||
cp -p %{SOURCE3} .
|
||||
%patch0
|
||||
%patch2
|
||||
%patch3
|
||||
@ -197,14 +181,13 @@ cp -p %{S:3} .
|
||||
|
||||
%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'"
|
||||
options="-Doptimize='%{optflags} -Wall -pipe'"
|
||||
%ifarch alpha
|
||||
# -mieee needed for bad alpha gcc optimization
|
||||
options="-Doptimize='$RPM_OPT_FLAGS -Wall -pipe -mieee'"
|
||||
options="-Doptimize='%{optflags} -Wall -pipe -mieee'"
|
||||
%endif
|
||||
%ifarch ppc ppc64
|
||||
options="$options -Duse64bitint"
|
||||
@ -220,30 +203,28 @@ test -n "$versionlist" || versionlist=none
|
||||
versionlist=${versionlist# }
|
||||
# always use glibc's setenv
|
||||
options="$options -Accflags='-DPERL_USE_SAFE_PUTENV'"
|
||||
options="$options -Dotherlibdirs=/usr/lib/perl5/site_perl -Dinc_version_list='$versionlist'"
|
||||
options="$options -Dotherlibdirs=%{_libexecdir}/perl5/site_perl -Dinc_version_list='$versionlist'"
|
||||
chmod 755 ./configure.gnu
|
||||
./configure.gnu --prefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Dd_dbm_open -Duseshrplib=\'true\' $options
|
||||
./configure.gnu --prefix=%{_prefix} -Dvendorprefix=%{_prefix} -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Dd_dbm_open -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
|
||||
make -j1 clobber
|
||||
rm -rf lib
|
||||
mv savelib lib
|
||||
./configure.gnu --prefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Dd_dbm_open $options
|
||||
./configure.gnu --prefix=%{_prefix} -Dvendorprefix=%{_prefix} -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Dd_dbm_open $options
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%if !0%{?qemu_user_space_build}
|
||||
export SUSE_ASNEEDED=0
|
||||
make test
|
||||
TEST_JOBS="%{jobs}" make %{?_smp_mflags} 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$@@'`
|
||||
%make_install
|
||||
cp -a %{buildroot}%{_libexecdir}/perl5/site_perl %{buildroot}%{_libexecdir}/perl5/vendor_perl
|
||||
cpa=`echo %{buildroot}%{_libexecdir}/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@/[^/]*$@@'`
|
||||
@ -252,190 +233,139 @@ 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%{_fillupdir}
|
||||
#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%{_fillupdir}
|
||||
# install macros.perl file
|
||||
install -D -m 644 %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.perl
|
||||
pushd /usr/include
|
||||
install -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/rpm/macros.perl
|
||||
pushd %{_includedir}
|
||||
( 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
|
||||
find %{_includedir}/asm/ -name \*.h
|
||||
find %{_includedir}/asm-generic -name \*.h
|
||||
find %{_includedir}/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\//} || :
|
||||
%{buildroot}%{_bindir}/perl -I$cp -I$cpa %{buildroot}%{_bindir}/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)
|
||||
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)
|
||||
# remove broken pm - we don't have the module
|
||||
rm -f $RPM_BUILD_ROOT/usr/lib/perl5/*/Pod/Perldoc/ToTk.pm
|
||||
rm -f %{buildroot}%{_libexecdir}/perl5/*/Pod/Perldoc/ToTk.pm
|
||||
# we don't need this in here
|
||||
rm -f $RPM_BUILD_ROOT/usr/lib/perl5/*/*/CORE/libperl.a
|
||||
#touch $RPM_BUILD_ROOT/usr/share/man/man3/perllocal.3pm
|
||||
#touch $cpa/perllocal.pod
|
||||
rm -f %{buildroot}%{_libexecdir}/perl5/*/*/CORE/libperl.a
|
||||
# test CVE-2007-5116
|
||||
$RPM_BUILD_ROOT/usr/bin/perl -e '$r=chr(128)."\\x{100}";/$r/'
|
||||
%{buildroot}%{_bindir}/perl -e '$r=chr(128)."\\x{100}";/$r/'
|
||||
# test perl-regexp-refoverflow.diff, should not crash or hang
|
||||
$RPM_BUILD_ROOT/usr/bin/perl -e 'eval "/\\6666666666/"'
|
||||
%if 0
|
||||
# remove unrelated target/os manpages
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlaix.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlamiga.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlapollo.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlbeos.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlbs2000.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlcygwin.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perldgux.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perldos.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlepoc.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlfreebsd.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlhpux.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlhurd.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlirix.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlmachten.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlmacos.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlmacosx.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlmint.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlnetware.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlopenbsd.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlos2.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlos390.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlos400.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlplan9.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlqnx.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlsolaris.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perltru64.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perluts.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlvmesa.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlvms.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlvos.1*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/perlwin32.1*
|
||||
%endif
|
||||
%{buildroot}%{_bindir}/perl -e 'eval "/\\6666666666/"'
|
||||
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/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/unicore/Heavy.pl
|
||||
/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.so
|
||||
/usr/lib/perl5/%pversion/*-linux-thread-multi*/lib.pm
|
||||
/usr/lib/perl5/%pversion/*-linux-thread-multi*/re.pm
|
||||
%{_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
|
||||
EOF
|
||||
{
|
||||
sed -e 's/^/%%exclude /' perl-base-filelist
|
||||
(cd $RPM_BUILD_ROOT
|
||||
(cd %{buildroot}
|
||||
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)
|
||||
%license Copying Artistic
|
||||
%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
|
||||
%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}
|
||||
|
||||
%files -f perl-base-excludes
|
||||
%defattr(-,root,root)
|
||||
%exclude /usr/bin/perl
|
||||
%exclude /usr/bin/perl%pversion
|
||||
/usr/bin/*
|
||||
/usr/lib/perl5/*
|
||||
%exclude %{_bindir}/perl
|
||||
%exclude %{_bindir}/perl%{pversion}
|
||||
%{_bindir}/*
|
||||
%{_libexecdir}/perl5/*
|
||||
%config %{_sysconfdir}/rpm/macros.perl
|
||||
#/sbin/conf.d/SuSEconfig.perl
|
||||
#%{_fillupdir}/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
|
||||
%exclude %{_mandir}/man1/perl.1.gz
|
||||
%exclude %{_libexecdir}/perl5/*/pod/perldiag.pod
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man3/*
|
||||
%doc %{_libexecdir}/perl5/*/pod
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user