Variable for version/release?

Jos Vos jos at xos.nl
Sat Oct 17 15:34:39 UTC 2009


On Sat, Oct 17, 2009 at 10:32:52AM -0500, Ignacio Valdes wrote:

> I would like to get the version/release number for use in %post bash.
> How does one obtain that and other introspection information in %post?

%{version} and %{release}

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


More information about the Rpm-list mailing list