--- a/libopenobex.spec	2026-03-06 02:25:09.274672185 +0300
+++ b/libopenobex.spec	2026-03-06 02:25:09.278672187 +0300
@@ -50,6 +50,10 @@
 %doc %_pkgdocdir/AUTHORS
 %doc %_pkgdocdir/ChangeLog
 %doc %_pkgdocdir/README
+# 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/libopenobex-%version 
 
 %files devel
 %_includedir/*
--- a/make-figure.spec	2026-03-06 02:25:09.761672467 +0300
+++ b/make-figure.spec	2026-03-06 02:25:09.766672470 +0300
@@ -65,6 +65,10 @@
 %_docdir/%name-%version/examples/gates.adapt.ht.png
 %_docdir/%name-%version/examples/definitions.tex
 %_docdir/%name-%version/examples/main-test.tex
+# 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/make-figure-%version 
 
 %files plot
 %_bindir/make-plot
--- a/pam_pkcs11.spec	2026-03-06 02:25:12.042673786 +0300
+++ b/pam_pkcs11.spec	2026-03-06 02:25:12.050673791 +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
--- a/rapidjson.spec	2026-03-06 02:25:14.438675173 +0300
+++ b/rapidjson.spec	2026-03-06 02:25:14.444675176 +0300
@@ -147,5 +147,9 @@
 %if_with docs
 %doc %_docdir/%name-doc-%version/html
 %endif # docs
+# 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/rapidjson-doc-%version 
 
 %changelog
