wx-config: increase alternatives priority to become the default [release 3.2.2.1-2mamba;Sat Sep 30 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 19:30:43 +01:00
parent 43db360d29
commit 8458dcd0a1

View File

@ -3,7 +3,7 @@
Name: wxwidgets Name: wxwidgets
Version: 3.2.2.1 Version: 3.2.2.1
Release: 1mamba Release: 2mamba
Summary: GTK+ port of the wxWidgets library Summary: GTK+ port of the wxWidgets library
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -18,7 +18,6 @@ License: LGPL
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: gst-plugins-bad-devel BuildRequires: gst-plugins-bad-devel
BuildRequires: libGConf-devel BuildRequires: libGConf-devel
BuildRequires: libGLU-devel
BuildRequires: libSDL2-devel BuildRequires: libSDL2-devel
BuildRequires: libSM-devel BuildRequires: libSM-devel
BuildRequires: libX11-devel BuildRequires: libX11-devel
@ -34,6 +33,7 @@ BuildRequires: libfreetype-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libglu-devel
BuildRequires: libglvnd-devel BuildRequires: libglvnd-devel
BuildRequires: libgnome-vfs-devel BuildRequires: libgnome-vfs-devel
BuildRequires: libgspell-devel BuildRequires: libgspell-devel
@ -278,7 +278,7 @@ cp -a demos samples %{buildroot}%{_datadir}/wx/examples
%post devel %post devel
/usr/sbin/update-alternatives --install \ /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 --slave %{_bindir}/wxrc wxrc %{_bindir}/wxrc-%{majversion}-unicode
: :
@ -289,6 +289,12 @@ if [ "$1" = "0" ]; then
fi fi
: :
%posttrans devel
if [ $1 -ge 1 ]; then
/usr/sbin/update-alternatives --auto wx-config
fi
:
%post gtk3 -p /sbin/ldconfig %post gtk3 -p /sbin/ldconfig
%postun gtk3 -p /sbin/ldconfig %postun gtk3 -p /sbin/ldconfig
@ -349,6 +355,9 @@ fi
#%{_libdir}/cmake/wxWidgetsQt/wxWidgetsQt*.cmake #%{_libdir}/cmake/wxWidgetsQt/wxWidgetsQt*.cmake
%changelog %changelog
* Sat Sep 30 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.2.1-2mamba
- wx-config: increase alternatives priority to become the default
* Tue Feb 14 2023 Automatic Build System <autodist@mambasoft.it> 3.2.2.1-1mamba * Tue Feb 14 2023 Automatic Build System <autodist@mambasoft.it> 3.2.2.1-1mamba
- automatic version update by autodist - automatic version update by autodist