forked from pool/rpmlint
Dirk Mueller
b0b29cefb3
* 0001-Python-3-compatibility-tweaks.patch - Change openstack- related users to non-prefixed variants, as they get renamed with the switch to Icehouse OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=244
27 lines
852 B
Diff
27 lines
852 B
Diff
Index: Filter.py
|
|
===================================================================
|
|
--- Filter.py.orig
|
|
+++ Filter.py
|
|
@@ -113,7 +113,7 @@ def printAllReasons():
|
|
if len(last_reason):
|
|
printDescriptions(last_reason)
|
|
last_reason = reason
|
|
- __print(diag)
|
|
+ __print(diag[:-1])
|
|
if Config.info and len(last_reason):
|
|
printDescriptions(last_reason)
|
|
_diagnostic = list()
|
|
Index: rpmlint
|
|
===================================================================
|
|
--- rpmlint.orig
|
|
+++ rpmlint
|
|
@@ -214,7 +214,7 @@ def main():
|
|
% (packages_checked, specfiles_checked,
|
|
printed_messages["E"], printed_messages["W"]))
|
|
|
|
- if printed_messages["E"] > 0:
|
|
+ if badnessThreshold() < 0 and printed_messages["E"] > 0:
|
|
sys.exit(64)
|
|
sys.exit(0)
|
|
|