From 1a8b9eaed050557aa714adf2f60bba2bd0392f5d Mon Sep 17 00:00:00 2001 From: Tim Lauridsen Date: Wed, 12 Sep 2007 09:48:37 +0000 Subject: [PATCH] Make the same spec work on F8 and earlier --- python-iniparse.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/python-iniparse.spec b/python-iniparse.spec index 9b7e1f7..23dc45e 100644 --- a/python-iniparse.spec +++ b/python-iniparse.spec @@ -2,7 +2,7 @@ Name: python-iniparse Version: 0.2.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Python Module for Accessing and Modifying Configuration Data in INI files Group: Development/Libraries License: MIT @@ -11,7 +11,11 @@ Source0: http://iniparse.googlecode.com/files/iniparse-%{version}.tar.gz Patch0: iniparse-comment.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +%if 0%{?fedora} >= 8 BuildRequires: python-setuptools-devel +%else +BuildRequires: python-setuptools +%endif BuildArch: noarch @@ -49,6 +53,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Sep 12 2007 Tim Lauridsen - 0.2.1-4 +- Added some logic to get the right python-setuptools buildrequeres +- based on the fedora version, to make the same spec file useful in +- all fedora releases. * Mon Sep 10 2007 Tim Lauridsen - 0.2.1-3 - Added patch from upstream svn to fix problems with out commented lines. * Tue Aug 28 2007 Tim Lauridsen - 0.2.1-2