File suse-ignore-specfile-errors.diff of Package rpmlint.1414
Index: SpecCheck.py
===================================================================
--- SpecCheck.py.orig
+++ SpecCheck.py
@@ -537,9 +537,8 @@ class SpecCheck(AbstractCheck.AbstractCh
printWarning(pkg, "patch-not-applied", "Patch%d:" % pnum,
pfile)
- # Rest of the checks require a real spec file
- if not self._spec_file:
- return
+ # Skip rest of the checks
+ return
# We'd like to parse the specfile only once using python bindings,
# but it seems errors from rpmlib get logged to stderr and we can't