how to get a specfile from an RPM

Mikkel L. Ellertson mikkel at infinity-ltd.com
Wed Aug 15 15:28:14 UTC 2007


Aaron Konstam wrote:
> Place the SRPM in /usr/sr/redhat/SRPMS
> Then run : rpm -i <src rpm>
> The spec file will show up in: /usr/src/redhat/SPECS
> 
This will only work if you run it as root. And the SRPM can be in
any directory. If you have set up your normal user to build RPMs,
then running it as a normal user will install the files in the
$HOME/rpmbuild directory tree.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20070815/a30a0e57/attachment-0002.bin 


More information about the users mailing list