2020-05-16 16:22:37 +08:00
|
|
|
%bcond_with bootstrap
|
|
|
|
|
|
|
|
|
|
Name: python-xmltodict
|
|
|
|
|
Version: 0.12.0
|
2022-03-08 09:47:16 +08:00
|
|
|
Release: 4
|
2020-05-16 16:22:37 +08:00
|
|
|
Summary: Python module that makes working with XML feel like you are working with JSON
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://github.com/martinblech/xmltodict
|
2021-08-17 16:21:46 +08:00
|
|
|
Source0: https://github.com/martinblech/xmltodict/archive/refs/tags/v0.12.0.tar.gz
|
2020-05-16 16:22:37 +08:00
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
2021-08-17 16:21:46 +08:00
|
|
|
Python module that makes working with XML feel like you are working with JSON
|
2020-05-16 16:22:37 +08:00
|
|
|
|
|
|
|
|
%package -n python3-xmltodict
|
|
|
|
|
Summary: Python module that makes working with XML feel like you are working with JSON
|
2022-03-08 09:47:16 +08:00
|
|
|
BuildRequires: python3-pytest expat-devel
|
2021-08-17 16:21:46 +08:00
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
2021-09-17 10:26:33 +08:00
|
|
|
%{?python_provide:%python_provide python3-xmltodict}
|
2020-05-16 16:22:37 +08:00
|
|
|
|
|
|
|
|
%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
|
2022-03-08 09:47:16 +08:00
|
|
|
* Tue Mar 8 2022 baizhonggui <baizhonggui@huawei.com> - 0.12.0-4
|
|
|
|
|
- add expat-devel build require to fix build error
|
|
|
|
|
|
2021-09-17 10:26:33 +08:00
|
|
|
* Fri Sep 17 2021 wangyue <wangyue92@huawei.com> - 0.12.0-3
|
|
|
|
|
- add provide python-xmltodict
|
|
|
|
|
|
2021-08-17 16:21:46 +08:00
|
|
|
* Tue Aug 17 2021 wulei <wulei80@huawei.com> - 0.12.0-2
|
|
|
|
|
- add buildrequires
|
|
|
|
|
|
2020-05-16 16:22:37 +08:00
|
|
|
* Tue Apr 28 2020 Wei Xiong <myeuler@163.com>
|
|
|
|
|
- init package
|