From 3b4c9da8f6c8e948e92918453900b216c6ee2ba66a26506bed6fb2d6cd11677a Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 21 Mar 2008 01:20:15 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl?expand=0&rev=17 --- perl.changes | 5 +++++ perl.spec | 8 ++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/perl.changes b/perl.changes index eaf2639..6db7262 100644 --- a/perl.changes +++ b/perl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 17 17:30:54 CET 2008 - coolo@suse.de + +- fix path for generated perl bindings (bnc#371713) + ------------------------------------------------------------------- Sat Mar 15 09:07:45 CET 2008 - coolo@suse.de diff --git a/perl.spec b/perl.spec index 48d2332..96e8cfc 100644 --- a/perl.spec +++ b/perl.spec @@ -16,7 +16,7 @@ Name: perl Url: http://www.perl.org/ BuildRequires: db-devel gdbm-devel ncurses-devel zlib-devel Version: 5.10.0 -Release: 19 +Release: 21 Summary: The Perl interpreter License: Artistic License; GPL v2 or later Group: Development/Languages/Perl @@ -150,12 +150,14 @@ install -m 444 saveConfig_heavy.pl $cpa/Config_heavy.pl #install -m 755 SuSE/perllocal.SuSE $RPM_BUILD_ROOT/usr/lib/perl5 #install -m 755 SuSE/SuSEconfig.perl $RPM_BUILD_ROOT/sbin/conf.d #install -m 755 SuSE/sysconfig.suseconfig-perl $RPM_BUILD_ROOT/var/adm/fillup-templates +pushd /usr/include ( rpm -ql glibc-devel | fgrep '.h' find /usr/include/asm/ -name *.h find /usr/include/asm-generic -name *.h ) | while read f; do - $RPM_BUILD_ROOT/usr/bin/perl -I$cp -I$cpa $RPM_BUILD_ROOT/usr/bin/h2ph -d $vpa $f || : + $RPM_BUILD_ROOT/usr/bin/perl -I$cp -I$cpa $RPM_BUILD_ROOT/usr/bin/h2ph -d $vpa ${f/\/usr\/include\//} || : done +popd d="`gcc -print-file-name=include`" test -f "$d/stdarg.h" && (cd $d ; $RPM_BUILD_ROOT/usr/bin/perl -I$cp -I$cpa $RPM_BUILD_ROOT/usr/bin/h2ph -d $vpa stdarg.h stddef.h float.h) # remove broken pm - we don't have the module @@ -327,6 +329,8 @@ cat perl-pod-excludes >> perl-base-excludes %doc /usr/lib/perl5/*/unicore/*.txt %changelog +* Mon Mar 17 2008 coolo@suse.de +- fix path for generated perl bindings (bnc#371713) * Sat Mar 15 2008 coolo@suse.de - pod/perldiag.pod is needed in the base distribution * Tue Mar 11 2008 coolo@suse.de