From c53f8641bddb4553c92d9245442b0b3ea7796c49af8aa1d89d10de4f811ba69f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 20 Aug 2021 07:25:54 +0000 Subject: [PATCH] spec-cleaner OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nested-lookup?expand=0&rev=2 --- python-nested-lookup.spec | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/python-nested-lookup.spec b/python-nested-lookup.spec index 1afb8c0..9d75aa4 100644 --- a/python-nested-lookup.spec +++ b/python-nested-lookup.spec @@ -1,6 +1,7 @@ # # spec file for package python-nested-lookup # +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2021, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -12,33 +13,33 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-nested-lookup Version: 0.2.21 Release: 0 -License: SUSE-Public-Domain Summary: Python functions for working with deeply nested documents (lists and dicts) -Url: https://github.com/russellballestrini/nested-lookup +License: SUSE-Public-Domain Group: Development/Languages/Python +URL: https://github.com/russellballestrini/nested-lookup Source: https://files.pythonhosted.org/packages/source/n/nested-lookup/nested-lookup-%{version}.tar.gz Source1: https://raw.githubusercontent.com/russellballestrini/nested-lookup/307983caa591bfd08a1f414109f640671a4dea51/test_lookup_api.py Source2: https://raw.githubusercontent.com/russellballestrini/nested-lookup/master/test_nested_lookup.py -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-six +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module six} # /SECTION -BuildRequires: fdupes -Requires: python-six -BuildArch: noarch - %python_subpackages %description -Python functions for working with deeply nested documents (lists and dicts) +Python functions for working with deeply nested documents (lists and dicts) %prep %setup -q -n nested-lookup-%{version}