From 8b5fe61ec695d1db3712b54453ad4adfcb53bda9e5251ab80932cd877341f180 Mon Sep 17 00:00:00 2001
From: Denisart Benjamin
Date: Wed, 23 Jul 2014 20:19:46 +0000
Subject: [PATCH] Accepting request 242015 from
home:flavio_castelli:branches:devel:languages:python
Updated to latest stable release. Tons of bug fixes and python3 support.
OBS-URL: https://build.opensuse.org/request/show/242015
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-configobj?expand=0&rev=25
---
configobj-4.7.2.tar.gz | 3 ---
configobj-5.0.5.tar.gz | 3 +++
python-configobj.changes | 21 +++++++++++++++++++++
python-configobj.spec | 11 ++++++-----
4 files changed, 30 insertions(+), 8 deletions(-)
delete mode 100644 configobj-4.7.2.tar.gz
create mode 100644 configobj-5.0.5.tar.gz
diff --git a/configobj-4.7.2.tar.gz b/configobj-4.7.2.tar.gz
deleted file mode 100644
index e4a4936..0000000
--- a/configobj-4.7.2.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:515ff923462592e8321df8b48c47e3428f8d406ee22b8de77bef969d1af11171
-size 32318
diff --git a/configobj-5.0.5.tar.gz b/configobj-5.0.5.tar.gz
new file mode 100644
index 0000000..cbac21a
--- /dev/null
+++ b/configobj-5.0.5.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:766eff273f2cbb007a3ea8aa69429ee9b1553aa96fe282c6ace3769b9ac47b08
+size 33232
diff --git a/python-configobj.changes b/python-configobj.changes
index 30d2031..94aac14 100644
--- a/python-configobj.changes
+++ b/python-configobj.changes
@@ -1,3 +1,24 @@
+-------------------------------------------------------------------
+Wed Jul 23 13:04:31 UTC 2014 - fcastelli@suse.com
+
+- Update to version 5.0.5:
+ * BUGFIX: error in writing out config files to disk with non-ascii
+ characters
+ * BUGFIX: correcting that the code path fixed in 5.0.3 didn’t cover
+ reading in config files
+ * BUGFIX: not handling unicode encoding well, especially with respect to
+ writing out files
+ * Specific error message for installing version this version on Python
+ versions older than 2.5
+ * Documentation corrections
+ * BUGFIX: Fixed regression on python 2.x where passing an encoding parameter
+ did not convert a bytestring config file (which is the most common) to
+ unicode. Added unit tests for this and related cases
+ * BUGFIX: A particular error message would fail to display with a type error
+ on python 2.6 only
+ * Python 3 single-source compatibility at the cost of a more restrictive set
+ of versions: 2.6, 2.7, 3.2, 3.3 (otherwise unchanged)
+
-------------------------------------------------------------------
Tue May 29 08:26:59 UTC 2012 - cfarrell@suse.com
diff --git a/python-configobj.spec b/python-configobj.spec
index f77a019..ede91fb 100644
--- a/python-configobj.spec
+++ b/python-configobj.spec
@@ -1,7 +1,7 @@
#
# spec file for package python-configobj
#
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,12 +15,12 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+
%define modname configobj
Name: python-%{modname}
-Version: 4.7.2
+Version: 5.0.5
Release: 0
-# FIXME: Change python-cofigobj-docs Obsoletes to < with next version update. Obsoletes introduced with version 4.7.2.
-Url: http://www.voidspace.org.uk/python/configobj.html
+Url: https://github.com/DiffSK/configobj
Summary: Config file reading, writing and validation
License: BSD-3-Clause
Group: Development/Languages/Python
@@ -29,7 +29,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
# There are no real docs!
Provides: python-%{modname}-docs = %{version}
-Obsoletes: python-%{modname}-docs <= %{version}
+Obsoletes: python-%{modname}-docs < %{version}
%if 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%else
@@ -69,6 +69,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%defattr(-,root,root,-)
%{python_sitelib}/%{modname}.py*
%{python_sitelib}/validate.py*
+%{python_sitelib}/_version.py*
%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info
%changelog