Populating the BuildRequires field in a CPack Source RPM
I am trying to use CPack to generate a source RPM that I can then rebuild using Mock (https://github.com/rpm-software-management/mock/wiki). My issue is that in order to use Mock, I need to list out all of the build-time dependencies in the BuildRequires field in the .spec file, but I don't see a way in CPack to populate this field. Is this possible at this time? I've been able to hack around it by appending a new line and the field name/value to another one of the RPM attributes, but that isn't a great solution.