summaryrefslogtreecommitdiffstats
path: root/misc/bcfg2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'misc/bcfg2.spec')
-rw-r--r--misc/bcfg2.spec10
1 files changed, 5 insertions, 5 deletions
diff --git a/misc/bcfg2.spec b/misc/bcfg2.spec
index f19b7ae8c..9fa119edf 100644
--- a/misc/bcfg2.spec
+++ b/misc/bcfg2.spec
@@ -6,7 +6,7 @@
%{!?_initrddir: %define _initrddir %{_sysconfdir}/rc.d/init.d}
Name: bcfg2
-Version: 1.2.1
+Version: 1.2.2
Release: %{release}
Summary: Configuration management system
@@ -42,11 +42,11 @@ BuildRequires: libsane1
# %{rhel} wasn't set before rhel 6. so this checks for old RHEL
# %systems (and potentially very old Fedora systems, too)
-%if "%{_vendor}" == "redhat" && 0%{?rhel} <= 6 && 0%{?fedora} == 0
+%if "%{_vendor}" == "redhat" && 0%{?rhel} < 6 && 0%{?fedora} == 0
BuildRequires: python-sphinx10
# the python-sphinx10 package doesn't set sys.path correctly, so we
# have to do it for them
-%define pythonpath /usr/lib/python%{py_ver}/site-packages/Sphinx-1.0.4-py%{py_ver}.egg
+%define pythonpath %(find /usr/lib/python%{py_ver}/site-packages -name %Sphinx*.egg)
%else
BuildRequires: python-sphinx >= 0.6
%endif
@@ -91,7 +91,7 @@ deployment strategies.
This package includes the Bcfg2 client software.
%package -n bcfg2-server
-Version: %{version}
+Version: 1.2.2
Summary: Bcfg2 Server
%if 0%{?suse_version}
Group: System/Management
@@ -172,7 +172,7 @@ deployment strategies.
This package includes the Bcfg2 documentation.
%package -n bcfg2-web
-Version: %{version}
+Version: 1.2.2
Summary: Bcfg2 Web Reporting Interface
%if 0%{?suse_version}
Group: System/Management