On 05/09/11 22:52, Rüdiger Meier wrote:
On Monday 05 September 2011, Tejas Guruswamy wrote:
On 05/09/11 21:20, Rüdiger Meier wrote:
On Monday 05 September 2011, Tejas Guruswamy wrote:
On 05/09/11 11:16, Ruediger Meier wrote:
It works on modern distros (last few versions of openSUSE, Fedora, Mandriva), AFAIR it didn't worked on all non-suse distros. Could it be that I have to do a bit more than just enabling Fedora build to get a Fedora conform build environment? Oh sorry, I didn't notice you wrote %makeinstall instead of %make_install.
%makeinstall (which was SuSE-only) is deprecated since 11.1 or so in favour of %make_install (which is upstreamed, works on Fedora also), and is what I meant to talk about Thanks a lot! It still doesn't work for a lot distros but now I'm going to use %make_install always if it's defined, which should be very portable:
%install %if %{?make_install:1} %{make_install} %else make install DESTDIR=%{?buildroot} %endif
You can compress this to %{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}} or even %{?make_install} %{!?make_install:%makeinstall} Regards, Tejas -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org