From f5200a1afa2bd45e3784f7312d9f96485ca18648 Mon Sep 17 00:00:00 2001 From: Mystro256 Date: Sep 20 2016 00:46:43 +0000 Subject: Workaround for alternatives --- diff --git a/wxGTK.spec b/wxGTK.spec index 777cf10..c3f0b8c 100644 --- a/wxGTK.spec +++ b/wxGTK.spec @@ -1,6 +1,6 @@ Name: wxGTK Version: 2.8.12 -Release: 25%{?dist} +Release: 26%{?dist} Summary: GTK2 port of the wxWidgets GUI library License: wxWidgets Group: System Environment/Libraries @@ -179,6 +179,9 @@ popd %postun -n wxBase -p /sbin/ldconfig %post devel +if [ -f %{_bindir}/wx-config ] && [ ! -h %{_bindir}/wx-config ] ; then + rm %{_bindir}/wx-config +fi %{_sbindir}/update-alternatives --install %{_bindir}/wx-config \ wx-config %{_bindir}/wx-config-2.0 2 %{_sbindir}/update-alternatives --install %{_bindir}/wxrc \ @@ -236,6 +239,9 @@ fi %changelog +* Mon Sep 19 2016 Jeremy Newton - 2.8.12-26 +- Workaround for alternatives: remove wx-config if it's not a symlink + * Sun Sep 18 2016 Jeremy Newton - 2.8.12-25 - Missing update-alternatives requirement for devel package