There is a clue in the “Limitations related to shadow builds” paragraph of sfdk’s built-in help, that the
build and install procedure must be fully realized using qmake (or CMake or GNU Automake) with no additional steps implemented at RPM SPEC file level.
I.e., handle installation of LICENSE.txt
in qmake .pro
files and omit use of the %license
macro in the RPM .spec
file.