Discussion:
How to test RPM scriptlets
Michael Dengler
2007-06-20 19:41:59 UTC
Permalink
Hi,

I'm building a fairly complex RPM. Is there a way to test the various
sciptlets (%pre, %post, etc) without having to actually install the package?

Thanks

Mike
Stanley, Jon
2007-06-20 19:46:14 UTC
Permalink
All that they are is shell scripts. Without actually running them,
there's really no way to test them.

________________________________

From: rpm-list-***@redhat.com [mailto:rpm-list-***@redhat.com]
On Behalf Of Michael Dengler
Sent: Wednesday, June 20, 2007 3:42 PM
To: Rpm-***@redhat.com
Subject: How to test RPM scriptlets


Hi,

I'm building a fairly complex RPM. Is there a way to test the various
sciptlets (%pre, %post, etc) without having to actually install the
package?

Thanks

Mike

Loading...