diff options
author | Sol Jerome <solj@ices.utexas.edu> | 2010-01-05 15:34:49 +0000 |
---|---|---|
committer | Sol Jerome <solj@ices.utexas.edu> | 2010-01-05 15:34:49 +0000 |
commit | 87087d2d5d15f108269406a160d9afb6e7a7ea2d (patch) | |
tree | 0bb25d49fab56ed624a30f5557aeee657033c07d /misc | |
parent | db971c47a1c95b7d14394e15a465cdacecb9161b (diff) | |
download | bcfg2-87087d2d5d15f108269406a160d9afb6e7a7ea2d.tar.gz bcfg2-87087d2d5d15f108269406a160d9afb6e7a7ea2d.tar.bz2 bcfg2-87087d2d5d15f108269406a160d9afb6e7a7ea2d.zip |
redhat: spec file fixes from Jonathan Billings
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5658 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'misc')
-rw-r--r-- | misc/bcfg2.spec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/bcfg2.spec b/misc/bcfg2.spec index 730a1b5b7..8f7d96f0d 100644 --- a/misc/bcfg2.spec +++ b/misc/bcfg2.spec @@ -1,6 +1,6 @@ %define release 1 %define __python python -%{!?py_ver: %define py_ver %(python -c 'import sys;print(sys.version[0: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} @@ -59,7 +59,7 @@ Version: %{version} Summary: Bcfg2 Server Group: System Tools Requires: bcfg2 -%if 0%{?py_ver} < 2.6 +%if "%{py_ver}" < "2.6" Requires: python-ssl %endif Requires: %{lxmldep} >= 1.2.1 |