diff --git a/python-three-merge.changes b/python-three-merge.changes index ea63ba5..3b1c0b9 100644 --- a/python-three-merge.changes +++ b/python-three-merge.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 4 06:07:58 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Thu Nov 12 16:24:00 UTC 2020 - Benjamin Greiner diff --git a/python-three-merge.spec b/python-three-merge.spec index 09b4fbe..36cf4a5 100644 --- a/python-three-merge.spec +++ b/python-three-merge.spec @@ -1,7 +1,7 @@ # # spec file for package python-three-merge # -# Copyright (c) 2020 SUSE LLC +# 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,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-three-merge Version: 0.1.1 @@ -26,7 +25,9 @@ License: MIT URL: https://github.com/spyder-ide/three-merge # Use GitHub archive instead of PyPI sdist because of test files Source: %{url}/archive/v%{version}.tar.gz#/three-merge-%{version}-gh.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-diff-match-patch @@ -46,10 +47,10 @@ opposed to most VCS systems, which opt for a line-based approach. %setup -q -n three-merge-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check