This package fails to build in mock if the minimal build group is reduced to
only the packages listed in the Exceptions section of the packaging guidelines.
build.log is attached.
The problem actually lies with some of the existing build requirements, which
should pull in pkgconfig but don't. An obvious example is libgpg-error-devel.
Once pkgconfig is added as a dep of libgpg-error-devel, gnupg2 builds
successfully. I'll therefore make this bug depend on the appropriate bug for
libgpg-error, and am raising this bug just so that nobody else wastes their time
figuring out why gnupg2 is included in the "doesn't build in mock" reports.
Created attachment 130524 [details]
Build log with minimal build environment
libgpg-error appears fixed now, closing.