forked from pool/rpmlint
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=561
This commit is contained in:
parent
f56c6d624f
commit
f6b9684380
@ -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''',
|
||||
|
Loading…
Reference in New Issue
Block a user