Loading...

rpm-list@redhat.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

RE : RE : %clean section not processed patrice.elasri Wed Apr 23 00:00:56 2008

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

_______________________________________________
Rpm-list mailing list
[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/rpm-list