Query: %cmake not doing out-of-tree builds?

Orion Poplawski orion at cora.nwra.com
Sun Oct 11 02:42:13 UTC 2015

On 10/10/2015 08:03 PM, Neal Gompa wrote:
> On Sat, Oct 10, 2015 at 9:31 PM, Haïkel <hguemar at fedoraproject.org
> <mailto:hguemar at fedoraproject.org>>wrote:
>     If you want my opinion, implementing a cmake template in rpmdev-tools
>     with out-of-tree build support would be a better alternative.
> ​Actually, I think all our rpmdevtools templates need some work.

> It would be good if we had templates that put things in place and
> implemented the best practices we use today by default. Currently,
> rpmdevtools seems to be stuck in RPM 4.8 or something like that in terms
> of defaults. We don't use %make_build, %{buildroot} is not the default,
> we don't generate Python specs in compliance with our own guidelines,
> and we don't have templates for CMake, Gradle, PHP (composer), among
> many others.

FWIW - you can pass -m to rpmdev-newspec to get %{buildroot}.  That 
probably should be the default, but...

Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com

More information about the devel mailing list