diff --git a/python-Js2Py.changes b/python-Js2Py.changes index a5bf92f..137953c 100644 --- a/python-Js2Py.changes +++ b/python-Js2Py.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 27 02:47:33 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Wed Jan 1 23:38:45 UTC 2025 - Matej Cepl diff --git a/python-Js2Py.spec b/python-Js2Py.spec index 92c02b2..49f929c 100644 --- a/python-Js2Py.spec +++ b/python-Js2Py.spec @@ -22,7 +22,6 @@ Version: 0.74 Release: 0 Summary: JavaScript to Python Translator & JavaScript interpreter License: MIT -Group: Development/Languages/Python URL: https://github.com/PiotrDabkowski/Js2Py Source: https://files.pythonhosted.org/packages/source/J/Js2Py/Js2Py-%{version}.tar.gz Source1: https://raw.githubusercontent.com/PiotrDabkowski/Js2Py/master/LICENSE.md @@ -35,8 +34,10 @@ Patch2: CVE-2024-28397.patch # PATCH-FIX-UPSTREAM 313-compatibility.patch gh#PiotrDabkowski/Js2Py#334 mcepl@suse.com # Compatibility with Python 3.13 Patch3: 313-compatibility.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module pyjsparser} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pyjsparser @@ -54,10 +55,10 @@ implementation of the JavaScript core, is written in pure Python. cp %{SOURCE1} . %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -72,6 +73,6 @@ popd %doc README.md %license LICENSE.md %{python_sitelib}/js2py -%{python_sitelib}/Js2Py-%{version}*-info +%{python_sitelib}/[Jj]s2[Pp]y-%{version}.dist-info %changelog