Package init
This commit is contained in:
commit
d60634b827
BIN
dict2xml-1.6.1.tar.gz
Normal file
BIN
dict2xml-1.6.1.tar.gz
Normal file
Binary file not shown.
43
python-dict2xml.spec
Normal file
43
python-dict2xml.spec
Normal file
@ -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 <shanshishi@huawei.com> - 1.6.1-1
|
||||||
|
- Init package
|
||||||
Loading…
x
Reference in New Issue
Block a user