From c552a5f5dec4e50878a41cda274a77a8e8b02c9062e3dc73d9b751ab0ccc29b7 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 16 Jan 2023 21:18:30 +0000 Subject: [PATCH] - require setuptools OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-configobj?expand=0&rev=36 --- python-configobj.changes | 5 +++++ python-configobj.spec | 9 ++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/python-configobj.changes b/python-configobj.changes index 85c811c..9753a4a 100644 --- a/python-configobj.changes +++ b/python-configobj.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 16 21:16:58 UTC 2023 - Dirk Müller + +- require setuptools + ------------------------------------------------------------------- Tue Dec 4 12:46:48 UTC 2018 - Matej Cepl diff --git a/python-configobj.spec b/python-configobj.spec index 4bc2cfa..ca198b1 100644 --- a/python-configobj.spec +++ b/python-configobj.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -21,22 +21,22 @@ 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 +URL: https://github.com/DiffSK/configobj 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: fdupes BuildRequires: python-rpm-macros Requires: python-six +BuildArch: noarch # There are no real docs! %ifpython2 Obsoletes: %{oldpython}-configobj-docs < %{version} Provides: %{oldpython}-configobj-docs = %{version} %endif -BuildArch: noarch %python_subpackages %description @@ -69,7 +69,6 @@ It has lots of other features though: %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) %{python_sitelib}/configobj.py* %{python_sitelib}/validate.py* %{python_sitelib}/_version.py*