RPM Community Forums

Mailing List Message of <rpm-devel>

Re: %clean replace ??

From: Mark Hatle <mark.hatle@windriver.com>
Date: Mon 11 Jun 2007 - 16:44:24 CEST
Message-ID: <466D5FC8.1060109@windriver.com>
Olivier Thauvin wrote:
> Also, instead performing this rm during %install, why not simply run %clean 
> instead before when at %install step (aka %install call %clean).
> 
> WDYT ?

Just an fyi, for some various reasons, we occasionally need the %install
section to NOT clean the buildroot.. This is because we're only use the
spec file to handle a few minor issues (like the automatic debuginfo
generation), while other components of our build environment are
compiling and copying the files into the buildroot.

--Mark
Received on Mon Jun 11 16:44:27 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.