On Wed, Oct 19, 2016 at 05:08:15PM +0200, Alexander Larsson wrote:
I actually had had a copr setup with a custom redhat-rpm-config that automatically built things in a different prefix. Most things built just fine with zero specfile changes.
Well, that's encouraging, at least. It still means some degree of doing everything twice, but at least it's mostly computers doing it. :)
Just don't look at the macros, or you'll go blind! :)
Ha. I've looked at the regular redhat-rpm-config macros so I'm partially-innoculated. But generally, doing... creative... things there is better than putting more complication in each spec file.