aboutsummaryrefslogtreecommitdiff
path: root/sbopkglint.d
diff options
context:
space:
mode:
Diffstat (limited to 'sbopkglint.d')
-rw-r--r--sbopkglint.d/05-basic-sanity.t.sh4
-rw-r--r--sbopkglint.d/95-pkgconfig.t.sh5
2 files changed, 8 insertions, 1 deletions
diff --git a/sbopkglint.d/05-basic-sanity.t.sh b/sbopkglint.d/05-basic-sanity.t.sh
index 50c5c10..b0afb94 100644
--- a/sbopkglint.d/05-basic-sanity.t.sh
+++ b/sbopkglint.d/05-basic-sanity.t.sh
@@ -38,7 +38,9 @@ bindirs="bin usr/bin sbin usr/sbin usr/games"
# and must be mode 0755, root:root. I thought usr/share/pixmaps
# belonged here, but quite a few packages create subdirs there for
# images required at runtime that aren't the app icon.
-fileonlydirs="$bindirs usr/man/man1 usr/man/man2 usr/man/man3 usr/man/man4 usr/man/man5 usr/man/man6 usr/man/man7 usr/man/man8 usr/man/man9 usr/man/manl usr/man/mann usr/lib/pkgconfig usr/lib64/pkgconfig usr/share/pkgconfig"
+# 20260919 bkw: usr/share/pkgconfig removed from this list, because
+# pkgconf uses usr/share/pkgconfig/personality.d/
+fileonlydirs="$bindirs usr/man/man1 usr/man/man2 usr/man/man3 usr/man/man4 usr/man/man5 usr/man/man6 usr/man/man7 usr/man/man8 usr/man/man9 usr/man/manl usr/man/mann usr/lib/pkgconfig usr/lib64/pkgconfig"
# these directories may exist, but must contain only subdirectories
# (no files, symlinks, devices, etc). "." (the top-level package dir)
diff --git a/sbopkglint.d/95-pkgconfig.t.sh b/sbopkglint.d/95-pkgconfig.t.sh
index cd77889..ed6a9bc 100644
--- a/sbopkglint.d/95-pkgconfig.t.sh
+++ b/sbopkglint.d/95-pkgconfig.t.sh
@@ -73,6 +73,11 @@ check_pc_file() {
## echo "===> checking $file"
+ if [ "$( basename $file )" = "personality.d" -a -d "$file" ]; then
+ # 20260919 bkw: pkgconf uses this
+ return
+ fi
+
if [ ! -f "$file" ]; then
warn "$file is not a regular file:"
ls -ld "$file"