## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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-dict2xml Version: 1.7.8 Release: %autorelease Summary: Convert a python dictionary into an xml file License: MIT URL: https://github.com/delfick/python-dict2xml Source: %{pypi_source dict2xml} BuildArch: noarch BuildRequires: python3-devel # The tests extra pins a precise version of pytest, which we cannot respect; we # therefore simply list test dependencies manually. BuildRequires: %{py3_dist pytest} %global _description %{expand: Super Simple utility to convert a python dictionary into an xml string.} %description %_description %package -n python3-dict2xml Summary: %{summary} %description -n python3-dict2xml %_description %prep %autosetup -p1 -n dict2xml-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l dict2xml %check %pyproject_check_import %pytest %files -n python3-dict2xml -f %{pyproject_files} %doc README.rst %changelog ## START: Generated by rpmautospec * Wed Jun 03 2026 Python Maint - 1.7.8-2 - Rebuilt for Python 3.15 * Wed Apr 01 2026 Benson Muite - 1.7.8-1 - Initial import bz#2373132 ## END: Generated by rpmautospec