add expat build require to fix build error

(cherry picked from commit 167ce6a9ac772c57fd6f5f497b7bfba1f65fc219)
This commit is contained in:
baizg1107 2022-03-08 09:47:16 +08:00 committed by openeuler-sync-bot
parent 3c1f5ae80f
commit 9ed86fad97

View File

@ -2,7 +2,7 @@
Name: python-xmltodict Name: python-xmltodict
Version: 0.12.0 Version: 0.12.0
Release: 3 Release: 4
Summary: Python module that makes working with XML feel like you are working with JSON Summary: Python module that makes working with XML feel like you are working with JSON
License: MIT License: MIT
URL: https://github.com/martinblech/xmltodict URL: https://github.com/martinblech/xmltodict
@ -15,7 +15,7 @@ Python module that makes working with XML feel like you are working with JSON
%package -n python3-xmltodict %package -n python3-xmltodict
Summary: Python module that makes working with XML feel like you are working with JSON Summary: Python module that makes working with XML feel like you are working with JSON
BuildRequires: python3-pytest BuildRequires: python3-pytest expat-devel
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
%{?python_provide:%python_provide python3-xmltodict} %{?python_provide:%python_provide python3-xmltodict}
@ -42,6 +42,9 @@ Python module that makes working with XML feel like you are working with JSON
%changelog %changelog
* Tue Mar 8 2022 baizhonggui <baizhonggui@huawei.com> - 0.12.0-4
- add expat-devel build require to fix build error
* Fri Sep 17 2021 wangyue <wangyue92@huawei.com> - 0.12.0-3 * Fri Sep 17 2021 wangyue <wangyue92@huawei.com> - 0.12.0-3
- add provide python-xmltodict - add provide python-xmltodict