From 29eb7e3dca0406432de5848c846444479acb5c3e Mon Sep 17 00:00:00 2001 From: Tim Lauridsen Date: Sat, 7 Nov 2009 10:41:24 +0000 Subject: [PATCH] Release 0.3.1-1 --- .cvsignore | 2 +- iniparse.patch | 27 --------------------------- python-iniparse.spec | 9 ++++++--- sources | 2 +- 4 files changed, 8 insertions(+), 32 deletions(-) delete mode 100644 iniparse.patch diff --git a/.cvsignore b/.cvsignore index c109a4f..d662c6a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -iniparse-0.3.0.tar.gz +iniparse-0.3.1.tar.gz 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..5d79f6c 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: 1%{?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) @@ -54,6 +53,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* 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