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