rpmbuild: set "rpm_dir" as environment variable.