## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-universal-pathlib Version: 0.3.10 Release: %autorelease Summary: Python pathlib API extended to use fsspec backends License: MIT URL: https://github.com/fsspec/universal_pathlib Source: %{pypi_source universal_pathlib} # smbclient is unavailable and tests can't work as they use docker. # s3fs is unavailable so skip a test that requires it. # gcsfs is orphaned, so may become unavailable soon. Patch: 0001-Make-some-dependencies-more-optional-in-tests.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(fsspec[github]) BuildRequires: python3dist(fsspec[http]) BuildRequires: python3dist(fsspec[ssh]) %global _description %{expand: Universal Pathlib is a Python library that extends the pathlib_abc.JoinablePath API to provide a pathlib.Path-like interface for a variety of backend filesystems via filesystem_spec.} %description %_description %package -n python3-universal-pathlib Summary: %{summary} %description -n python3-universal-pathlib %_description %prep %autosetup -p1 -n universal_pathlib-%{version} # Don't need mypy/lint dependencies. %pyproject_patch_dependency pytest-cov:ignore %pyproject_patch_dependency pylint:ignore %pyproject_patch_dependency mypy:ignore %pyproject_patch_dependency pytest-mypy-plugins:ignore %generate_buildrequires %pyproject_buildrequires -x tests %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l upath %check %pytest -ra -m 'not network' %files -n python3-universal-pathlib -f %{pyproject_files} %doc README.md CHANGELOG.md %changelog ## START: Generated by rpmautospec * Tue Apr 28 2026 John Doe - 0.3.10-1 - Uncommitted changes ## END: Generated by rpmautospec