'This sets up the template directory.'

def CopyFiles(self):

    build_dir = config.CONFIG.Get('PyInstaller.dpkg_root', context=self.context)
    shutil.move(os.path.join(build_dir, 'debian'), os.path.join(build_dir, 'rpmbuild'))
    shutil.copy(config_lib.Resource().Filter('install_data/centos/grr.spec.in'), os.path.join(build_dir, 'rpmbuild/grr.spec.in'))
    shutil.copy(config_lib.Resource().Filter('install_data/centos/grr-client.initd.in'), os.path.join(build_dir, 'rpmbuild/grr-client.initd.in'))
    shutil.copy(config_lib.Resource().Filter('install_data/systemd/client/grr-client.service'), os.path.join(build_dir, 'rpmbuild/grr-client.service.in'))
