Hello community, here is the log from the commit of package perl for openSUSE:Factory checked in at Tue Nov 30 15:36:30 CET 2010. -------- --- perl/perl.changes 2010-11-22 20:28:20.000000000 +0100 +++ perl/perl.changes 2010-11-30 11:23:21.000000000 +0100 @@ -1,0 +2,10 @@ +Tue Nov 30 10:23:06 UTC 2010 - coolo@novell.com + +- added a new macro %perl_requires + +------------------------------------------------------------------- +Mon Nov 29 15:20:19 UTC 2010 - coolo@novell.com + +- simplify macro logic a bit + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl.spec ++++++ --- /var/tmp/diff_new_pack.AEJBcL/_old 2010-11-30 15:35:08.000000000 +0100 +++ /var/tmp/diff_new_pack.AEJBcL/_new 2010-11-30 15:35:08.000000000 +0100 @@ -21,7 +21,7 @@ Name: perl Summary: The Perl interpreter Version: 5.12.2 -Release: 3 +Release: 4 %define pversion 5.12.2 License: Artistic License .. ; GPLv2+ Group: Development/Languages/Perl ++++++ macros.perl ++++++ --- /var/tmp/diff_new_pack.AEJBcL/_old 2010-11-30 15:35:08.000000000 +0100 +++ /var/tmp/diff_new_pack.AEJBcL/_new 2010-11-30 15:35:08.000000000 +0100 @@ -22,17 +22,24 @@ %perl_installarchlib %(perl -V:installarchlib | sed "s!.*='!!;s!'.*!!") %perl_prefix %{buildroot} +# Macro to encapsulate perl requires (empty for fedora and suse > 11.3) +# we keep the complicated form even here to easy sync the other macros with +# perl-macros package +# +%perl_requires() \ +%if 0%{?suse_version} > 0 && 0%{?suse_version} < 1700 \ +Requires: perl = %{perl_version} \ +%endif + # suse specific macros # %perl_make_install make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist(n:) \ - 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 ; \ + 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 \ + find $RPM_BUILD_ROOT%perl_vendorarch/auto -depth -type d -print0 | xargs -0 -r rmdir \ + fi \ fi \ rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod \ %nil ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de