Quoting Pascal Bleser
On 2012-05-15 01:42:36 (+0200), Ruediger Meier
wrote: [...]
I mean, the expansion shouldn't depend on the distro. It depends on the Makefile: either the Makefile has DESTDIR support, or it doesn't.
We need one macro that _always_ does DESTDIR, on every distro, and possibly one macro that always does it "the old way" (though it's probably better to patch DESTDIR support into the Makefile instead).
%define __makeinstall %__make install DESTDIR='%{buildroot}'
%make_install is an rpm upstream macro, doing the right thing.. just 'old distros' (or dists with outdated rpm) do not have this macro yet. OBS would make it rather simple to introduce the macro in the prjconf, BUT this results in packages that can not be build ooO (out of OBS). Still somewhat my preferred approach. Dominique -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org