From f290a132cd122a82e8827d58653988fee77df7789c6ae1548ee10fd0ad841bcb Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 20 May 2025 10:13:14 +0000 Subject: [PATCH] - Clean up the SPEC file. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastbencode?expand=0&rev=12 --- python-fastbencode.changes | 5 +++++ python-fastbencode.spec | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/python-fastbencode.changes b/python-fastbencode.changes index cb634b6..831eee1 100644 --- a/python-fastbencode.changes +++ b/python-fastbencode.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 20 10:12:51 UTC 2025 - Matej Cepl + +- Clean up the SPEC file. + ------------------------------------------------------------------- Mon May 19 11:39:48 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-fastbencode.spec b/python-fastbencode.spec index 5bdb9f8..8fcf7cc 100644 --- a/python-fastbencode.spec +++ b/python-fastbencode.spec @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python3-%{**}} Name: python-fastbencode Version: 0.3.2 Release: 0 @@ -26,7 +25,9 @@ URL: https://github.com/breezy-team/fastbencode Source: https://github.com/breezy-team/fastbencode/archive/refs/tags/v%{version}.tar.gz#/fastbencode-%{version}.tar.gz BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: gcc BuildRequires: python-rpm-macros @@ -44,10 +45,10 @@ provides significantly better performance. %autosetup -p1 -n fastbencode-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -56,6 +57,7 @@ provides significantly better performance. %files %{python_files} %doc README.md SECURITY.md %license COPYING -%{python_sitearch}/fastbencode* +%{python_sitearch}/fastbencode +%{python_sitearch}/fastbencode-%{version}*-info %changelog