diff --git a/python-pyfuse3.spec b/python-pyfuse3.spec index 3ac6007..af39318 100644 --- a/python-pyfuse3.spec +++ b/python-pyfuse3.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -28,16 +28,15 @@ Group: Development/Libraries/Python URL: https://github.com/libfuse/pyfuse3 Source: https://github.com/libfuse/pyfuse3/archive/release-%{version}.tar.gz#/%{pname}-%{version}.tar.gz BuildRequires: %{python_module Cython} -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module pytest-trio} BuildRequires: %{python_module contextvars >= 2.1} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest-trio} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: fuse3-devel >= 3.3.0 BuildRequires: libattr-devel BuildRequires: python-rpm-macros Recommends: fuse3 >= 3.3.0 - %python_subpackages %description @@ -58,7 +57,7 @@ pyfuse3 is a set of Python 3 bindings for libfuse 3. It provides an asynchronous # Note: There are some tests that are skipped because the user that # runs rpmbuild should be able to run fusermount but there's no way # to add it to the trusted group. -%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m pytest test/ -rsx +%pytest_arch %files %{python_files} %doc Changes.rst README.rst