diff --git a/brp-trim-desktop.sh b/brp-trim-desktop.sh index 93f5018..e561492 100644 --- a/brp-trim-desktop.sh +++ b/brp-trim-desktop.sh @@ -22,7 +22,16 @@ if ! test -w $BASEDIR; then exit 0 fi -find /$RPM_BUILD_ROOT/usr/share /$RPM_BUILD_ROOT/etc/xdg/autostart/ \ +find /$RPM_BUILD_ROOT/opt/kde3/share/applications/kde/ \ + /$RPM_BUILD_ROOT/opt/kde3/share/applnk/ \ + /$RPM_BUILD_ROOT/usr/share/xsessions/ \ + /$RPM_BUILD_ROOT/usr/share/applications/ \ + /$RPM_BUILD_ROOT/usr/share/mimelnk/ \ + /$RPM_BUILD_ROOT/usr/share/gnome/apps/ \ + /$RPM_BUILD_ROOT/usr/share/autostart/ \ + /$RPM_BUILD_ROOT/etc/xdg/autostart/ \ + /$RPM_BUILD_ROOT/usr/share/wallpapers \ + /$RPM_BUILD_ROOT/usr/share/autoinstall/ \ -type f \( -name '*.desktop' -o -name .directory \) 2>/dev/null | while read -r FILE; do if grep -q ^X-SuSE-translate= "$FILE"; then diff --git a/update-desktop-files.changes b/update-desktop-files.changes index cbc4ecb..9d03c30 100644 --- a/update-desktop-files.changes +++ b/update-desktop-files.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Oct 24 05:03:02 UTC 2015 - coolo@suse.com + +- go back to a specific directory list instead of all in /usr/share + (boo#904524) + ------------------------------------------------------------------- Sat Nov 22 16:46:15 UTC 2014 - stefan.bruens@rwth-aachen.de diff --git a/update-desktop-files.spec b/update-desktop-files.spec index 8c08be4..b484225 100644 --- a/update-desktop-files.spec +++ b/update-desktop-files.spec @@ -1,7 +1,7 @@ # # spec file for package update-desktop-files # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed