rpms/perl/F-9 perl.spec,1.173,1.174

Štěpán Kasal (kasal) fedora-extras-commits at redhat.com
Thu Jun 26 23:41:39 UTC 2008


Author: kasal

Update of /cvs/extras/rpms/perl/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16687

Modified Files:
	perl.spec 
Log Message:
fix -Dotherlibdirs


Index: perl.spec
===================================================================
RCS file: /cvs/extras/rpms/perl/F-9/perl.spec,v
retrieving revision 1.173
retrieving revision 1.174
diff -u -r1.173 -r1.174
--- perl.spec	26 Jun 2008 21:02:54 -0000	1.173
+++ perl.spec	26 Jun 2008 23:40:56 -0000	1.174
@@ -864,7 +864,10 @@
 echo "RPM Build arch: %{_arch}"
 
 # use "lib", not %{_lib}, for privlib, sitelib, and vendorlib
-# the "otherlibdir" is there for backward compatibility
+
+# Because of the typo in the first F-9 release, we have to support the default
+# sitedir as well for 32bit archs, via -Dotherlibdirs.  No need to mention the
+# arch-specific subdir though, perl will add it, if it exists.
 
 /bin/sh Configure -des -Doptimize="$RPM_OPT_FLAGS" \
         -Dversion=%{perl_version} \
@@ -884,7 +887,7 @@
 %ifarch %{multilib_64_archs}
         -Dlibpth="/usr/local/lib64 /lib64 %{_prefix}/lib64" \
 %else
-	-Dotherlibdirs="%{_libdir}/perl5/site_perl/%{perl_version}/%{perl_archname}:%{_prefix}/lib/perl5/site_perl/%{perl_version}" \
+	-Dotherlibdirs="%{_prefix}/lib/perl5/site_perl/%{perl_version}" \
 %endif
 %ifarch sparc sparcv9
         -Ud_longdbl \




More information about the fedora-extras-commits mailing list