1 |
commit: 240bcc0be5412ff36dc338af3c34717b96a9a4e4 |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 28 08:53:03 2021 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 28 08:56:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=240bcc0b |
7 |
|
8 |
metadata/install-qa-check.d: add "QA Notice:" string to some checks |
9 |
|
10 |
Bug: https://bugs.gentoo.org/728046 |
11 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
12 |
|
13 |
metadata/install-qa-check.d/60appdata-path | 5 ++--- |
14 |
metadata/install-qa-check.d/60libcrypt-deps | 2 +- |
15 |
2 files changed, 3 insertions(+), 4 deletions(-) |
16 |
|
17 |
diff --git a/metadata/install-qa-check.d/60appdata-path b/metadata/install-qa-check.d/60appdata-path |
18 |
index 578137a3e9e..a2403083a49 100644 |
19 |
--- a/metadata/install-qa-check.d/60appdata-path |
20 |
+++ b/metadata/install-qa-check.d/60appdata-path |
21 |
@@ -1,4 +1,4 @@ |
22 |
-# Copyright 2020 Gentoo Authors |
23 |
+# Copyright 2021 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
# QA check: ensure that metadata files are installed in /usr/share/metainfo |
27 |
@@ -13,8 +13,7 @@ appdata_path_check() { |
28 |
done < <(find "${ED%/}/usr/share/appdata" -name '*.xml' -print0 || die) |
29 |
|
30 |
if [[ ${found[@]} ]]; then |
31 |
- eqawarn |
32 |
- eqawarn "This package seems to install metainfo files into the following" |
33 |
+ eqawarn "QA Notice: This package seems to install metainfo files into the following" |
34 |
eqawarn "location(s):" |
35 |
eqawarn |
36 |
eqatag -v appdata.invalid-path "${found[@]#${D%/}}" |
37 |
|
38 |
diff --git a/metadata/install-qa-check.d/60libcrypt-deps b/metadata/install-qa-check.d/60libcrypt-deps |
39 |
index 3ea1b5372ce..26120f7cb8e 100644 |
40 |
--- a/metadata/install-qa-check.d/60libcrypt-deps |
41 |
+++ b/metadata/install-qa-check.d/60libcrypt-deps |
42 |
@@ -28,7 +28,7 @@ libcrypt_check() { |
43 |
-print0 | xargs -0 scanelf -qyRF '%F %n' | grep 'libcrypt\.so' 2>/dev/null ) |
44 |
|
45 |
if [[ -n ${libcrypt_consumers[@]} ]]; then |
46 |
- eqawarn "Binary files linked to libcrypt.so found" |
47 |
+ eqawarn "QA Notice: Binary files linked to libcrypt.so found" |
48 |
eqawarn "But a dependency on virtual/libcrypt is not declared!" |
49 |
eqawarn |
50 |
eqatag -v virtual-libcrypt.missing "${libcrypt_consumers[@]%% *}" |