Hello everyone, sorry for this O/T post, but I know there are many people on this list who may be able to help me. I'd like to know if there is a way to query an already installed rpm to view the spec file that was used to build it. (Sort of like the way you can view the changelog, uusing the --changelog switch) At the moment, I am thinking that this is not possible. Please confirm if this is the case, or how I could do it. Unfortunately the RPM in question is a bit older and I can not find a src.rpm on the net anywhere. TIA, Kev
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 24 Sep 2003, Kevin Worthington wrote:
Hello everyone, sorry for this O/T post, but I know there are many people on this list who may be able to help me. I'd like to know if there is a way to query an already installed rpm to view the spec file that was used to build it. (Sort of like the way you can view the changelog, uusing the --changelog switch) At the moment, I am thinking that this is not possible. Please confirm if this is the case, or how I could do it. Unfortunately the RPM in question is a bit older and I can not find a src.rpm on the net anywhere.
Im am not aware of such a possibility. It may be possible with the new RPMv4, but it's unfortunately still very badly documented :(
I sincerely hope that www.rpm.org will receive some more momentum along with this Fedora project, too.
Bye, LenZ - -- Lenz Grimmer lenz@mysql.com Senior Production Engineer MySQL GmbH, http://www.mysql.de/ Hamburg, Germany
For technical support contracts, visit https://order.mysql.com/?ref=mlgr
On Wed, Sep 24, 2003 at 06:54:36AM -0500, Kevin Worthington wrote:
Hello everyone, sorry for this O/T post, but I know there are many people on this list who may be able to help me. I'd like to know if there is a way to query an already installed rpm to view the spec file that was used to build it. (Sort of like the way you can view the changelog, uusing the --changelog switch)
The spec file, like the sources and patches, is in the src.rpm and is not available in the binary rpm and/or the installed rpm DB, except for some info fields, as you already said yourself.