- simplify macro logic a bit
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=49
This commit is contained in:
parent
9406a97d0a
commit
947700b01f
10
macros.perl
10
macros.perl
@ -26,13 +26,11 @@
|
|||||||
#
|
#
|
||||||
%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:) \
|
||||||
|
if test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT%perl_vendorarch/auto; then \
|
||||||
|
find $RPM_BUILD_ROOT%perl_vendorarch/auto -name .packlist -print0 | xargs -0 -r rm \
|
||||||
if [ %{_target_cpu} == noarch ]; then \
|
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 -depth -type d -print0 | xargs -0 -r rmdir \
|
||||||
find $RPM_BUILD_ROOT%perl_vendorarch/auto -name .packlist -print0 | xargs -0 -r rm ; \
|
fi \
|
||||||
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 \
|
fi \
|
||||||
rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod \
|
rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod \
|
||||||
%nil
|
%nil
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 29 15:20:19 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
- simplify macro logic a bit
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 22 19:27:42 UTC 2010 - chris@computersalat.de
|
Mon Nov 22 19:27:42 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user