diff --git a/perl/perl.spec b/perl/perl.spec index c0ede4f462..bc8bc29728 100644 --- a/perl/perl.spec +++ b/perl/perl.spec @@ -32,7 +32,7 @@ Class: CORE Group: Perl License: GPL/Artistic Version: 5.10.0 -Release: 20080413 +Release: 20080612 # list of sources Source0: ftp://ftp.cpan.org/pub/CPAN/src/perl-%{version}.tar.gz @@ -86,7 +86,13 @@ AutoReqProv: no fi libdirs="" for dir in %{l_prefix}/lib /lib64 /usr/lib64 /lib /usr/lib /usr/ccs/lib; do - [ -d $dir ] && libdirs="$libdirs $dir" + if [ -d $dir ]; then + if [ ".$libdirs" = . ]; then + libdirs="$dir" + else + libdirs="$libdirs $dir" + fi + fi done ./Configure \ -d -e -s \