%global pypi_name dict2xml Name: python-%{pypi_name} Version: 1.7.0 Release: 2 Summary: Super Simple utility to convert a python dictionary into an xml string License: MIT URL: https://github.com/delfick/python-dict2xml Source0: https://files.pythonhosted.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel %global _description \ Super Simple utility to convert a python dictionary into an xml string. %description %{_description} %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} %{_description} %prep %autosetup -n %{pypi_name}-%{version} %build %py3_build %install %py3_install %check %files -n python3-%{pypi_name} %license LICENSE %doc README.rst %{python3_sitelib}/%{pypi_name}/ %{python3_sitelib}/%{pypi_name}-*.egg-info/ %changelog * Thu Nov 10 2022 yaoxin - 1.7.0-2 - Change Source * Wed Jan 27 2021 liudabo - 1.7.0-1 - upgrade version to 1.7.0 * Tue Nov 5 2019 shanshishi - 1.6.1-1 - Init package