> 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