From ef5ffe465fc50425f6ecd3e0695241ed4d1eacbb Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Fri, 15 Jun 2007 12:31:46 +0000 Subject: spec fix from mbrady git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3312 ce84e21b-d406-0410-9b95-82705330c041 --- misc/bcfg2.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/bcfg2.spec b/misc/bcfg2.spec index 1812a3d4c..fface7de8 100644 --- a/misc/bcfg2.spec +++ b/misc/bcfg2.spec @@ -1,6 +1,6 @@ %define release 0.0pre3 %define __python python -%{!?py_ver: %define py_ver 2.3} +%{!?py_ver: %define py_ver %(python -c 'import sys;print(sys.version[0:3])')} %define pythonversion %{py_ver} %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?_initrddir: %define _initrddir %{_sysconfdir}/rc.d/init.d} -- cgit v1.2.3-1-g7c22