python-xmltodict/python-xmltodict.spec
wang_yue111 4389575664 add provide python-xmltodict
(cherry picked from commit 47e7009af6a01bce815dcb722c484ee7b3073426)
2021-09-22 15:03:37 +08:00

53 lines
1.3 KiB
RPMSpec

%bcond_with bootstrap
Name: python-xmltodict
Version: 0.12.0
Release: 3
Summary: Python module that makes working with XML feel like you are working with JSON
License: MIT
URL: https://github.com/martinblech/xmltodict
Source0: https://github.com/martinblech/xmltodict/archive/refs/tags/v0.12.0.tar.gz
BuildArch: noarch
%description
Python module that makes working with XML feel like you are working with JSON
%package -n python3-xmltodict
Summary: Python module that makes working with XML feel like you are working with JSON
BuildRequires: python3-pytest
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%{?python_provide:%python_provide python3-xmltodict}
%description -n python3-xmltodict
Python module that makes working with XML feel like you are working with JSON
%prep
%autosetup -n xmltodict-%{version}
%build
%py3_build
%install
%py3_install
%check
%{__python3} -m pytest tests
%files -n python3-xmltodict
%doc README.md CHANGELOG.md
%license LICENSE
%{python3_sitelib}/*
%changelog
* Fri Sep 17 2021 wangyue <wangyue92@huawei.com> - 0.12.0-3
- add provide python-xmltodict
* Tue Aug 17 2021 wulei <wulei80@huawei.com> - 0.12.0-2
- add buildrequires
* Tue Apr 28 2020 Wei Xiong <myeuler@163.com>
- init package