Re: How to get spec file from rpm

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

 




--- shekhar vaggu <vaggushekhar@xxxxxxxxx> wrote:

> 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.
Rpm spec has two logical part - one part described
source files, patches and build process.
Second part described where files will be installed,
wich permissions, owner, group, pre/post/ install
uninstall scripts, triggers, etc.

Information about first part can't be extarcted from
binary rpm. Information about first part can be
extracted with 
set of different queries, or more simple with
rpmrebuild
(http://rpmrebuild.sourceforge.net)

Valery

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



		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

_______________________________________________
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