Score! That's precisely what I wanted. Thank you. For the uninitiated, what is the difference between --scripts and --triggers? Andrew -----Original Message----- From: rpm-list-bounces@xxxxxxxxxx [mailto:rpm-list-bounces@xxxxxxxxxx] On Behalf Of dadembro@xxxxxxxxxxxxxxxxxxx Sent: November 21, 2005 8:28 AM To: rpm-list@xxxxxxxxxx Subject: Re: How to get spec file from rpm Wouldn't rpm -qp myrpmpackage --scripts do what you want done? shekhar vaggu <vaggushekhar@gma il.com> To Sent by: RPM Package Manager rpm-list-bounces@ <rpm-list@xxxxxxxxxx> redhat.com cc Subject 11/21/2005 04:51 How to get spec file from rpm AM Please respond to RPM Package Manager <rpm-list@redhat. com> Hi All, May be this is not a valid question to ask after all being done in RPM,but I am curious to know that is there any way by which we can directly extract the spec file from binary rpm file . I know this can be achieved once we install the rpm t.i.e; o get the scripts we can issue rpm -q myfile --scripts command but wanted to know the first way to get the complete spec file from RPM. Thanks, Shekhar. _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list