code: def CopyFiles(self):
      
  
      shutil.move(
          os.path.join(self.package_dir, "debian"),
          os.path.join(self.package_dir, "rpmbuild"))
      if self.fleetspeak_enabled:
        rpm_spec_filename = "fleetspeak.grr.spec.in"
      else:
        rpm_spec_filename = "grr.spec.in"
        shutil.copy(
            config_lib.Resource().Filter(
                "install_data/centos/grr-client.initd.in"),
            os.path.join(self.package_dir, "rpmbuild/grr-client.initd.in"))
        shutil.copy(
            config_lib.Resource().Filter(
                "install_data/systemd/client/grr-client.service"),
            os.path.join(self.package_dir, "rpmbuild/grr-client.service.in"))
  
      shutil.copy(
          config_lib.Resource().Filter("install_data/centos/" +
                                       rpm_spec_filename),
          os.path.join(self.package_dir, "rpmbuild/grr.spec.in"))
  
      # Copy prelink blacklist file. Without this file, prelink will mangle
      # the GRR binary.
      shutil.copy(
          config_lib.Resource().Filter(
              "install_data/centos/prelink_blacklist.conf.in"),
          os.path.join(self.package_dir, "rpmbuild/prelink_blacklist.conf.in"))
docs: This sets up the template directory.