Accepting request 340702 from X11:common:Factory

- go back to a specific directory list instead of all in /usr/share
  (boo#904524)

OBS-URL: https://build.opensuse.org/request/show/340702
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/update-desktop-files?expand=0&rev=96
This commit is contained in:
Dominique Leuenberger 2015-10-28 16:16:38 +00:00 committed by Git OBS Bridge
commit f9f13cebb2
3 changed files with 17 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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