forked from pool/python-json_tricks
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json_tricks?expand=0&rev=24
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user