15
0
2023-05-17 12:15:36 +00:00
committed by Git OBS Bridge
parent 4c06cc472c
commit 3933ecbfcd

View File

@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-json_tricks
Version: 3.16.1
@@ -25,7 +24,8 @@ Summary: Extra features for Python's JSON
License: BSD-3-Clause
URL: https://github.com/mverleg/pyjson_tricks
Source: https://github.com/mverleg/pyjson_tricks/archive/v%{version}.tar.gz#/pyjson_tricks-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Recommends: python-numpy
@@ -62,13 +62,13 @@ python handling of json files:
As well as compression and disallowing duplicate keys.
%prep
%setup -q -n pyjson_tricks-%{version}
%autosetup -p1 -n pyjson_tricks-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check