From 9d0f031f42ad337ad53d695bf4c9da3bda16c8d24acf4b6b37d1ffbff63252e2 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 10 Feb 2023 21:06:03 +0000 Subject: [PATCH] - Remove completely unnecessary dependency on python-simplejson. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uritemplate?expand=0&rev=16 --- python-uritemplate.changes | 5 +++++ python-uritemplate.spec | 10 ++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/python-uritemplate.changes b/python-uritemplate.changes index 5ef3f40..a308e57 100644 --- a/python-uritemplate.changes +++ b/python-uritemplate.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 10 21:05:49 UTC 2023 - Matej Cepl + +- Remove completely unnecessary dependency on python-simplejson. + ------------------------------------------------------------------- Sat Nov 6 18:27:16 UTC 2021 - Dirk Müller diff --git a/python-uritemplate.spec b/python-uritemplate.spec index 9e818ab..7425271 100644 --- a/python-uritemplate.spec +++ b/python-uritemplate.spec @@ -1,7 +1,7 @@ # # spec file for package python-uritemplate # -# Copyright (c) 2021 SUSE LLC +# 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 @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %global skip_python2 1 %bcond_without tests Name: python-uritemplate @@ -28,10 +27,8 @@ Group: Development/Languages/Python URL: https://pypi.python.org/pypi/uritemplate Source: https://files.pythonhosted.org/packages/source/u/uritemplate/uritemplate-%{version}.tar.gz BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module simplejson} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-simplejson BuildArch: noarch %python_subpackages @@ -40,7 +37,7 @@ This is a Python implementation of RFC6570, URI Template, and can expand templates up to and including Level 4 in that specification %prep -%setup -q -n uritemplate-%{version} +%autosetup -p1 -n uritemplate-%{version} %build %python_build @@ -59,6 +56,7 @@ $python tests/test_uritemplate.py %files %{python_files} %license LICENSE LICENSE.* %doc AUTHORS.rst HISTORY.rst README.rst -%{python_sitelib}/* +%{python_sitelib}/uritemplate +%{python_sitelib}/uritemplate-%{version}*-info %changelog