On 2006-09-18 13:27:48 +0200, Marcus Rueckert wrote:
On 2006-09-15 15:09:55 -0300, James Oakley wrote:
%install %makeinstall
He was referring to the the rm command.
%install doesn't clean the buildroot, at least not on 10.2-alpha4:
afaik y2pmbuild/build do. and imho thats the better way to build anyway. less side effects.
The BuildRoot is deleted and created by rpmbuild _before_ anything in the %build and %install section will be executed: Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.63507 + umask 022 + cd /home/marcus/packages/BUILD + /bin/rm -rf /var/tmp/libast-0.7-build ++ dirname /var/tmp/libast-0.7-build + /bin/mkdir -p /var/tmp + /bin/mkdir /var/tmp/libast-0.7-build So the buildroot is "clean"
jfunk@maus:~> rpm --eval '%makeinstall' make DESTDIR= install
normally buildroot build be set here though.
The output is correct because the %{buildroot} variable isn't set. Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org