Re: Obtain information from a not installed RPM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 23 October 2004 04:10 pm, E SA wrote:
> All,
>
> I would like to be able to look at the full spec file
> from a vendor's RPM.
>
> I know that if I do:
>
> rpm -qp --scripts foo.1-1.rpm
>
> I can see part of it.
>
> How can I see %prep, %setup, %make and others?
>
> Beforehand, thank you for your help!
You can't, you need the srpm to get the spec file.

The spec file isn't packaged normally with the RPM. Something that might be of 
interest is to provide the spec file as a %doc when packaging.

-- 
Scot Mc Pherson
scot@xxxxxxxxxxxxxxxxxxxx
http://linuxfromscratch.org/~scot
http://beewiki.linuxfromscratch.org
AIM: ScotLFS ICQ: 342949 MSN:behomet@xxxxxxxxxxxxx

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux