%postun
-if [ -e %{wxprefbase} ]; then
- rm %{wxprefbase}
-fi
+rm -f %{wxprefbase}
# This is done on Mandrake to update its menus:
if [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi
%doc wxPython/docs/*
%{_bindir}/*
%{_libdir}/python%{pyver}/site-packages/*
+%dir %{wxpref}
+%dir %{wxpref}/lib
%{wxpref}/lib/libwx*
%{wxpref}/share
%{_datadir}/applnk/Development/*