diff --git a/python-wasabi.changes b/python-wasabi.changes index 78b0f74..a56c089 100644 --- a/python-wasabi.changes +++ b/python-wasabi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 7 18:33:24 UTC 2023 - Matej Cepl + +- Clean up SPEC file. + ------------------------------------------------------------------- Fri May 12 22:20:18 UTC 2023 - Greg Freemyer diff --git a/python-wasabi.spec b/python-wasabi.spec index 70f7b9e..23d45ca 100644 --- a/python-wasabi.spec +++ b/python-wasabi.spec @@ -1,7 +1,7 @@ # # spec file for package python-wasabi # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,19 +15,20 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%{?sle15_python_module_pythons} +%{?sle15_python_module_pythons} %define version 1.1.1 %define modname wasabi -Name: python-%{modname} +Name: python-wasabi Version: %{version} Release: 0 -Group: Development/Languages/Python Summary: A lightweight console printing and formatting toolkit License: LGPL-3.0-only -URL: https://pypi.org/project/%{modname}/ +Group: Development/Languages/Python +URL: https://pypi.org/project/wasabi/ Source: https://github.com/explosion/%{modname}/archive/refs/tags/v%{version}.tar.gz -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -40,17 +41,17 @@ A lightweight console printing and formatting toolkit. %autosetup -n %{modname}-%{version} -p1 %build -%python_build +%pyproject_wheel %install -%python_install -# rm -rfv %{buildroot}%{_datadir}/doc/%{modname} +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %license LICENSE %doc README.md -%{python_sitelib}/wasabi* +%{python_sitelib}/wasabi +%{python_sitelib}/wasabi-%{version}*-info %changelog