Mailinglist Archive: opensuse-buildservice (132 mails)

< Previous Next >
Re: [opensuse-buildservice] Re: [opensuse-packaging] To %make_install or to %makeinstall (spec-cleaner)

Quoting Pascal Bleser <pascal.bleser@xxxxxxxxxxxx>:

On 2012-05-15 01:42:36 (+0200), Ruediger Meier <sweet_f_a@xxxxxx> 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

%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.

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >