diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-12-10 16:26:43 -0500 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-12-10 16:26:43 -0500 |
commit | a159cbcaf7e200cbc16329eb5ef9bc67e6ea1d94 (patch) | |
tree | 02bbc83b4c83407b71abc5ac6796b8304f651486 /cobbler.spec | |
parent | cc6986d88cda81913ef35f70abc086872b29f449 (diff) | |
download | cobbler-a159cbcaf7e200cbc16329eb5ef9bc67e6ea1d94.tar.gz cobbler-a159cbcaf7e200cbc16329eb5ef9bc67e6ea1d94.tar.xz cobbler-a159cbcaf7e200cbc16329eb5ef9bc67e6ea1d94.zip |
Python 2.6 fix
Diffstat (limited to 'cobbler.spec')
-rw-r--r-- | cobbler.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler.spec b/cobbler.spec index 82b0f67b..9761634c 100644 --- a/cobbler.spec +++ b/cobbler.spec @@ -24,7 +24,7 @@ Requires: rsync Requires(post): /sbin/chkconfig Requires(preun): /sbin/chkconfig Requires(preun): /sbin/service -%if 0%{?fedora} >= 11 || 0%{?rhel} >= 5 +%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6 %{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")} Requires: python(abi)=%{pyver} %endif |