diff --git a/python-anymarkup-core.changes b/python-anymarkup-core.changes index ccd07ed..535d6b6 100644 --- a/python-anymarkup-core.changes +++ b/python-anymarkup-core.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 13 13:40:25 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Thu Oct 20 06:52:24 UTC 2022 - Daniel Garcia diff --git a/python-anymarkup-core.spec b/python-anymarkup-core.spec index e9b17ce..da3bcd3 100644 --- a/python-anymarkup-core.spec +++ b/python-anymarkup-core.spec @@ -1,7 +1,7 @@ # # spec file for package python-anymarkup-core # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2025 SUSE LLC # Copyright (c) 2020 SUSE Software Solutions Germany GmbH. # # All modifications and additions to the file contributed by third parties @@ -17,7 +17,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-anymarkup-core Version: 0.8.1 Release: 0 @@ -29,7 +28,9 @@ Source0: https://github.com/bkabrda/anymarkup-core/archive/v%{version}/an Patch0: xml-to-dict-0.13.patch # PATCH-FIX-UPSTREAM drop-python2-support.patch gh#bkabrda/anymarkup-core#7 Patch1: drop-python2-support.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Suggests: python-PyYAML @@ -57,10 +58,10 @@ python-anymarkup. %autosetup -p1 -n anymarkup-core-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check