## START: Set by rpmautospec ## (rpmautospec version 0.3.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 %global srcname pathable Name: python-%{srcname} Version: 0.4.3 Release: %autorelease Summary: Object-oriented paths License: Apache-2.0 URL: https://pypi.python.org/pypi/%{srcname} Source: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: poetry %global _description %{expand: A python library which provides traverse resources like paths and access resources on demand with separate accessor layer.} %description %_description %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %_description %prep %autosetup -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %check %pyproject_check_import %files -n python3-%{srcname} -f %{pyproject_files} %license LICENSE %doc README.rst %changelog * Fri Jan 20 2023 Fedora Release Engineering - 0.4.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Dec 21 2022 Mattia Verga - 0.4.3-1 - Initial import (fedora#2154186)