Re: User define function in rpm .spec file ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 18, 2005 at 12:54:48PM +0800, Adrian Mak wrote:

> I found that there are something like user define function in .spec file.
> For example the MySQL source rpm, there has
>
> ...
> 
> am i right ?

Not really, but...

The %prep, %build, %install etc. sections of a spec file are each
shell scripts, so defining functions is not a feature of rpm or so,
but it is just something that you can do, as it is valid shell code.

-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux