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
This commit is contained in:
Dominique Leuenberger 2024-02-15 14:18:59 +00:00 committed by Git OBS Bridge
parent b584a09d1f
commit ba4b84bbd9
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Feb 15 13:20:14 UTC 2024 - Michael Gorse <mgorse@suse.com>
- 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 <bjorn.lie@gmail.com>

View File

@ -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