SPECS: rpm.spec - don't hardcode python version

glen glen at pld-linux.org
Thu Jan 10 10:17:11 CET 2008


Author: glen                         Date: Thu Jan 10 09:17:11 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- don't hardcode python version

---- Files affected:
SPECS:
   rpm.spec (1.859 -> 1.860) 

---- Diffs:

================================================================
Index: SPECS/rpm.spec
diff -u SPECS/rpm.spec:1.859 SPECS/rpm.spec:1.860
--- SPECS/rpm.spec:1.859	Sun Jan  6 19:25:54 2008
+++ SPECS/rpm.spec	Thu Jan 10 10:17:06 2008
@@ -701,7 +701,7 @@
 	%{?with_autoreqdep:--enable-adding-packages-names-in-autogenerated-dependancies} \
 	--enable-shared \
 	--enable-static \
-	%{?with_python:--with-python=2.5 --with-python-lib-dir=%{py_libdir}} \
+	%{?with_python:--with-python=%{py_ver} --with-python-lib-dir=%{py_libdir}} \
 	%{!?with_python:--without-python} \
 	--with%{!?with_selinux:out}-selinux \
 	--with-libelf \
@@ -1200,6 +1200,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.860  2008-01-10 09:17:06  glen
+- don't hardcode python version
+
 Revision 1.859  2008-01-06 18:25:54  qboosh
 - find_lang 1.25 (cleanup, consistency, symlinked catalogs support)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/rpm.spec?r1=1.859&r2=1.860&f=u



More information about the pld-cvs-commit mailing list