17
0
2025-05-20 10:13:14 +00:00
committed by Git OBS Bridge
parent 63a3a5cd2b
commit f290a132cd
2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 20 10:12:51 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Clean up the SPEC file.
-------------------------------------------------------------------
Mon May 19 11:39:48 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -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