diff --git a/python-biplist.changes b/python-biplist.changes index 11338b6..776f7cc 100644 --- a/python-biplist.changes +++ b/python-biplist.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Mar 13 13:42:06 UTC 2024 - Matej Cepl + +- Clean up the SPEC file + +------------------------------------------------------------------- +Tue Mar 12 11:35:34 UTC 2024 - Max Lin + +- Add %{?sle15_python_module_pythons} + ------------------------------------------------------------------- Mon May 31 12:48:50 UTC 2021 - Matej Cepl diff --git a/python-biplist.spec b/python-biplist.spec index e0f74c7..cbafa52 100644 --- a/python-biplist.spec +++ b/python-biplist.spec @@ -1,7 +1,7 @@ # # spec file for package python-biplist # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 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,7 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-biplist Version: 1.0.3 Release: 0 @@ -31,7 +31,9 @@ Patch0: skip-test.patch # Add plistlib-Data.patch to avoid deprecated plistslib.Data Patch1: plistlib-Data.patch BuildRequires: %{python_module coverage} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -48,10 +50,10 @@ plists which can be read by OS X, iOS, or other clients. %autosetup -p1 -n biplist-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -60,6 +62,7 @@ plists which can be read by OS X, iOS, or other clients. %files %{python_files} %license LICENSE %doc AUTHORS README.md -%{python_sitelib}/* +%{python_sitelib}/biplist +%{python_sitelib}/biplist-%{version}*-info %changelog