1
0

Accepting request 242069 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/242069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-configobj?expand=0&rev=13
This commit is contained in:
Stephan Kulow 2014-07-24 04:58:50 +00:00 committed by Git OBS Bridge
commit 382611da8e
4 changed files with 30 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:515ff923462592e8321df8b48c47e3428f8d406ee22b8de77bef969d1af11171
size 32318

3
configobj-5.0.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:766eff273f2cbb007a3ea8aa69429ee9b1553aa96fe282c6ace3769b9ac47b08
size 33232

View File

@ -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 didnt 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 Tue May 29 08:26:59 UTC 2012 - cfarrell@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-configobj # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,12 +15,12 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%define modname configobj %define modname configobj
Name: python-%{modname} Name: python-%{modname}
Version: 4.7.2 Version: 5.0.5
Release: 0 Release: 0
# FIXME: Change python-cofigobj-docs Obsoletes to < with next version update. Obsoletes introduced with version 4.7.2. Url: https://github.com/DiffSK/configobj
Url: http://www.voidspace.org.uk/python/configobj.html
Summary: Config file reading, writing and validation Summary: Config file reading, writing and validation
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
@ -29,7 +29,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel BuildRequires: python-devel
# There are no real docs! # There are no real docs!
Provides: python-%{modname}-docs = %{version} Provides: python-%{modname}-docs = %{version}
Obsoletes: python-%{modname}-docs <= %{version} Obsoletes: python-%{modname}-docs < %{version}
%if 0%{?suse_version} <= 1110 %if 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%else %else
@ -69,6 +69,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{python_sitelib}/%{modname}.py* %{python_sitelib}/%{modname}.py*
%{python_sitelib}/validate.py* %{python_sitelib}/validate.py*
%{python_sitelib}/_version.py*
%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info %{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info
%changelog %changelog