Accepting request 1064187 from devel:languages:python

- We actually don't need simplejson at all, it is just for 2.6
  [sic!] compatibility.

OBS-URL: https://build.opensuse.org/request/show/1064187
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jmespath?expand=0&rev=21
This commit is contained in:
Dominique Leuenberger 2023-02-11 20:55:54 +00:00 committed by Git OBS Bridge
commit 21c5eab475
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 10 09:10:10 UTC 2023 - Matej Cepl <mcepl@suse.com>
- 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 <dmueller@suse.com> Sat Sep 17 15:41:47 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -16,7 +16,6 @@
# #
%{?!python_module:%define python_module() python3-%{**}}
Name: python-jmespath Name: python-jmespath
Version: 1.0.1 Version: 1.0.1
Release: 0 Release: 0
@ -29,11 +28,9 @@ BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module ply >= 3.4} BuildRequires: %{python_module ply >= 3.4}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module simplejson}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-ply >= 3.4 Requires: python-ply >= 3.4
Requires: python-simplejson
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun):update-alternatives
BuildArch: noarch BuildArch: noarch
@ -95,7 +92,8 @@ mv %{buildroot}%{_bindir}/jp.py %{buildroot}%{_bindir}/jp
%files %{python_files} %files %{python_files}
%license LICENSE.txt %license LICENSE.txt
%doc README.rst %doc README.rst
%{python_sitelib}/* %{python_sitelib}/jmespath
%{python_sitelib}/jmespath-%{version}*-info
%python_alternative %{_bindir}/jp %python_alternative %{_bindir}/jp
%changelog %changelog