RE : RE : %clean section not processed

<[email protected]>
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <8F97125A217C9A4E919BA0B9121C2479A8173F@PUEXCBC0.nanterre.francetelecom.fr>
And what about the find_requires script used by the __find_requires macro ?

-----Message d'origine-----
De : [email protected] [mailto:[email protected]] De la part de Jos Vos
Envoyé : jeudi 17 janvier 2008 13:40
À : RPM Package Manager
Objet : Re: RE : %clean section not processed

On Thu, Jan 17, 2008 at 10:47:56AM +0100, [email protected] wrote:

> In fact, I'm using the %{buildroot}.tmp as a temporary working directory
> to store especially my own find_requires script (including "%{__cat}
> >/dev/null") and a env.sh shell script, used to pass some environment
> variables between the building scriptlets. So my %clean section removes
> both %{buildroot} and %{buildroot}.tmp directories.

In your case you can just do "rm -rf %{buildroot}.tmp" at the end of
%install, isn't it?

-- 
--    Jos Vos <[email protected]>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

_______________________________________________
Rpm-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rpm-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.