X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/978cadd05ffaab12783b69ea12033947e009ec3c..77c7f5c930b6336834f97c47f5e550c9354c11ea:/wxPython/distrib/wxPythonFull.spec.in 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/*