1. 默认的目录结构
[/usr/src/redhat]$ ll
total 20
drwxr-xr-x 2 root root 4096 Mar 7 2007 SRPMS/
drwxr-xr-x 8 root root 4096 Mar 7 2007 RPMS/
drwxr-xr-x 2 root root 4096 Mar 7 2007 BUILD/
drwxr-xr-x 2 root root 4096 Mar 19 2009 SPECS/
drwxr-xr-x 2 root root 4096 Mar 19 2009 SOURCES/
2. Spec 文件
注释使用#开头
3. 默认的宏文件
/usr/lib/rpm/macros