15
0

- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastavro?expand=0&rev=5
This commit is contained in:
2025-06-17 04:18:31 +00:00
committed by Git OBS Bridge
parent d0539f811e
commit d475c26e19
2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 17 04:13:58 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Fri Nov 22 11:26:56 UTC 2024 - Matej Cepl <mcepl@cepl.eu>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-fastavro
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,7 +27,9 @@ ExcludeArch: %{ix86}
URL: https://github.com/fastavro/fastavro
Source: https://files.pythonhosted.org/packages/source/f/fastavro/fastavro-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Suggests: python-cramjam
@@ -51,10 +53,10 @@ Fast read/write of AVRO files
%build
export CFLAGS="%{optflags}"
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/fastavro
%python_expand %fdupes %{buildroot}%{$python_sitearch}
@@ -74,6 +76,6 @@ donttest+=" or test_optional_codecs_not_installed_reading[snappy]"
%license LICENSE
%python_alternative %{_bindir}/fastavro
%{python_sitearch}/fastavro
%{python_sitearch}/fastavro-%{version}*-info
%{python_sitearch}/fastavro-%{version}.dist-info
%changelog