def write_pkg_metadata
      render_template(resource_path("gen.manifestfile.erb"),
        destination: pkg_metadata_file,
        variables: {
          name: safe_base_package_name,
          fmri_package_name: fmri_package_name,
          description: project.description,
          summary: project.friendly_name,
          arch: safe_architecture,
        }
      )

      # Append the contents of symlinks_file if it exists
      if symlinks_file
        File.open(pkg_metadata_file, "a") do |symlink|
          symlink.write(render_symlinks)
        end
      end

      # Print the full contents of the rendered template file to generate package contents
      log.debug(log_key) { "Rendered Template:\n" + File.read(pkg_metadata_file) }
    end
def write_pkg_metadata
      render_template(resource_path("gen.manifestfile.erb"),
        destination: pkg_metadata_file,
        variables: {
          name: safe_base_package_name,
          fmri_package_name: fmri_package_name,
          description: project.description,
          summary: project.friendly_name,
          arch: safe_architecture,
        }
      )

      # Append the contents of symlinks_file if it exists
      if symlinks_file
        File.open(pkg_metadata_file, "a") do |symlink|
          symlink.write(render_symlinks)
        end
      end

      # Print the full contents of the rendered template file to generate package contents
      log.debug(log_key) { "Rendered Template:\n" + File.read(pkg_metadata_file) }
    end
Generate package metadata

 Create the gen template for `pkgmogrify`

 @return [void]