From: Robin Dunn Date: Tue, 20 Jan 2004 23:28:37 +0000 (+0000) Subject: Be sure to mention the directories too so they get cleaned up upon uninstall X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a55bea574a5ac575a6021f0fc5c967786b3dfd63?ds=inline Be sure to mention the directories too so they get cleaned up upon uninstall git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/distrib/wxPythonFull.spec.in b/wxPython/distrib/wxPythonFull.spec.in index f36dd6e81e..ef201326ef 100644 --- a/wxPython/distrib/wxPythonFull.spec.in +++ b/wxPython/distrib/wxPythonFull.spec.in @@ -285,9 +285,7 @@ if [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi %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 @@ -305,6 +303,8 @@ if [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || tru %doc wxPython/docs/* %{_bindir}/* %{_libdir}/python%{pyver}/site-packages/* +%dir %{wxpref} +%dir %{wxpref}/lib %{wxpref}/lib/libwx* %{wxpref}/share %{_datadir}/applnk/Development/*