## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 10; 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-argparse-dataclass Version: 2.0.0 Release: %autorelease Summary: Declarative CLIs with argparse and dataclasses # SPDX License: MIT URL: https://github.com/mivade/argparse_dataclass # We use the GitHub archive instead of the PyPI sdist to get CHANGELOG.md and # the tests. Source: %{url}/archive/%{version}/argparse_dataclass-%{version}.tar.gz BuildArch: noarch BuildSystem: pyproject BuildOption(install): -l argparse_dataclass # The dev extra and the requirements_dev.txt file both have too many linters # and other unwanted dependencies; it makes more sense to BR what we need for # testing manually. BuildRequires: %{py3_dist pytest} %global common_description %{expand: %{summary}.} %description %{common_description} %package -n python3-argparse-dataclass Summary: %{summary} %description -n python3-argparse-dataclass %{common_description} %check -a %pytest --doctest-modules -v %files -n python3-argparse-dataclass -f %{pyproject_files} %doc CHANGELOG.md %doc README.rst %changelog ## START: Generated by rpmautospec * Mon Nov 18 2024 Benjamin A. Beasley - 2.0.0-9 - F41+: Use the provisional pyproject declarative buildsystem * Fri Jul 19 2024 Fedora Release Engineering - 2.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 2.0.0-7 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 2.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 2.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Dec 26 2023 Benjamin A. Beasley - 2.0.0-3 - Assert that %%pyproject_files contains a license file * Tue Dec 26 2023 Benjamin A. Beasley - 2.0.0-1 - Initial package (close RHBZ#2255786) ## END: Generated by rpmautospec