SHA256
1
0
forked from pool/rpmlint
Dirk Mueller 2018-01-23 11:16:55 +00:00 committed by Git OBS Bridge
parent f56c6d624f
commit f6b9684380

View File

@ -37,7 +37,7 @@ index 9995255..66912ea 100644
class MenuXDGCheck(AbstractCheck.AbstractFilesCheck):
@@ -25,7 +25,52 @@ class MenuXDGCheck(AbstractCheck.AbstractFilesCheck):
@@ -25,7 +25,52 @@ def __init__(self):
# $ echo $XDG_DATA_DIRS/applications
# /var/lib/menu-xdg:/usr/share
AbstractCheck.AbstractFilesCheck.__init__(
@ -91,7 +91,7 @@ index 9995255..66912ea 100644
def check_file(self, pkg, filename):
root = pkg.dirName()
@@ -43,25 +88,7 @@ class MenuXDGCheck(AbstractCheck.AbstractFilesCheck):
@@ -43,25 +88,7 @@ def check_file(self, pkg, filename):
if not is_utf8(f):
printError(pkg, 'non-utf8-desktopfile', filename)
@ -118,7 +118,7 @@ index 9995255..66912ea 100644
check = MenuXDGCheck()
@@ -76,4 +103,15 @@ addDetails(
@@ -76,4 +103,15 @@ def check_file(self, pkg, filename):
'desktopfile-without-binary',
'''the .desktop file is for a file not present in the package. You
should check the requires or see if this is not a error''',