wx-config: increase alternatives priority to become the default [release 3.2.2.1-2mamba;Sat Sep 30 2023]
This commit is contained in:
parent
43db360d29
commit
8458dcd0a1
@ -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 <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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user