On Tue, Jun 23, 2009 at 10:59:35AM +0800, John Morris <[email protected]> wrote:
> I've modified Dag Wieers' swftools RPM for 0.9.0. In order for it
> to be packaged correctly, it needs to be installed into a
> buildroot rather than its final destination in the root fs. This
> patch adds a ${DESTDIR} variable to the Makefiles so that the RPM
> %install section can run make install as such:
>
> %{__make} install DESTDIR="%{buildroot}"
Thanks for the patch, but:
Isn't it already possible to achieve this using
something like
%{__make} install prefix="%{buildroot}/usr/local"
?
Matthias