Mailinglist Archive: opensuse-buildservice (233 mails)

< Previous Next >
Re: [opensuse-buildservice] %make_install in prjconfig

On Thursday 2013-11-07 23:56, Brian K. White wrote:

The current .spec from factory uses %{make_install}
OS versions before 11.2 do not have that macro.

I got it working by making this change to the .spec from the current version
1.8 in factory:

- %{?make_install}

+ %{?make_install} %{!?make_install:%%{__make} install DESTDIR=%{buildroot}}

You can see how horrible that looks. (And it won't be any
better if you stash it in a prjconf.) Just write

make install DESTDIR="%buildroot"

like suggested in all openSUSE (en) wiki entries that mention installation.
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >