## START: Set by rpmautospec
## (rpmautospec version 0.6.0)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
    release_number = 3;
    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-click-option-group
Version:        0.5.6
Release:        %autorelease
Summary:        Option groups missing in Click 

License:        BSD-3-Clause
URL:            https://github.com/click-contrib/click-option-group
Source:         %{pypi_source click-option-group}

BuildArch:      noarch
BuildRequires:  python3-devel

%global _description %{expand:
click-option-group is a Click-extension package that adds option groups
missing in Click.}

%description %_description

%package -n python3-click-option-group
Summary:        %{summary}
%description -n python3-click-option-group %_description


%prep
%autosetup -n click-option-group-%{version}


%generate_buildrequires
%pyproject_buildrequires -x tests


%build
%pyproject_wheel


%install
%pyproject_install
%pyproject_save_files click_option_group


%check
%pytest


%files -n python3-click-option-group -f %{pyproject_files}
%license LICENSE
%doc README.md


%changelog
## START: Generated by rpmautospec
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild


## END: Generated by rpmautospec