diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-12-22 14:08:22 -0500 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-12-22 14:08:22 -0500 |
commit | 9a64f92cf940bf605e59e02fdbc49930dcf5b446 (patch) | |
tree | 4fb9e3bcf26b15283cc2a45ee84887065c45a657 /cobbler.spec | |
parent | 29ed0322839bdc11ea6074c6eb9c1ab3facfd9f0 (diff) | |
download | cobbler-9a64f92cf940bf605e59e02fdbc49930dcf5b446.tar.gz cobbler-9a64f92cf940bf605e59e02fdbc49930dcf5b446.tar.xz cobbler-9a64f92cf940bf605e59e02fdbc49930dcf5b446.zip |
Rawhide specfile changes to make things build nicely on python 2.6
Diffstat (limited to 'cobbler.spec')
-rw-r--r-- | cobbler.spec | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/cobbler.spec b/cobbler.spec index 8f222928..661f8741 100644 --- a/cobbler.spec +++ b/cobbler.spec @@ -3,7 +3,7 @@ Summary: Boot server configurator Name: cobbler AutoReq: no Version: 1.4.0 -Release: 2%{?dist} +Release: 4%{?dist} Source0: %{name}-%{version}.tar.gz License: GPLv2+ Group: Applications/System @@ -30,8 +30,8 @@ Requires(post): /sbin/chkconfig Requires(preun): /sbin/chkconfig Requires(preun): /sbin/service %if 0%{?fedora} >= 11 || 0%{?rhel} >= 6 -%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")} -Requires: python(abi)=%{pyver} +%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]" || echo 0)} +Requires: python(abi) = %{pyver} %endif %if 0%{?suse_version} < 0 BuildRequires: redhat-rpm-config @@ -281,6 +281,9 @@ test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT %changelog +* Fri Dec 19 2008 Michael DeHaan <mdehaan@redhat.com> - 1.4.0-4 +- Fix for rawhide python requirement. + * Fri Dec 19 2008 Michael DeHaan <mdehaan@redhat.com> - 1.4.0-2 - Upstream changes (see CHANGELOG) |