summaryrefslogtreecommitdiffstats
path: root/redhat/bcfg2.spec.in
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2010-01-05 15:34:49 +0000
committerSol Jerome <solj@ices.utexas.edu>2010-01-05 15:34:49 +0000
commit87087d2d5d15f108269406a160d9afb6e7a7ea2d (patch)
tree0bb25d49fab56ed624a30f5557aeee657033c07d /redhat/bcfg2.spec.in
parentdb971c47a1c95b7d14394e15a465cdacecb9161b (diff)
downloadbcfg2-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 'redhat/bcfg2.spec.in')
-rw-r--r--redhat/bcfg2.spec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/redhat/bcfg2.spec.in b/redhat/bcfg2.spec.in
index 5610c1035..76caedaf2 100644
--- a/redhat/bcfg2.spec.in
+++ b/redhat/bcfg2.spec.in
@@ -5,7 +5,7 @@ Version: @VERSION@
Release: @RELEASE@
%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}
@@ -70,7 +70,7 @@ deployment strategies.
Summary: Configuration management server
Group: System Environment/Daemons
Requires: bcfg2 = %{version}-%{release}
-%if 0%{?py_ver} < 2.6
+%if "%{py_ver}" < "2.6"
Requires: python-ssl
%endif
Requires: /usr/bin/openssl