From 8523016329aaae969ef50e297f4dfe56c11a8675ba8bf4e2cdacdecd99661ced Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 11 Jun 2025 06:18:37 +0000 Subject: [PATCH] - Switch to pyproject macros. - Explicitly list files and directories in %files. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfuse3?expand=0&rev=28 --- python-pyfuse3.changes | 6 ++++++ python-pyfuse3.spec | 15 +++++++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/python-pyfuse3.changes b/python-pyfuse3.changes index b677a28..41430d3 100644 --- a/python-pyfuse3.changes +++ b/python-pyfuse3.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jun 11 05:53:36 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. +- Explicitly list files and directories in %files. + ------------------------------------------------------------------- Sat Aug 31 11:59:25 UTC 2024 - Dirk Müller diff --git a/python-pyfuse3.spec b/python-pyfuse3.spec index b25bcd1..d954305 100644 --- a/python-pyfuse3.spec +++ b/python-pyfuse3.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyfuse3 # -# 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 @@ -30,8 +30,10 @@ BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module pytest >= 3.4.0} # upstream use: pytest-trio >= 0.15 BuildRequires: %{python_module pytest-trio} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module trio} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: fuse3-devel >= 3.3.0 BuildRequires: libattr-devel @@ -48,10 +50,10 @@ pyfuse3 is a set of Python 3 bindings for libfuse 3. It provides an asynchronous %build %python_expand $python setup.py build_cython -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check @@ -63,6 +65,11 @@ pyfuse3 is a set of Python 3 bindings for libfuse 3. It provides an asynchronous %files %{python_files} %doc Changes.rst README.rst %license LICENSE -%{python_sitearch} +%{python_sitearch}/pyfuse3 +%{python_sitearch}/pyfuse3_asyncio.py +%{python_sitearch}/_pyfuse3.py +%{python_sitearch}/__pycache__/pyfuse3_asyncio.*.pyc +%{python_sitearch}/__pycache__/_pyfuse3.*.pyc +%{python_sitearch}/pyfuse3-%{version}.dist-info %changelog