From repocop@altlinux.org Thu Mar 12 02:29:16 MSK 2026
From: "Repocop Q. A. Robot" <repocop@altlinux.org>

Subject: repocop fix for docdir-is-not-owned

(message skipped)
--- a/pam_pkcs11.spec	2026-03-12 02:29:16.430173545 +0300
+++ b/pam_pkcs11.spec	2026-03-12 02:29:16.437173553 +0300
@@ -163,6 +163,10 @@
 %_man8dir/*.8*
 %_unitdir/*
 %_datadir/doc/%name-%version/*.example
+# The package does not own its own docdir subdirectory.
+# The line below is added by repocop to fix this bug in a straightforward way. 
+# Another way is to rewrite the spec to use relative doc paths.
+%dir %_docdir/pam_pkcs11-%version 
 
 %files pcsc
 %config(noreplace) %_sysconfdir/security/%name/card_eventmgr.conf
