diff --git a/python-iniparse.spec b/python-iniparse.spec index 216ae6d..b800669 100644 --- a/python-iniparse.spec +++ b/python-iniparse.spec @@ -2,12 +2,13 @@ Name: python-iniparse Version: 0.2.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python Module for Accessing and Modifying Configuration Data in INI files Group: Development/Libraries License: MIT URL: http://code.google.com/p/iniparse/ Source0: http://iniparse.googlecode.com/files/iniparse-%{version}.tar.gz +Patch0: ip-empty-file.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %if 0%{?fedora} >= 8 @@ -27,6 +28,7 @@ use. %prep %setup -q -n iniparse-%{version} +%patch0 -p0 %build %{__python} setup.py build @@ -51,6 +53,8 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Nov 19 2007 Tim Lauridsen - 0.2.2-2 +- Added upstream patch to fix problems with empty ini files. * Tue Sep 25 2007 Tim Lauridsen - 0.2.2-1 - Updated to release 0.2.2 - removed patch to to fix problems with out commented lines, included in upstream source diff --git a/sources b/sources index 60ac204..cc8a55a 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ 5fbd507ab70f20461dd874716ca65604 iniparse-0.2.2.tar.gz +10c30fd8dc2e4252c295ce3099c4b1bf ip-empty-file.patch