[python-turbokid] Fix our setuptools BR conditionals

Luke Macken lmacken at fedoraproject.org
Tue Sep 7 15:45:42 UTC 2010


commit 4402bddf3f6b5b84ec57156387088f8e9aac744c
Author: Luke Macken <lmacken at redhat.com>
Date:   Tue Sep 7 11:45:46 2010 -0400

    Fix our setuptools BR conditionals

 python-turbokid.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/python-turbokid.spec b/python-turbokid.spec
index 2e214e3..32caddd 100644
--- a/python-turbokid.spec
+++ b/python-turbokid.spec
@@ -5,7 +5,7 @@
 
 Name:           python-turbokid
 Version:        1.0.5
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Python template plugin that supports Kid templates
 
 Group:          Development/Languages
@@ -16,7 +16,11 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
 BuildRequires: python-devel
+%if 0%{?fedora} && 0%{?fedora} <= 12
 BuildRequires: python-setuptools-devel
+%else
+BuildRequires: python-setuptools
+%endif
 BuildRequires: python-nose python-kid
 Requires:      python-kid >= 0.9.6
 
@@ -53,6 +57,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Tue Sep 07 2010 Luke Macken <lmacken at redhat.com> - 1.0.5-2
+- Fix our setuptools BR conditionals
+
 * Tue Sep 07 2010 Luke Macken <lmacken at redhat.com> - 1.0.5-1
 - Update to 1.0.5
 - Enable the test suite


More information about the scm-commits mailing list