I met this problem when trying to package yacreader:

yacreader- directories not owned by a package:
- /usr/share/doc
- /usr/share/man
- /usr/share/man/man1

However, when I add those directories in %files section of my spec, I get the following error:

standard-dir-owned-by-package: /usr/share/man, /usr/share/man/man1, /usr/share/doc

Here is my spec file: https://pastebin.com/F1pUQJxz
How do I package the files in /usr/share/man/man1 without owning the directory?