On Wednesday 15 August 2007 00:24:58 Hale Boyes, Kevin wrote: > Andy Green wrote: > > Somebody in the thread at some point said: > >> Given an RPM, is there a way to get the spec file that was used to > >> build it? > > > > There's a copy of the .spec file in the SRPM, not in the binary RPM. > > I can see the file when I query the SRPM but > how do I extract the .spec file from the SRPM? You can use MC "Midnight Commander" to view/edit/copy files from a SRPM, just open/view it with MC. Check the contents of CONTENTS.cpio, then save the spec file. HTH Colin -- Fedora 7 ("Moonshine") Registered Linux user number #342953 -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list