On 10/10/2015 08:03 PM, Neal Gompa wrote:
On Sat, Oct 10, 2015 at 9:31 PM, Haïkel <hguemar@xxxxxxxxxxxxxxxxx <mailto:hguemar@xxxxxxxxxxxxxxxxx>>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.
Indeed.
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@xxxxxxxxxxxxx Boulder, CO 80301 http://www.cora.nwra.com -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct