SHA256
1
0
forked from pool/perl

Accepting request 53704 from home:computersalat:devel:perl

mls: "Ich hab's ihm doch vorgeschlagen, er soll sich nicht so anstellen"

OBS-URL: https://build.opensuse.org/request/show/53704
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=47
This commit is contained in:
Stephan Kulow 2010-11-24 13:46:54 +00:00 committed by Git OBS Bridge
parent 854e085af4
commit 4770c5feea
2 changed files with 15 additions and 7 deletions

View File

@ -26,13 +26,14 @@
#
%perl_make_install make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist(n:) \
mkdir -p $RPM_BUILD_ROOT/var/adm/perl-modules \
test -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod && \
{ sed -e "s@$RPM_BUILD_ROOT@@g" < $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod > $RPM_BUILD_ROOT/var/adm/perl-modules/%{-n:%{-n*}}%{!-n:%{name}} ; } ; \
test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT/%perl_sitearch/auto && \
find $RPM_BUILD_ROOT/%perl_sitearch/auto -name .packlist -print0 | xargs -0 -r perl -spi -e "s@$RPM_BUILD_ROOT@@g" ; \
test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT/%perl_vendorarch/auto && \
find $RPM_BUILD_ROOT/%perl_vendorarch/auto -name .packlist -print0 | xargs -0 -r perl -spi -e "s@$RPM_BUILD_ROOT@@g" ; \
if [ %{_target_cpu} == noarch ]; then \
test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT%perl_vendorarch/auto && \
find $RPM_BUILD_ROOT%perl_vendorarch/auto -name .packlist -print0 | xargs -0 -r rm ; \
find $RPM_BUILD_ROOT%perl_vendorarch/auto -depth -type d -print0 | xargs -0 -r rmdir ; \
else \
test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT%perl_vendorarch/auto && \
find $RPM_BUILD_ROOT%perl_vendorarch/auto -name .packlist -print0 | xargs -0 -r rm ; \
fi \
rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod \
%nil

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Nov 22 19:27:42 UTC 2010 - chris@computersalat.de
- rework process_packlist macro
o remove .packlist, perllocal.pod file
hence no /var/adm/perl-modules/perl-{cpan_name}
-------------------------------------------------------------------
Wed Nov 17 16:40:13 CET 2010 - meissner@suse.de