LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 641|回复: 2

请教源代码阅读问题

[复制链接]
发表于 2006-6-16 09:12:00 | 显示全部楼层 |阅读模式
我找到Rpm-get-1.5.1.src.rpm 释放以后到usr/src/redhat/xxxxxx目录 为什么看不到.c的代码,file.src.rpm的不是源代码的包吗,我看到一篇文章讲解是解压缩安装编译以后就直接用了,奇怪,我想看到里面的代码由该怎么办的??

菜鸟问题 请多多关照!
发表于 2006-6-16 12:46:17 | 显示全部楼层
There are several sub dirs under there such as BULID, SOURCE, RPM, SRPM, SPEC. When you have your src.rpm installed, the contents go to SPEC for the spec file and SOURCE for the tar.gz and patch files. When you build the binary rpm, source files will extracted to BUILD dir to be built, under there you will see all the source code.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-16 17:38:38 | 显示全部楼层
I've got  the source code from CVS already,thank you all the same!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表