[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: trying to "echo" vars from the spec file
- From: Jos Vos <jos xos nl>
- To: bedouglas earthlink net, RPM Package Manager <rpm-list redhat com>
- Cc:
- Subject: Re: trying to "echo" vars from the spec file
- Date: Tue, 21 Mar 2006 23:30:00 +0100
On Tue, Mar 21, 2006 at 02:27:22PM -0800, bruce wrote:
> I'm playing around with a Sepc file, and I'm trying to display/echo some
> vars as the script is being run. However, I'm getting an "unkown tag" error
> msg, regardless of what I use.
Concrete example (with context)?
> I've tried to "echo 'foo'", %echo "foo", %(echo "foo"), etc... with no luck.
Some of these are wrong, some should should in *some* parts of the
spec file.
> I'm trying to examine various vars in different areas of the script.. Is
> there a way to do this? Can I do this anywhere in the script...
Not anywhere. %prep/%build/%install/%clean sections are (shell)
scripts that can execute things, you can also do something like
%define bar %(echo foo)
which sets %bar to "foo" (useless echo, of course, in this case).
> I'm really trying to change the directory where the "prep" appears to be
> trying to find my .z.bz2 file...
Sounds like you should not want this: sources should be in SOURCES.
--
-- Jos Vos <jos xos nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]