diff --git a/python-xmltodict.spec b/python-xmltodict.spec index 1ec67d2e148348e245365931c9eb2589a535c0c7..d466cb1a6701db7d8b1121557efe9db707fc4e9f 100644 --- a/python-xmltodict.spec +++ b/python-xmltodict.spec @@ -1,12 +1,12 @@ %bcond_with bootstrap Name: python-xmltodict -Version: 0.12.0 -Release: 3 +Version: 1.0.0 +Release: 1 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 +Source0: %{pypi_source xmltodict} BuildArch: noarch @@ -15,7 +15,7 @@ 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-pytest expat-devel BuildRequires: python3-devel BuildRequires: python3-setuptools %{?python_provide:%python_provide python3-xmltodict} @@ -24,7 +24,7 @@ BuildRequires: python3-setuptools Python module that makes working with XML feel like you are working with JSON %prep -%autosetup -n xmltodict-%{version} +%autosetup -n xmltodict-%{version} -p1 %build %py3_build @@ -36,12 +36,29 @@ Python module that makes working with XML feel like you are working with JSON %{__python3} -m pytest tests %files -n python3-xmltodict -%doc README.md CHANGELOG.md +%doc README.md %license LICENSE %{python3_sitelib}/* %changelog +* Wed Sep 17 2025 yaoxin <1024769339@qq.com> - 1.0.0-1 +- Update to 1.0.0 for fix CVE-2025-9375 + +* Fri May 30 2025 liwenqiang - 0.14.2-1 +- Upgrade package to version 0.14.2 + +* Tue Oct 15 2024 lixiaoyong - 0.14.1-1 +- Upgrade package to version 0.14.1 + - Drop support for Python older than 3.6 + - Additional ruff/Pyflakes/codespell fixes + +* Wed Jun 29 2022 caodongxia - 0.13.0-1 +- Update to 0.13.0 + +* Tue Mar 8 2022 baizhonggui - 0.12.0-4 +- add expat-devel build require to fix build error + * Fri Sep 17 2021 wangyue - 0.12.0-3 - add provide python-xmltodict diff --git a/python-xmltodict.yaml b/python-xmltodict.yaml new file mode 100644 index 0000000000000000000000000000000000000000..91a5deef1a7ea53f1600ba9eb66dfba8a36d26d0 --- /dev/null +++ b/python-xmltodict.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: martinblech/xmltodict +tag_prefix: "^v" +separator: "." diff --git a/v0.12.0.tar.gz b/v0.12.0.tar.gz deleted file mode 100644 index b974427665e8a46ff96e4968487f9a187accf68f..0000000000000000000000000000000000000000 Binary files a/v0.12.0.tar.gz and /dev/null differ diff --git a/xmltodict-1.0.0.tar.gz b/xmltodict-1.0.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..e1f7bb863ce5a2cb59a3006ee070ea3f9ce034fa Binary files /dev/null and b/xmltodict-1.0.0.tar.gz differ