14
0

Accepting request 1284635 from devel:languages:python

- Switch to pyproject macros.
- Explicitly list files and directories in %files.

OBS-URL: https://build.opensuse.org/request/show/1284635
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfuse3?expand=0&rev=13
This commit is contained in:
2025-06-11 14:25:50 +00:00
committed by Git OBS Bridge
2 changed files with 17 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 11 05:53:36 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- Explicitly list files and directories in %files.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Aug 31 11:59:25 UTC 2024 - Dirk Müller <dmueller@suse.com> Sat Aug 31 11:59:25 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pyfuse3 # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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} BuildRequires: %{python_module pytest >= 3.4.0}
# upstream use: pytest-trio >= 0.15 # upstream use: pytest-trio >= 0.15
BuildRequires: %{python_module pytest-trio} BuildRequires: %{python_module pytest-trio}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module trio} BuildRequires: %{python_module trio}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: fuse3-devel >= 3.3.0 BuildRequires: fuse3-devel >= 3.3.0
BuildRequires: libattr-devel BuildRequires: libattr-devel
@@ -48,10 +50,10 @@ pyfuse3 is a set of Python 3 bindings for libfuse 3. It provides an asynchronous
%build %build
%python_expand $python setup.py build_cython %python_expand $python setup.py build_cython
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%check %check
@@ -63,6 +65,11 @@ pyfuse3 is a set of Python 3 bindings for libfuse 3. It provides an asynchronous
%files %{python_files} %files %{python_files}
%doc Changes.rst README.rst %doc Changes.rst README.rst
%license LICENSE %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 %changelog