This commit is contained in:
parent
ac500be867
commit
6af0b48eef
@ -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
|
Tue Mar 11 20:31:18 CET 2008 - coolo@suse.de
|
||||||
|
|
||||||
|
15
perl.spec
15
perl.spec
@ -16,7 +16,7 @@ Name: perl
|
|||||||
Url: http://www.perl.org/
|
Url: http://www.perl.org/
|
||||||
BuildRequires: db-devel gdbm-devel ncurses-devel zlib-devel
|
BuildRequires: db-devel gdbm-devel ncurses-devel zlib-devel
|
||||||
Version: 5.10.0
|
Version: 5.10.0
|
||||||
Release: 18
|
Release: 19
|
||||||
Summary: The Perl interpreter
|
Summary: The Perl interpreter
|
||||||
License: Artistic License; GPL v2 or later
|
License: Artistic License; GPL v2 or later
|
||||||
Group: Development/Languages/Perl
|
Group: Development/Languages/Perl
|
||||||
@ -277,6 +277,15 @@ cat << EOF > perl-base-filelist
|
|||||||
/usr/lib/perl5/%version/*-linux-thread-multi*/re.pm
|
/usr/lib/perl5/%version/*-linux-thread-multi*/re.pm
|
||||||
EOF
|
EOF
|
||||||
cat perl-base-filelist | sed -e 's/^/%exclude /g' > perl-base-excludes
|
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
|
#%post
|
||||||
#%{fillup_only -an suseconfig}
|
#%{fillup_only -an suseconfig}
|
||||||
|
|
||||||
@ -298,7 +307,6 @@ cat perl-base-filelist | sed -e 's/^/%exclude /g' > perl-base-excludes
|
|||||||
%exclude /usr/bin/perl
|
%exclude /usr/bin/perl
|
||||||
%exclude /usr/bin/perl%version
|
%exclude /usr/bin/perl%version
|
||||||
%exclude /usr/bin/suidperl
|
%exclude /usr/bin/suidperl
|
||||||
%exclude /usr/lib/perl5/*/pod
|
|
||||||
%exclude /usr/lib/perl5/*/Unicode/*/*.txt
|
%exclude /usr/lib/perl5/*/Unicode/*/*.txt
|
||||||
%exclude /usr/lib/perl5/*/unicore/*.txt
|
%exclude /usr/lib/perl5/*/unicore/*.txt
|
||||||
/usr/bin/*
|
/usr/bin/*
|
||||||
@ -311,6 +319,7 @@ cat perl-base-filelist | sed -e 's/^/%exclude /g' > perl-base-excludes
|
|||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%exclude /usr/share/man/man1/perl.1.gz
|
%exclude /usr/share/man/man1/perl.1.gz
|
||||||
|
%exclude /usr/lib/perl5/*/pod/perldiag.pod
|
||||||
%doc /usr/share/man/man1/*
|
%doc /usr/share/man/man1/*
|
||||||
%doc /usr/share/man/man3/*
|
%doc /usr/share/man/man3/*
|
||||||
%doc /usr/lib/perl5/*/pod
|
%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
|
%doc /usr/lib/perl5/*/unicore/*.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Mar 15 2008 coolo@suse.de
|
||||||
|
- pod/perldiag.pod is needed in the base distribution
|
||||||
* Tue Mar 11 2008 coolo@suse.de
|
* Tue Mar 11 2008 coolo@suse.de
|
||||||
- after several discussions on how to decrease size of perl
|
- after several discussions on how to decrease size of perl
|
||||||
distribution: split out perl-doc
|
distribution: split out perl-doc
|
||||||
|
Loading…
Reference in New Issue
Block a user