First page Back Continue Last page Summary Graphic
SPEC file: %install
Installs software, usually in temporary Build Root directory under /tmp or /var/tmp
- rm -rf $RPM_BUILD_ROOT
- mkdir -p $RPM_BUILD_ROOT
- make DESTDIR="$RPM_BUILD_ROOT" install
RPM sets several environment variables that can be used by scripts:
- $RPM_SOURCE_DIR, $RPM_BUILD_ROOT, etc.