## 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 Name: python-dacite Version: 1.9.2 Release: %autorelease Summary: Simple creation of data classes from dictionaries License: MIT URL: https://github.com/konradhalas/dacite Source: %{url}/archive/v%{version}/dacite-%{version}.tar.gz BuildSystem: pyproject BuildOption(install): --assert-license dacite BuildArch: noarch BuildRequires: python3-devel # tests BuildRequires: python3-pytest %global _description %{expand: This module simplifies creation of data classes (PEP 557) from dictionaries. } %description %_description %package -n python3-dacite Summary: %{summary} %description -n python3-dacite %_description %prep -a # v1.9.2 tag still has version="1.9.1" in setup.py sed -i 's/version="1.9.1"/version="%{version}"/' setup.py %check -a %pytest --override-ini="addopts=" --ignore=tests/performance \ --deselect tests/core/test_union.py::test_from_dict_with_union_and_wrong_data %files -n python3-dacite -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Sun Nov 15 2026 Miroslav Suchý - 1.9.2-1 - 2569996 - new package ## END: Generated by rpmautospec