Accepting request 248473 from devel:languages:python

Update to version 5.0.6

OBS-URL: https://build.opensuse.org/request/show/248473
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-configobj?expand=0&rev=16
This commit is contained in:
Stephan Kulow 2014-09-12 08:03:31 +00:00 committed by Git OBS Bridge
commit 27ce7a8512
4 changed files with 18 additions and 13 deletions

View File

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

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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Sep 11 10:37:46 UTC 2014 - toddrme2178@gmail.com
- Update to version 5.0.6
* Improves error messages in certain edge cases
-------------------------------------------------------------------
Thu Jul 24 09:03:10 UTC 2014 - fcastelli@suse.com

View File

@ -16,26 +16,25 @@
#
%define modname configobj
Name: python-%{modname}
Version: 5.0.5
Name: python-configobj
Version: 5.0.6
Release: 0
Url: https://github.com/DiffSK/configobj
Summary: Config file reading, writing and validation
License: BSD-3-Clause
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/c/%{modname}/%{modname}-%{version}.tar.gz
Source: http://pypi.python.org/packages/source/c/configobj/configobj-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-six
Requires: python-six
# There are no real docs!
Provides: python-%{modname}-docs = %{version}
Obsoletes: python-%{modname}-docs < %{version}
Provides: python-configobj-docs = %{version}
Obsoletes: python-configobj-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
BuildArch: noarch
%py_requires
%endif
%description
@ -58,7 +57,7 @@ It has lots of other features though:
* Powerful ``unrepr`` mode for storing/retrieving Python data-types
%prep
%setup -q -n %{modname}-%{version}
%setup -q -n configobj-%{version}
%build
python setup.py build
@ -68,9 +67,9 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%{python_sitelib}/%{modname}.py*
%{python_sitelib}/configobj.py*
%{python_sitelib}/validate.py*
%{python_sitelib}/_version.py*
%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info
%{python_sitelib}/configobj-%{version}-py*.egg-info
%changelog