From 9e58895d743c0a1f8b1d21a884c79f941d77bc97d5ce22b42483ac4eb7a39c60 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 30 Jun 2025 12:58:50 +0000 Subject: [PATCH] Accepting request 1289266 from home:glaubitz:branches:devel:languages:python - Limit Python files matched in %files section - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install OBS-URL: https://build.opensuse.org/request/show/1289266 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opcodes?expand=0&rev=7 --- python-opcodes.changes | 9 +++++++++ python-opcodes.spec | 11 +++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/python-opcodes.changes b/python-opcodes.changes index 710d19b..55a1113 100644 --- a/python-opcodes.changes +++ b/python-opcodes.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Jun 30 12:31:56 UTC 2025 - John Paul Adrian Glaubitz + +- Limit Python files matched in %files section +- Switch build system from setuptools to pyproject.toml + * Add python-pip and python-wheel to BuildRequires + * Replace %python_build with %pyproject_wheel + * Replace %python_install with %pyproject_install + ------------------------------------------------------------------- Wed Aug 28 04:47:01 UTC 2024 - Guang Yee diff --git a/python-opcodes.spec b/python-opcodes.spec index b83152c..474be14 100644 --- a/python-opcodes.spec +++ b/python-opcodes.spec @@ -1,7 +1,7 @@ # # spec file for package python-opcodes # -# Copyright (c) 2024 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 @@ -25,8 +25,10 @@ License: BSD-2-Clause Group: Development/Languages/Python URL: https://github.com/Maratyszcza/Opcodes Source: https://files.pythonhosted.org/packages/source/o/opcodes/opcodes-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -48,10 +50,10 @@ This project is a spin-off from