1 2 3 4 5 6
#! /bin/sh mkdir /usr/tmp/rpms export RPM_BUILD_ROOT=/usr/tmp/rpms mv krusader*.tar.gz /usr/src/RPM/SOURCES rpmbuild -ba krusader.spec