rpms/python-iniparse/devel python-iniparse.spec,1.5,1.6

Tim Lauridsen (timlau) fedora-extras-commits at redhat.com
Wed Sep 12 09:49:09 UTC 2007


Author: timlau

Update of /cvs/pkgs/rpms/python-iniparse/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6701

Modified Files:
	python-iniparse.spec 
Log Message:
Make the same spec work on F8 and earlier


Index: python-iniparse.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-iniparse/devel/python-iniparse.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- python-iniparse.spec	10 Sep 2007 10:38:07 -0000	1.5
+++ python-iniparse.spec	12 Sep 2007 09:48:37 -0000	1.6
@@ -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 @@
 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 @@
 
 %changelog
 
+* Wed Sep 12 2007 Tim Lauridsen <timlau at 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 at 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 at fedoraproject.org> - 0.2.1-2




More information about the fedora-extras-commits mailing list