Hello. Tested on: Fedora 41
$ gpg --version | grep ^libgcrypt libgcrypt 1.11.0-unknown
Assuming unknown is referring to tag epoch.
However the related value can be retrieved when queried properly; here is one of the possible demonstrations:
$ dnf5 rq --installed --qf '%{version}-%{epoch}' libgcrypt 1.11.0-0