From 059fb2336a59a1b7eadbcecda9052a2d297e4568 Mon Sep 17 00:00:00 2001 From: Tim Lauridsen Date: Nov 07 2009 10:57:34 +0000 Subject: Release 0.3.1-2 --- diff --git a/iniparse.patch b/iniparse.patch deleted file mode 100644 index c55b179..0000000 --- a/iniparse.patch +++ /dev/null @@ -1,27 +0,0 @@ -Index: iniparse/ini.py -=================================================================== ---- iniparse/ini.py (revision 111) -+++ iniparse/ini.py (working copy) -@@ -404,7 +404,7 @@ - - - def make_comment(line): -- return CommentLine(line.rstrip()) -+ return CommentLine(line.rstrip('\n')) - - - def readline_iterator(f): -@@ -578,11 +578,9 @@ - - if isinstance(lineobj, OptionLine): - if pending_lines: -- cur_option.extend(pending_lines) -+ cur_section.extend(pending_lines) - pending_lines = [] -- if pending_empty_lines: -- optobj._compat_skip_empty_lines.add(cur_option_name) -- pending_empty_lines = False -+ pending_empty_lines = False - cur_option = LineContainer(lineobj) - cur_section.add(cur_option) - if self._optionxform: diff --git a/python-iniparse.spec b/python-iniparse.spec index c2b9e12..700e873 100644 --- a/python-iniparse.spec +++ b/python-iniparse.spec @@ -1,14 +1,13 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: python-iniparse -Version: 0.3.0 -Release: 3%{?dist} +Version: 0.3.1 +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: iniparse.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -29,7 +28,6 @@ use. %prep %setup -q -n iniparse-%{version} -%patch0 %build %{__python} setup.py build @@ -54,6 +52,14 @@ rm -rf $RPM_BUILD_ROOT %changelog + +* Sat Nov 7 2009 Tim Lauridsen - 0.3.1-2 +- removed patch + +* Sat Nov 7 2009 Tim Lauridsen - 0.3.1-1 +- Release 0.3.1 +- Fix empty-line handling bugs introduced in 0.3.0 + * Sun Jul 26 2009 Fedora Release Engineering - 0.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild diff --git a/sources b/sources index 7d0a1f6..6561eab 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5d45431639e7dbb6bc6c90f025ccbc6e iniparse-0.3.0.tar.gz +94adcf1cf01e2a537491a18f2e9b7a7a iniparse-0.3.1.tar.gz