## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## 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 Summary: Manage click arguments using python dataclass Name: python-clickdc Version: 0.1.1 Release: %autorelease License: MIT URL: https://github.com/Kamilcuk/clickdc Source: %{pypi_source clickdc} Patch: python-clickdc-0.1.1-reqs.patch Patch: python-clickdc-0.1.1-click-832.patch BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: This is a package to define click command line options from a python dataclass. You can define a python dataclass from dataclasses with fields that have proper types when assigned by click parsing library. Then each field is initialized with a option, argument, command or group from clickdc library.} %description %_description %package -n python3-clickdc Summary: %{summary} %description -n python3-clickdc %_description %pyproject_extras_subpkg -n python3-clickdc test %prep %autosetup -p1 -n clickdc-%{version} %generate_buildrequires %pyproject_buildrequires -x test %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l clickdc %check %pyproject_check_import %pytest %files -n python3-clickdc -f %{pyproject_files} %changelog ## START: Generated by rpmautospec * Thu Oct 08 2026 Terje Røsten - 0.1.1-1 - Initial commit (rhbz#2459428) ## END: Generated by rpmautospec