2010-10-14 14:32:03 +02:00
|
|
|
Index: Filter.py
|
|
|
|
===================================================================
|
|
|
|
--- Filter.py.orig
|
2010-04-01 16:20:38 +02:00
|
|
|
+++ Filter.py
|
2013-02-26 12:08:19 +01:00
|
|
|
@@ -112,7 +112,7 @@ def printAllReasons():
|
2010-04-01 16:20:38 +02:00
|
|
|
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()
|
2011-04-21 12:12:02 +02:00
|
|
|
Index: rpmlint
|
2010-10-14 14:32:03 +02:00
|
|
|
===================================================================
|
2011-04-21 12:12:02 +02:00
|
|
|
--- rpmlint.orig
|
|
|
|
+++ rpmlint
|
2013-02-26 12:08:19 +01:00
|
|
|
@@ -212,7 +212,7 @@ def main():
|
2008-06-25 19:08:32 +02:00
|
|
|
% (packages_checked, specfiles_checked,
|
|
|
|
printed_messages["E"], printed_messages["W"])
|
|
|
|
|
2010-01-27 18:18:50 +01:00
|
|
|
- if printed_messages["E"] > 0:
|
|
|
|
+ if badnessThreshold() < 0 and printed_messages["E"] > 0:
|
2008-06-25 19:08:32 +02:00
|
|
|
sys.exit(64)
|
2009-08-28 22:12:54 +02:00
|
|
|
sys.exit(0)
|
2009-09-16 18:41:21 +02:00
|
|
|
|