10a26d790a
Accepted submit request 67998 from user coolo OBS-URL: https://build.opensuse.org/request/show/67998 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=101
14 lines
599 B
Diff
14 lines
599 B
Diff
Index: MenuXDGCheck.py
|
|
===================================================================
|
|
--- MenuXDGCheck.py.orig
|
|
+++ MenuXDGCheck.py
|
|
@@ -18,7 +18,7 @@ class MenuXDGCheck(AbstractCheck.Abstrac
|
|
# $ echo $XDG_DATA_DIRS/applications
|
|
# /var/lib/menu-xdg:/usr/share
|
|
AbstractCheck.AbstractFilesCheck.__init__(
|
|
- self, "MenuXDGCheck", "/usr/share/applications/.*\.desktop$")
|
|
+ self, "MenuXDGCheck", "(?:/usr/share|/etc/opt/.*/share|/opt/.*)/applications/.*\.desktop$")
|
|
|
|
def check_file(self, pkg, filename):
|
|
f = pkg.dirName() + filename
|