From: Elan Ruusamäe Date: Tue, 15 Jan 2008 20:09:45 +0000 (+0000) Subject: - EOF cosmetics X-Git-Tag: auto/th/perl-5_10_0-1~3 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=df8e4995c00b1fa3f76023e07db0d8ce62968d0c;p=packages%2Fperl.git - EOF cosmetics Changed files: perl.spec -> 1.368 --- diff --git a/perl.spec b/perl.spec index 0415fc4..761f92d 100644 --- a/perl.spec +++ b/perl.spec @@ -13,6 +13,7 @@ # - consider disabling ithreads by default # - what about "prove" (binary+manual)? (conflicts with standalone Test-Harness) # - patch MakeMaker to get rid of empty *.bs files (MM_Unix::dynamic_bs()) +# - %{__cc}: cc -c -o uhv.o -DPERL_CORE -DPERL_MICRO -DSTANDARD_C -DPERL_USE_SAFE_PUTENV -O2 -march=i686 hv.c # # TODO for perl-dependent packages: # - change all "R/BR: perl" to one of perl-{base,modules,devel} @@ -680,7 +681,7 @@ sh Configure \ ## probably be done in %%prep, but then Configure would complain (->MANIFEST)) mv ext/List/Util/lib/List/Util.pm ext/List/Util rm -f ext/List/Util/Makefile.PL -cat < ext/List/Util/Makefile.PL +cat <<'EOF' > ext/List/Util/Makefile.PL use ExtUtils::MakeMaker; WriteMakefile(NAME=>"List::Util", VERSION_FROM=>"Util.pm", DEFINE=>"-DPERL_EXT"); EOF @@ -689,11 +690,11 @@ EOF LIBPERL_SONAME=libperl.so.%{_abi} \ LDDLFLAGS="%{rpmcflags} -shared" -cat > runperl < runperl <<'EOF' #!/bin/sh -LD_PRELOAD="%{_builddir}/%{name}-%{version}/libperl.so.%{_abi}" \\ -PERL5LIB="%{buildroot}%{perl_privlib}:%{buildroot}%{perl_archlib}" \\ -exec %{buildroot}%{_bindir}/perl \$* +LD_PRELOAD="%{_builddir}/%{name}-%{version}/libperl.so.%{_abi}" \ +PERL5LIB="%{buildroot}%{perl_privlib}:%{buildroot}%{perl_archlib}" \ +exec %{buildroot}%{_bindir}/perl $* EOF chmod a+x runperl