- Clean up the SPEC file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastbencode?expand=0&rev=12
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user