diff --git a/pkg/redhat/wxGTK2ud.spec b/pkg/redhat/wxGTK2ud.spec index b0622a2aa8..5a2ea4c06e 100644 --- a/pkg/redhat/wxGTK2ud.spec +++ b/pkg/redhat/wxGTK2ud.spec @@ -82,8 +82,11 @@ strip --strip-debug %{buildroot}%{_libdir}/libwx_gtk2ud_stc-%{version}.a %clean rm -rf %{buildroot} -%post ln -s /usr/lib/wx/include/gtk2ud-2.5/wx/setup.h /usr/include/wx/setup.h -%postun rm -fr /usr/include/wx/setup.h +%post +ln -s /usr/lib/wx/include/gtk2ud-2.5/wx/setup.h /usr/include/wx/setup.h + +%postun +rm -fr /usr/include/wx/setup.h %files %defattr(-,root,root)