Make the same spec work on F8 and earlier

This commit is contained in:
Tim Lauridsen 2007-09-12 09:48:37 +00:00
parent ddc9e82b1b
commit 1a8b9eaed0

View File

@ -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 <timlau@fedoraproject.org> - 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 <timlau@fedoraproject.org> - 0.2.1-3
- Added patch from upstream svn to fix problems with out commented lines.
* Tue Aug 28 2007 Tim Lauridsen <timlau@fedoraproject.org> - 0.2.1-2