commit d60634b827428ee8c7c242a268e7e9c1838e748b Author: dogsheng <960055655@qq.com> Date: Tue Nov 19 11:53:43 2019 +0800 Package init diff --git a/dict2xml-1.6.1.tar.gz b/dict2xml-1.6.1.tar.gz new file mode 100644 index 0000000..99ff5d1 Binary files /dev/null and b/dict2xml-1.6.1.tar.gz differ diff --git a/python-dict2xml.spec b/python-dict2xml.spec new file mode 100644 index 0000000..9cb8920 --- /dev/null +++ b/python-dict2xml.spec @@ -0,0 +1,43 @@ +%global pypi_name dict2xml + +Name: python-%{pypi_name} +Version: 1.6.1 +Release: 1 +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/ed/28/b169ce37d415e5c924fa4f2b157b051ef9fa5ab25ae94db192f19dd9c6b1/%{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 +* Tue Nov 5 2019 shanshishi - 1.6.1-1 +- Init package