Re: I have gone and done a silly thing (deleted my spec file)

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

 




--- Jason Pyeron <jpyeron@xxxxxxxx> wrote:

> 
> 
> Is there a way to extract a spec file from a binary
> rpm?
> 
> rpm -qpi rpmfile.rpm 
> rpm -qp --scripts rpmfile.rpm
> 
> 
> has given me most of the info, but not all.
spec file isn't saved in binary rpm, so you can't get 
%build, %install or clean parts of the spec.

You can try rpmrebuild
http://rpmrebuild.sourceforge.net/
It able regenerate spec file from the bin rpm,

Valery
> 
> 
> -- 
>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> -                                                   
>            -
> - Jason Pyeron                      PD Inc.
> http://www.pdinc.us -
> - Partner & Sr. Manager             7 West 24th
> Street #100     -
> - +1 (443) 921-0381                 Baltimore,
> Maryland 21218   -
> -                                                   
>            -
>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 
> This message is for the designated recipient only
> and may contain 
> privileged, proprietary, or otherwise private
> information. If you 
> have received it in error, purge the message from
> your system and 
> notify the sender immediately.  Any other use of the
> email by you 
> is prohibited.
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[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