## 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-pathlib-abc Version: 0.5.2 Release: %autorelease Summary: Backport of pathlib ABCs License: PSF-2.0 URL: https://github.com/barneygale/pathlib-abc Source: %{pypi_source pathlib_abc} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: Base classes for pathlib.Path-ish objects. This package is a preview of pathlib functionality planned for a future release of Python; specifically, it provides three ABCs that can be used to implement path classes for non-local filesystems, such as archive files and storage servers: JoinablePath, ReadablePath, and WritablePath.} %description %_description %package -n python3-pathlib-abc Summary: %{summary} %description -n python3-pathlib-abc %_description %prep %autosetup -p1 -n pathlib_abc-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l pathlib_abc %check %pyproject_check_import %files -n python3-pathlib-abc -f %{pyproject_files} %changelog ## START: Generated by rpmautospec * Tue Nov 25 2025 John Doe - 0.5.2-1 - Uncommitted changes ## END: Generated by rpmautospec