This commit is contained in:
parent
cab6e59f1a
commit
1b30e81d56
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 15 09:07:45 CET 2008 - coolo@suse.de
|
||||
|
||||
- pod/perldiag.pod is needed in the base distribution
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 11 20:31:18 CET 2008 - coolo@suse.de
|
||||
|
||||
|
17
perl.spec
17
perl.spec
@ -16,7 +16,7 @@ Name: perl
|
||||
Url: http://www.perl.org/
|
||||
BuildRequires: db-devel gdbm-devel ncurses-devel zlib-devel
|
||||
Version: 5.10.0
|
||||
Release: 18
|
||||
Release: 19
|
||||
Summary: The Perl interpreter
|
||||
License: Artistic License; GPL v2 or later
|
||||
Group: Development/Languages/Perl
|
||||
@ -277,6 +277,15 @@ cat << EOF > perl-base-filelist
|
||||
/usr/lib/perl5/%version/*-linux-thread-multi*/re.pm
|
||||
EOF
|
||||
cat perl-base-filelist | sed -e 's/^/%exclude /g' > perl-base-excludes
|
||||
: > perl-pod-excludes
|
||||
for i in $RPM_BUILD_ROOT/usr/lib/perl5/*/pod/*; do
|
||||
echo "%exclude $i" >> perl-pod-excludes
|
||||
done
|
||||
grep -v perldiag.pod perl-pod-excludes > perl-pod-excludes.new
|
||||
mv perl-pod-excludes.new perl-pod-excludes
|
||||
sed -i -e "s,$RPM_BUILD_ROOT,," perl-pod-excludes
|
||||
# can %files take two file lists?
|
||||
cat perl-pod-excludes >> perl-base-excludes
|
||||
#%post
|
||||
#%{fillup_only -an suseconfig}
|
||||
|
||||
@ -293,12 +302,11 @@ cat perl-base-filelist | sed -e 's/^/%exclude /g' > perl-base-excludes
|
||||
/usr/bin/suidperl
|
||||
%doc /usr/share/man/man1/perl.1.gz
|
||||
|
||||
%files -f perl-base-excludes
|
||||
%files -f perl-base-excludes
|
||||
%defattr(-,root,root)
|
||||
%exclude /usr/bin/perl
|
||||
%exclude /usr/bin/perl%version
|
||||
%exclude /usr/bin/suidperl
|
||||
%exclude /usr/lib/perl5/*/pod
|
||||
%exclude /usr/lib/perl5/*/Unicode/*/*.txt
|
||||
%exclude /usr/lib/perl5/*/unicore/*.txt
|
||||
/usr/bin/*
|
||||
@ -311,6 +319,7 @@ cat perl-base-filelist | sed -e 's/^/%exclude /g' > perl-base-excludes
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
%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
|
||||
@ -318,6 +327,8 @@ cat perl-base-filelist | sed -e 's/^/%exclude /g' > perl-base-excludes
|
||||
%doc /usr/lib/perl5/*/unicore/*.txt
|
||||
|
||||
%changelog
|
||||
* Sat Mar 15 2008 coolo@suse.de
|
||||
- pod/perldiag.pod is needed in the base distribution
|
||||
* Tue Mar 11 2008 coolo@suse.de
|
||||
- after several discussions on how to decrease size of perl
|
||||
distribution: split out perl-doc
|
||||
|
Loading…
Reference in New Issue
Block a user