From d3d8b9e1cd7fa7e82eb38a00eda74a60fa17047b5fff296552bb1749ceaf8ba7 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 10 Feb 2023 09:10:39 +0000 Subject: [PATCH 1/2] - We actually don't need simplejson at all, it is just for 2.6 [sic!] compatibility. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jmespath?expand=0&rev=48 --- python-jmespath.changes | 6 ++++++ python-jmespath.spec | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-jmespath.changes b/python-jmespath.changes index c192560..218e8ad 100644 --- a/python-jmespath.changes +++ b/python-jmespath.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 10 09:10:10 UTC 2023 - Matej Cepl + +- We actually don't need simplejson at all, it is just for 2.6 + [sic!] compatibility. + ------------------------------------------------------------------- Sat Sep 17 15:41:47 UTC 2022 - Dirk Müller diff --git a/python-jmespath.spec b/python-jmespath.spec index 70c2544..3f9ea3d 100644 --- a/python-jmespath.spec +++ b/python-jmespath.spec @@ -29,11 +29,9 @@ BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module ply >= 3.4} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module simplejson} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-ply >= 3.4 -Requires: python-simplejson Requires(post): update-alternatives Requires(postun):update-alternatives BuildArch: noarch @@ -95,7 +93,8 @@ mv %{buildroot}%{_bindir}/jp.py %{buildroot}%{_bindir}/jp %files %{python_files} %license LICENSE.txt %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/jmespath +%{python_sitelib}/jmespath-%{version}*-info %python_alternative %{_bindir}/jp %changelog From c88c079c9c1f806754f2d89ffb112bb0edf4d22839d45c878bac640eea3ab1b1 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 10 Feb 2023 09:11:49 +0000 Subject: [PATCH 2/2] Clean up SPEC file. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jmespath?expand=0&rev=49 --- python-jmespath.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/python-jmespath.spec b/python-jmespath.spec index 3f9ea3d..de822eb 100644 --- a/python-jmespath.spec +++ b/python-jmespath.spec @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python3-%{**}} Name: python-jmespath Version: 1.0.1 Release: 0