diff --git a/python-mujson.changes b/python-mujson.changes index fabb949..0f7d859 100644 --- a/python-mujson.changes +++ b/python-mujson.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 2 12:57:27 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Thu May 23 12:59:26 UTC 2019 - Jan Engelhardt diff --git a/python-mujson.spec b/python-mujson.spec index 15fa94a..a1d212b 100644 --- a/python-mujson.spec +++ b/python-mujson.spec @@ -1,7 +1,7 @@ # # spec file for package python-mujson # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,22 +16,22 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-mujson Version: 1.4 Release: 0 Summary: Module that selects the fastest JSON functions available at import time License: MIT Group: Development/Languages/Python -Url: https://github.com/mattgiles/mujson +URL: https://github.com/mattgiles/mujson Source0: https://files.pythonhosted.org/packages/source/m/mujson/mujson-%{version}.tar.gz # https://github.com/mattgiles/mujson/issues/8 Source1: https://raw.githubusercontent.com/mattgiles/mujson/master/LICENSE +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -43,10 +43,10 @@ import time. cp %{SOURCE1} . %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -55,6 +55,7 @@ cp %{SOURCE1} . %files %{python_files} %license LICENSE %doc README.md -%{python_sitelib}/* +%{python_sitelib}/mujson +%{python_sitelib}/mujson-%{version}*-info %changelog