PDA

View Full Version : What does


ole_ersoy
5th May 2011, 05:26 AM
Hi,

I'm attempting to read through a spec file with the following in it:

Requires(post): chkconfig
Requires(postun): chkconfig
Requires(preun): chkconfig

I know what "Requires" does in general (Require the package), but what do the "(post)" and (preun) parts do? Is there any documentation on these constructs?

TIA,
- Ole

sonoran
5th May 2011, 11:36 PM
Everything you always wanted to know about RPM, and more: http://www.rpm.org/max-rpm-snapshot/

Fedora Wiki: http://fedoraproject.org/wiki/Packaging:ScriptletSnippets

ole_ersoy
6th May 2011, 04:16 AM

Awesome - That was very helpful - Thank you. I found the information in the Dependencies section under "Context Marked Dependencies".

Cheers,
- Ole