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
This commit is contained 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/*
|
||||
|
Reference in New Issue
Block a user