Accepting request 1058778 from devel:languages:python

- require setuptools

OBS-URL: https://build.opensuse.org/request/show/1058778
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-configobj?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2023-01-18 12:08:14 +00:00 committed by Git OBS Bridge
commit 5626db9f90
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 16 21:16:58 UTC 2023 - Dirk Müller <dmueller@suse.com>
- require setuptools
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 4 12:46:48 UTC 2018 - Matej Cepl <mcepl@suse.com> Tue Dec 4 12:46:48 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-configobj # spec file for package python-configobj
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2023 SUSE LLC
# #
# 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
@ -21,22 +21,22 @@
Name: python-configobj Name: python-configobj
Version: 5.0.6 Version: 5.0.6
Release: 0 Release: 0
Url: https://github.com/DiffSK/configobj
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
URL: https://github.com/DiffSK/configobj
Source: https://files.pythonhosted.org/packages/source/c/configobj/configobj-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/c/configobj/configobj-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six} BuildRequires: %{python_module six}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-six Requires: python-six
BuildArch: noarch
# There are no real docs! # There are no real docs!
%ifpython2 %ifpython2
Obsoletes: %{oldpython}-configobj-docs < %{version} Obsoletes: %{oldpython}-configobj-docs < %{version}
Provides: %{oldpython}-configobj-docs = %{version} Provides: %{oldpython}-configobj-docs = %{version}
%endif %endif
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@ -69,7 +69,6 @@ It has lots of other features though:
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-)
%{python_sitelib}/configobj.py* %{python_sitelib}/configobj.py*
%{python_sitelib}/validate.py* %{python_sitelib}/validate.py*
%{python_sitelib}/_version.py* %{python_sitelib}/_version.py*