rpmspec: add release string to kernel doc directory name
https://fedoraproject.org//wiki/Changes/UnversionedDocdirs says: Packages for which multiple versions are intended to be installed need to be changed to install their docs into appropriately versioned subdirs.
kernel docs are currently installed to /usr/share/doc/kernel-doc-$VERSION (for example: /usr/share/doc/kernel-doc-5.14.0), which prevents user from having kernel docs installed for multiple releases if they happen to share same $VERSION. This is more visible in downstream releases, where $VERSION is same for entire lifetime of stream.
This patch adds $RELEASE to kernel doc directory name to allow installing multiple versions in parallel.
Signed-off-by: Jan Stancek jstancek@redhat.com
Edited by Jan Stancek