]> git.pld-linux.org Git - packages/rpmlint.git/blobdiff - libc-warnings.patch
- fix running all tests
[packages/rpmlint.git] / libc-warnings.patch
diff --git a/libc-warnings.patch b/libc-warnings.patch
new file mode 100644 (file)
index 0000000..2bb3fc8
--- /dev/null
@@ -0,0 +1,17 @@
+diff -up rpmlint-rpmlint-1.11/BinariesCheck.py.libcwarn rpmlint-rpmlint-1.11/BinariesCheck.py
+--- rpmlint-rpmlint-1.11/BinariesCheck.py.libcwarn     2020-06-16 10:51:01.531299081 -0400
++++ rpmlint-rpmlint-1.11/BinariesCheck.py      2020-06-16 10:51:18.978910827 -0400
+@@ -557,11 +557,9 @@ class BinariesCheck(AbstractCheck.Abstra
+                     if not found_libc:
+                         if is_shobj:
+-                            printError(pkg, 'library-not-linked-against-libc',
+-                                       fname)
++                            printWarning(pkg, 'library-not-linked-against-libc', fname)
+                         else:
+-                            printError(pkg, 'program-not-linked-against-libc',
+-                                       fname)
++                            printWarning(pkg, 'program-not-linked-against-libc', fname)
+             if bin_info.stack:
+                 if bin_info.exec_stack:
This page took 0.059411 seconds and 4 git commands to generate.