forked from pool/rpmlint
eaf5a8d432
Copy from Base:System/rpmlint based on submit request 20532 from user dirkmueller OBS-URL: https://build.opensuse.org/request/show/20532 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=46
14 lines
421 B
Diff
14 lines
421 B
Diff
Index: SpecCheck.py
|
|
===================================================================
|
|
--- SpecCheck.py.orig
|
|
+++ SpecCheck.py
|
|
@@ -112,7 +112,7 @@ def deptokens(line):
|
|
elif wantmore:
|
|
tmp += ' ' + tok
|
|
wantmore = False
|
|
- elif tok[0] in ('=', '<', '>'):
|
|
+ elif len(tok) and tok[0] in ('=', '<', '>'):
|
|
tmp += ' ' + tok
|
|
wantmore = True
|
|
else:
|