Files
unkin-agent 6551ab9f13
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ship every cmd binary in the release
Take the binary list from cmd/ in the Makefile, the RPM packaging and the
release pipeline so a new tool ships without a pipeline edit.
2026-09-12 16:46:51 +10:00

48 lines
1.1 KiB
YAML

---
# nfpm config for the puppet-catalog-tools RPM.
# Rendered through envsubst (see scripts/build-rpm.sh) then fed to `nfpm pkg`.
name: ${PACKAGE_NAME}
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: ${PACKAGE_ARCH}
platform: ${PACKAGE_PLATFORM}
section: default
priority: extra
description: "${PACKAGE_DESCRIPTION}"
maintainer: ${PACKAGE_MAINTAINER}
homepage: ${PACKAGE_HOMEPAGE}
license: ${PACKAGE_LICENSE}
disable_globbing: false
replaces:
- puppet-catalog-tools
provides:
- puppet-catalog-tools
# Globs, so a new tool under cmd/ ships without editing this file.
contents:
- src: dist/bin/*
dst: /usr/bin
file_info:
mode: 0755
owner: root
group: root
# Shell completions (generated by scripts/build-rpm.sh before packaging,
# already named as they install).
- src: dist/completions/bash/*
dst: /usr/share/bash-completion/completions
file_info:
mode: 0644
- src: dist/completions/zsh/*
dst: /usr/share/zsh/site-functions
file_info:
mode: 0644
- src: dist/completions/fish/*
dst: /usr/share/fish/vendor_completions.d
file_info:
mode: 0644