diff --git a/python-cassowary.changes b/python-cassowary.changes index 1365169..a965b9a 100644 --- a/python-cassowary.changes +++ b/python-cassowary.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 15 12:52:06 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Wed May 19 08:42:53 UTC 2021 - pgajdos@suse.com diff --git a/python-cassowary.spec b/python-cassowary.spec index f2a4092..7e7b85c 100644 --- a/python-cassowary.spec +++ b/python-cassowary.spec @@ -1,7 +1,7 @@ # # spec file for package python-cassowary # -# 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 @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-cassowary Version: 0.5.2 Release: 0 @@ -25,8 +24,10 @@ License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/brodderickrodriguez/cassowary Source: https://files.pythonhosted.org/packages/source/c/cassowary/cassowary-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -41,10 +42,10 @@ layout mechanism. %setup -q -n cassowary-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -53,6 +54,7 @@ layout mechanism. %files %{python_files} %license LICENSE %doc AUTHORS README.rst -%{python_sitelib}/* +%{python_sitelib}/cassowary +%{python_sitelib}/cassowary-%{version}*-info %changelog