Sync from SUSE:SLFO:Main python-xmltodict revision c9c39a51b1e3932efd0c42b7d2f105b0
This commit is contained in:
parent
c7221b92b0
commit
48dc99b844
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 12 15:02:30 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Clean up the SPEC file.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 9 13:41:52 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
Tue May 9 13:41:52 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-xmltodict
|
# spec file for package python-xmltodict
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -25,13 +25,15 @@ License: MIT
|
|||||||
URL: https://github.com/martinblech/xmltodict
|
URL: https://github.com/martinblech/xmltodict
|
||||||
Source: https://files.pythonhosted.org/packages/source/x/xmltodict/xmltodict-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/x/xmltodict/xmltodict-%{version}.tar.gz
|
||||||
Patch0: skip-tests-expat-245.patch
|
Patch0: skip-tests-expat-245.patch
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: %{python_module xml}
|
BuildRequires: %{python_module xml}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-xml
|
Requires: python-xml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -45,11 +47,11 @@ sed -i '1{\@^#!%{_bindir}/env python@d}' xmltodict.py
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -61,6 +63,6 @@ export LANG=en_US.UTF-8
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
%{python_sitelib}/xmltodict.py*
|
%{python_sitelib}/xmltodict.py*
|
||||||
%pycache_only %{python_sitelib}/__pycache__/xmltodict.*.py*
|
%pycache_only %{python_sitelib}/__pycache__/xmltodict.*.py*
|
||||||
%{python_sitelib}/xmltodict-%{version}-py*.egg-info
|
%{python_sitelib}/xmltodict-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user