From ba4b84bbd92a2f68b1bb37da45e89cbd626676d85c985b4f37fe82b6c567f3ba Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 15 Feb 2024 14:18:59 +0000 Subject: [PATCH] Accepting request 1146864 from GNOME:Next - Explicitly require python311-packaging if python 3.11 is being used. On SLE, python 3.6 is still the default, but 3.11 is used by meson. Drop python3-base from BuildRequires: it is not needed, since python will be pulled in by meson. OBS-URL: https://build.opensuse.org/request/show/1146864 OBS-URL: https://build.opensuse.org/package/show/hardware/libgusb?expand=0&rev=48 --- libgusb.changes | 8 ++++++++ libgusb.spec | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/libgusb.changes b/libgusb.changes index ece79e3..2a4edba 100644 --- a/libgusb.changes +++ b/libgusb.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Feb 15 13:20:14 UTC 2024 - Michael Gorse + +- Explicitly require python311-packaging if python 3.11 is being + used. On SLE, python 3.6 is still the default, but 3.11 is used + by meson. Drop python3-base from BuildRequires: it is not + needed, since python will be pulled in by meson. + ------------------------------------------------------------------- Tue Nov 7 16:25:01 UTC 2023 - Bjørn Lie diff --git a/libgusb.spec b/libgusb.spec index 1e8db3c..b215628 100644 --- a/libgusb.spec +++ b/libgusb.spec @@ -1,7 +1,7 @@ # # spec file for package libgusb # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,9 +30,9 @@ Source99: baselibs.conf Patch0: no-pkg-resources.patch BuildRequires: meson BuildRequires: pkgconfig -BuildRequires: python3-base -BuildRequires: python3-packaging BuildRequires: vala +BuildRequires: (python3-packaging if python3-base) +BuildRequires: (python311-packaging if python311-base) BuildRequires: pkgconfig(gi-docgen) BuildRequires: pkgconfig(glib-2.0) >= 2.44.0 BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.29