Accepting request 53871 from devel:languages:perl
Accepted submit request 53871 from user coolo OBS-URL: https://build.opensuse.org/request/show/53871 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl?expand=0&rev=51
This commit is contained in:
commit
5295d62c34
15
macros.perl
15
macros.perl
@ -26,13 +26,14 @@
|
|||||||
#
|
#
|
||||||
%perl_make_install make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
%perl_make_install make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||||
%perl_process_packlist(n:) \
|
%perl_process_packlist(n:) \
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/adm/perl-modules \
|
if [ %{_target_cpu} == noarch ]; then \
|
||||||
test -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod && \
|
test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT%perl_vendorarch/auto && \
|
||||||
{ 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}} ; } ; \
|
find $RPM_BUILD_ROOT%perl_vendorarch/auto -name .packlist -print0 | xargs -0 -r rm ; \
|
||||||
test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT/%perl_sitearch/auto && \
|
find $RPM_BUILD_ROOT%perl_vendorarch/auto -depth -type d -print0 | xargs -0 -r rmdir ; \
|
||||||
find $RPM_BUILD_ROOT/%perl_sitearch/auto -name .packlist -print0 | xargs -0 -r perl -spi -e "s@$RPM_BUILD_ROOT@@g" ; \
|
else \
|
||||||
test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT/%perl_vendorarch/auto && \
|
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" ; \
|
find $RPM_BUILD_ROOT%perl_vendorarch/auto -name .packlist -print0 | xargs -0 -r rm ; \
|
||||||
|
fi \
|
||||||
rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod \
|
rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod \
|
||||||
%nil
|
%nil
|
||||||
|
|
||||||
|
@ -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
|
Wed Nov 17 16:40:13 CET 2010 - meissner@suse.de
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user