From dd5878b32624d40270c704253a63f6c2b8bc71ee Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sun, 17 Apr 2005 11:53:26 +0000 Subject: [PATCH] Only delete wx-config if it exists. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxGTK_RR.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wxGTK_RR.spec b/wxGTK_RR.spec index afc4a22200..0ca5e07cb4 100644 --- a/wxGTK_RR.spec +++ b/wxGTK_RR.spec @@ -534,7 +534,9 @@ ln -sf %{_libdir}/wx/config/%{wxconfig} %{_bindir}/%{wxconfiglink} /sbin/ldconfig %preun devel -rm -f %{_bindir}/wx-config +%if %{unicode} + rm -f %{_bindir}/wx-config +%endif rm -f %{_bindir}/%{wxconfiglink} %post -n %{wxbasename}