OBS User unknown 2009-07-08 15:54:34 +00:00 committed by Git OBS Bridge
parent 1b2dadf7cc
commit 1336df2c21
3 changed files with 19 additions and 7 deletions

View File

@ -27,12 +27,12 @@
%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 \ 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_RO test -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod && \
OT%{perl_archlib}/perllocal.pod > $RPM_BUILD_ROOT/var/adm/perl-modules/%{-n:%{-n*}}%{!-n:%{name}} ; } ; \ { 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_sitea test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT/%perl_sitearch/auto && \
rch/auto -name .packlist -print0 | xargs -0 -r perl -spi -e "s@$RPM_BUILD_ROOT@@g" ; \ 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_ven test -n "$RPM_BUILD_ROOT" -a -d $RPM_BUILD_ROOT/%perl_vendorarch/auto && \
dorarch/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 perl -spi -e "s@$RPM_BUILD_ROOT@@g" ; \
rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod \ rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod \
%nil %nil

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Jul 7 15:55:54 CEST 2009 - coolo@novell.com
- disable as-needed as it breaks at least make test
-------------------------------------------------------------------
Tue Jul 7 12:10:14 CEST 2009 - coolo@novell.com
- fix macros file
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 29 22:32:43 CEST 2009 - chris@computersalat.de Mon Jun 29 22:32:43 CEST 2009 - chris@computersalat.de

View File

@ -21,7 +21,7 @@
Name: perl Name: perl
Summary: The Perl interpreter Summary: The Perl interpreter
Version: 5.10.0 Version: 5.10.0
Release: 68 Release: 69
License: Artistic License .. ; GPL v2 or later License: Artistic License .. ; GPL v2 or later
Group: Development/Languages/Perl Group: Development/Languages/Perl
AutoReqProv: on AutoReqProv: on
@ -152,6 +152,7 @@ cp -p %{S:3} .
%patch12 %patch12
%build %build
export SUSE_ASNEEDED=0
options="-Doptimize='$RPM_OPT_FLAGS -Wall -pipe'" options="-Doptimize='$RPM_OPT_FLAGS -Wall -pipe'"
%ifarch alpha %ifarch alpha
# -mieee needed for bad alpha gcc optimization # -mieee needed for bad alpha gcc optimization
@ -174,6 +175,7 @@ make
%ifnarch %arm %ifnarch %arm
%check %check
export SUSE_ASNEEDED=0
# delete broken File::Find test # delete broken File::Find test
rm -f lib/File/Find/t/find.t rm -f lib/File/Find/t/find.t
# delete racy test # delete racy test