[Pacemaker] [PATCH] Medium: build: require Python 2.4 or later
Florian Haas
florian.haas at linbit.com
Mon Feb 15 08:43:35 UTC 2010
# HG changeset patch
# User Florian Haas <florian.haas at linbit.com>
# Date 1266223410 -3600
# Branch stable-1.0
# Node ID 89861ff287d1b1f626b5795b3da3fbdae373f7c7
# Parent 439fd4efe28a870acff433eda0cf702853bcbfae
Medium: build: require Python 2.4 or later
The CRM shell uses the Python Subprocess API, introduced in Python
2.4. This means that the shell is unusable on legacy platforms that
support only Python 2.3, such as RHEL 4. Fix the RPM specs
accordingly.
diff -r 439fd4efe28a -r 89861ff287d1 pacemaker.spec
--- a/pacemaker.spec Mon Feb 15 09:26:26 2010 +0100
+++ b/pacemaker.spec Mon Feb 15 09:43:30 2010 +0100
@@ -38,7 +38,8 @@
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
AutoReqProv: on
Requires(pre): cluster-glue
-Requires: resource-agents python
+Requires: resource-agents
+Requires: python >= 2.4
Conflicts: heartbeat < 2.99
%if 0%{?fedora} || 0%{?centos} > 4 || 0%{?rhel} > 4
More information about the Pacemaker
mailing list