diff --git a/python-booleanOperations.changes b/python-booleanOperations.changes index d23bb8e..8ae4d72 100644 --- a/python-booleanOperations.changes +++ b/python-booleanOperations.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 15 11:58:05 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Thu Dec 16 10:45:31 UTC 2021 - Ben Greiner diff --git a/python-booleanOperations.spec b/python-booleanOperations.spec index 7b9b59f..4aa8078 100644 --- a/python-booleanOperations.spec +++ b/python-booleanOperations.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-booleanOperations # -# Copyright (c) 2021 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 @@ -24,9 +24,6 @@ %define psuffix %{nil} %bcond_with test %endif -%{?!python_module:%define python_module() python3-%{**}} -%define skip_python2 1 -%define skip_python36 1 Name: python-booleanOperations%{psuffix} Version: 0.9.0 Release: 0 @@ -34,6 +31,7 @@ Summary: Boolean operations on paths License: MIT URL: https://github.com/typemytype/booleanOperations Source: https://files.pythonhosted.org/packages/source/b/booleanOperations/booleanOperations-%{version}.zip +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} @@ -59,11 +57,11 @@ Boolean operations on paths. %setup -q -n booleanOperations-%{version} %build -%python_build +%pyproject_wheel %install %if !%{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif @@ -77,7 +75,7 @@ Boolean operations on paths. %doc README.rst %license LICENSE %{python_sitelib}/booleanOperations -%{python_sitelib}/booleanOperations-%{version}*-info +%{python_sitelib}/boolean[Oo]perations-%{version}*-info %endif %changelog