After packaging, remove staging and build directories used by rpmbuild.
Use Pathname to generate relative paths of config files.