## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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-housekeeping Version: 1.1 Release: %autorelease Summary: Python utilities for helping deprecate and remove code License: MIT URL: https://pypi.org/project/housekeeping/ Source: %{pypi_source housekeeping} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(pytest) %global _description %{expand: Housekeeping is a Python package designed to make it easy for projects to mark consumed code as deprecated or pending deprecation, with helpful instructions for consumers using deprecated functionality.} %description %_description %package -n python3-housekeeping Summary: %{summary} %description -n python3-housekeeping %_description %prep %autosetup -p1 -n housekeeping-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l housekeeping %check %pyproject_check_import %pytest %files -n python3-housekeeping -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Tue Jul 23 2024 Aleksei Bavshin - 1.1-1 - Initial import (rhbz#2293873) ## END: Generated by rpmautospec