On Sun, Apr 4, 2010 at 6:59 AM, Tronn Wærdahl <tronnw at gmail.com> wrote: > Hi > > I have a .rpm file, in the file there is some commands in the %post section, > how can I query the rpm file so it display the commands in %post section. Try: rpm -q --scripts package_name