## 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.6 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} # Don't need mypy/lint dependencies. Patch: 0001-Drop-linting-test-dependencies.patch BuildArch: noarch BuildRequires: python3-devel %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} %generate_buildrequires %pyproject_buildrequires -x tests %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l upath %check %pyproject_check_import %files -n python3-universal-pathlib -f %{pyproject_files} %changelog ## START: Generated by rpmautospec * Mon Nov 24 2025 John Doe - 0.3.6-1 - Uncommitted changes ## END: Generated by rpmautospec