15
0

Accepting request 248469 from home:TheBlackCat:branches:devel:languages:python

Update to version 5.0.6

OBS-URL: https://build.opensuse.org/request/show/248469
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-configobj?expand=0&rev=29
This commit is contained in:
Todd R
2014-09-11 10:58:01 +00:00
committed by Git OBS Bridge
parent 1469436e9c
commit 61185ae512
4 changed files with 18 additions and 12 deletions

View File

@@ -17,25 +17,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 +58,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 +68,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