From 8458dcd0a123d909655316a3ff1033c14a549ed9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 19:30:43 +0100 Subject: [PATCH] wx-config: increase alternatives priority to become the default [release 3.2.2.1-2mamba;Sat Sep 30 2023] --- wxwidgets.spec | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/wxwidgets.spec b/wxwidgets.spec index 21e2be0..2982061 100644 --- a/wxwidgets.spec +++ b/wxwidgets.spec @@ -3,7 +3,7 @@ Name: wxwidgets Version: 3.2.2.1 -Release: 1mamba +Release: 2mamba Summary: GTK+ port of the wxWidgets library Group: System/Libraries Vendor: openmamba @@ -18,7 +18,6 @@ License: LGPL BuildRequires: glibc-devel BuildRequires: gst-plugins-bad-devel BuildRequires: libGConf-devel -BuildRequires: libGLU-devel BuildRequires: libSDL2-devel BuildRequires: libSM-devel BuildRequires: libX11-devel @@ -34,6 +33,7 @@ BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel +BuildRequires: libglu-devel BuildRequires: libglvnd-devel BuildRequires: libgnome-vfs-devel BuildRequires: libgspell-devel @@ -278,7 +278,7 @@ cp -a demos samples %{buildroot}%{_datadir}/wx/examples %post devel /usr/sbin/update-alternatives --install \ - %{_bindir}/wx-config wx-config %{_bindir}/wx-config-unicode-3 50 \ + %{_bindir}/wx-config wx-config %{_bindir}/wx-config-unicode-3 65 \ --slave %{_bindir}/wxrc wxrc %{_bindir}/wxrc-%{majversion}-unicode : @@ -289,6 +289,12 @@ if [ "$1" = "0" ]; then fi : +%posttrans devel +if [ $1 -ge 1 ]; then + /usr/sbin/update-alternatives --auto wx-config +fi +: + %post gtk3 -p /sbin/ldconfig %postun gtk3 -p /sbin/ldconfig @@ -349,6 +355,9 @@ fi #%{_libdir}/cmake/wxWidgetsQt/wxWidgetsQt*.cmake %changelog +* Sat Sep 30 2023 Silvan Calarco 3.2.2.1-2mamba +- wx-config: increase alternatives priority to become the default + * Tue Feb 14 2023 Automatic Build System 3.2.2.1-1mamba - automatic version update by autodist