|
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
NEVER
BUILD RPMs AS ROOT!!!
|
| • |
~/.rpmmacros
|
|
|
– |
%_topdir
/path/to/rpm/build/env
|
|
|
» |
I typically use
~/RPM
|
|
|
|
– |
Optional temp
directory
|
|
|
» |
%_tmppath
/path/to/tmp
|
|
| • |
Create
directories
|
|
|
– |
~/RPM/BUILD
|
|
|
– |
~/RPM/RPMS/<arch>
|
|
|
– |
~/RPM/RPMS/noarch
|
|
|
– |
~/RPM/SOURCES
|
|
|
– |
~/RPM/SPECS
|
|
|
– |
~/RPM/SRPMS
|
|
|
|