SHA256
1
0
forked from pool/rpmlint
rpmlint/suse-ignore-specfile-errors.diff

15 lines
482 B
Diff

--- SpecCheck.py
+++ SpecCheck.py
@@ -524,9 +524,8 @@
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