SHA256
1
0
forked from pool/rpmlint
rpmlint/old-rpm-compat.diff

17 lines
521 B
Diff

--- DocFilesCheck.py
+++ DocFilesCheck.py
@@ -60,8 +60,11 @@
name = dep.N()
flags = dep.Flags()
# skip deps which were found by find-requires
- if flags & rpm.RPMSENSE_FIND_REQUIRES != 0:
- continue
+ try:
+ if flags & rpm.RPMSENSE_FIND_REQUIRES != 0:
+ continue
+ except:
+ pass
core_reqs[name] = []
# register things which are provided by the package