summaryrefslogtreecommitdiffstats
path: root/misc/bcfg2.spec
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-02-16 22:04:03 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-02-16 22:04:03 +0000
commite1f7523596aa3510a04f3d40b9c460e679e48e8e (patch)
tree3a32104c9841859380784f2969f9a943c2c76dd9 /misc/bcfg2.spec
parent6f73e672d16eb94d3bcf7e8392400f567cde4b5d (diff)
downloadbcfg2-e1f7523596aa3510a04f3d40b9c460e679e48e8e.tar.gz
bcfg2-e1f7523596aa3510a04f3d40b9c460e679e48e8e.tar.bz2
bcfg2-e1f7523596aa3510a04f3d40b9c460e679e48e8e.zip
Fix spec on non-sles systems
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2832 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'misc/bcfg2.spec')
-rw-r--r--misc/bcfg2.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/bcfg2.spec b/misc/bcfg2.spec
index 97024aec6..5a9b8952f 100644
--- a/misc/bcfg2.spec
+++ b/misc/bcfg2.spec
@@ -1,5 +1,6 @@
%define release 0.0rc5
%define __python python
+%{!?py_ver: %define py_ver 2.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}