forked from pool/python-configobj
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
This commit is contained in:
committed by
Git OBS Bridge
parent
fd92c3cfec
commit
8b5fe61ec6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user