diff --git a/perl.changes b/perl.changes index e7d29d2..f5baf41 100644 --- a/perl.changes +++ b/perl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 11 17:49:26 CEST 2008 - mls@suse.de + +- compile with -DPERL_USE_SAFE_PUTENV [bnc#377543] + ------------------------------------------------------------------- Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de diff --git a/perl.spec b/perl.spec index b6fba00..2e11683 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: 26 +Release: 27 Summary: The Perl interpreter License: Artistic License; GPL v2 or later Group: Development/Languages/Perl @@ -115,6 +115,8 @@ options="-Doptimize='$RPM_OPT_FLAGS -Wall -pipe -mieee'" %ifarch ppc ppc64 options="$options -Duse64bitint" %endif +# always use glibc's setenv +options="$options -Accflags='-DPERL_USE_SAFE_PUTENV'" chmod 755 ./configure.gnu ./configure.gnu --prefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Duseshrplib=\'true\' $options make @@ -331,6 +333,8 @@ cat perl-pod-excludes >> perl-base-excludes %doc /usr/lib/perl5/*/unicore/*.txt %changelog +* Fri Apr 11 2008 mls@suse.de +- compile with -DPERL_USE_SAFE_PUTENV [bnc#377543] * Thu Apr 10 2008 ro@suse.de - added baselibs.conf file to build xxbit packages for multilib support