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

2015-10-12 Thread Susi Lehtola
On 10/10/2015 01:25 PM, Neal Gompa wrote: Hello all, Over the last few weeks, I've been working on a number of packages that use CMake for the build system for various distros, and I've noticed something rather peculiar. Of all the distros I've built packages for (Fedora/CentOS, openSUSE,

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

2015-10-11 Thread Ville Skyttä
On Sun, Oct 11, 2015 at 5:42 AM, Orion Poplawski wrote: > FWIW - you can pass -m to rpmdev-newspec to get %{buildroot}. That probably > should be the default, but... ...https://bugzilla.redhat.com/show_bug.cgi?id=1256815#c3 You can make it the default with

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

2015-10-11 Thread Ville Skyttä
On Sun, Oct 11, 2015 at 5:03 AM, Neal Gompa wrote: > We don't use %make_build, https://git.fedorahosted.org/cgit/rpmdevtools.git/commit/?id=dcf1005d2cca7ce2a541718425f84d65fe8b8d00 -- devel mailing list devel@lists.fedoraproject.org

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

2015-10-11 Thread Kevin Kofler
Neal Gompa wrote: > Over the last few weeks, I've been working on a number of packages that > use CMake for the build system for various distros, and I've noticed > something rather peculiar. Of all the distros I've built packages for > (Fedora/CentOS, openSUSE, Mageia, Debian, and Ubuntu), only

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

2015-10-10 Thread Neal Gompa
Hello all, Over the last few weeks, I've been working on a number of packages that use CMake for the build system for various distros, and I've noticed something rather peculiar. Of all the distros I've built packages for (Fedora/CentOS, openSUSE, Mageia, Debian, and Ubuntu), only Fedora/CentOS

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

2015-10-10 Thread Haïkel
2015-10-10 22:25 GMT+02:00 Neal Gompa : > Hello all, > > Over the last few weeks, I've been working on a number of packages that use > CMake for the build system for various distros, and I've noticed something > rather peculiar. Of all the distros I've built packages for

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

2015-10-10 Thread Haïkel
2015-10-11 2:14 GMT+02:00 Neal Gompa : > > I pretty much wound up doing that, but I wanted to know if there was a > reason for not having it built into the macro like Mageia and SUSE do. > > Fedora's %cmake macros came first many years ago before Suse's version. Again: 1. it

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

2015-10-10 Thread Neal Gompa
On Sat, Oct 10, 2015 at 7:52 PM, Orion Poplawski wrote: > On 10/10/2015 02:25 PM, Neal Gompa wrote: > >> Hello all, >> >> Over the last few weeks, I've been working on a number of packages that >> use CMake for the build system for various distros, and I've noticed >>

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

2015-10-10 Thread Neal Gompa
On Sat, Oct 10, 2015 at 9:31 PM, Haïkel wrote: > 2015-10-11 2:14 GMT+02:00 Neal Gompa : > > > > I pretty much wound up doing that, but I wanted to know if there was a > > reason for not having it built into the macro like Mageia and SUSE do. > > > >

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

2015-10-10 Thread Orion Poplawski
On 10/10/2015 02:25 PM, Neal Gompa wrote: Hello all, Over the last few weeks, I've been working on a number of packages that use CMake for the build system for various distros, and I've noticed something rather peculiar. Of all the distros I've built packages for (Fedora/CentOS, openSUSE,

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

2015-10-10 Thread Neal Gompa
On Sat, Oct 10, 2015 at 4:49 PM, Haïkel wrote: > 2015-10-10 22:25 GMT+02:00 Neal Gompa : > > Hello all, > > > > Over the last few weeks, I've been working on a number of packages that > use > > CMake for the build system for various distros, and