rpms/python-iniparse/F-7 python-iniparse.spec,1.3,1.4

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


Author: timlau

Update of /cvs/pkgs/rpms/python-iniparse/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6786

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/F-7/python-iniparse.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- python-iniparse.spec	10 Sep 2007 10:48:29 -0000	1.3
+++ python-iniparse.spec	12 Sep 2007 09:50:34 -0000	1.4
@@ -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,8 +53,14 @@
 
 %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
+- Changed BuildRequires python-setuptools to python-setuptools-devel
 * Tue Aug 7 2007 Paramjit Oberoi <param at cs.wisc.edu> - 0.2.1-1
 - Release 0.2.1
 * Fri Jul 27 2007 Tim Lauridsen <timlau at fedoraproject.org> - 0.2-3




More information about the fedora-extras-commits mailing list