From ee2acd97eaf5980dacbec7c6db5c5856f8ca58b1f6a66bc1afa397d78cee7a32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 12 Jun 2025 11:59:44 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-signedjson?expand=0&rev=23 --- python-signedjson.changes | 5 +++++ python-signedjson.spec | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/python-signedjson.changes b/python-signedjson.changes index 5f5a189..f6879e6 100644 --- a/python-signedjson.changes +++ b/python-signedjson.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 12 11:59:32 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Sun Jun 11 14:08:47 UTC 2023 - ecsos diff --git a/python-signedjson.spec b/python-signedjson.spec index 9984548..f85491c 100644 --- a/python-signedjson.spec +++ b/python-signedjson.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-signedjson # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,7 +27,9 @@ License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/matrix-org/%{name} Source0: https://files.pythonhosted.org/packages/source/s/signedjson/%{modname}-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-PyNaCl >= 0.3.0 @@ -65,10 +67,10 @@ Features: %setup -q -n %{modname}-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check