From 7ded310008e5067d536c061c994b14311e435be2 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Sep 06 2023 21:12:11 +0000 Subject: Add conflicts with older gnome-shell versions This ensures that we don't end up with new mutter 45.rc and older gnome-shell 45.beta, which doesn't work - mutter removed meta_rectangle_union() in 45.rc that gnome-shell 45.beta used. The conflicts here, and gnome-shell having versioned requires on mutter make sure that both packages get updated in lock step. /usr/bin/gnome-shell: symbol lookup error: /usr/lib64/gnome-shell/libshell-13.so: undefined symbol: meta_rectangle_union --- diff --git a/mutter.spec b/mutter.spec index 713267e..dfb2d26 100644 --- a/mutter.spec +++ b/mutter.spec @@ -111,6 +111,10 @@ Provides: bundled(clutter) = 1.26.0 Conflicts: mutter < 45~beta.1-2 +# Make sure dnf updates gnome-shell together with this package; otherwise we +# might end up with broken gnome-shell installations due to mutter ABI changes. +Conflicts: gnome-shell < 45~rc + %description Mutter is a window and compositing manager that displays and manages your desktop via OpenGL. Mutter combines a sophisticated display engine