rpmbuilder/rpms/packer/nfpm.yaml
Ben Vincent 56d966aba5
All checks were successful
Build / build-8 (pull_request) Successful in 57s
Build / build-9 (pull_request) Successful in 1m0s
feat: add packer/1.11.2
- add first packer rpm
2025-01-04 14:24:20 +11:00

39 lines
771 B
YAML

# nfpm.yaml
name: packer
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: amd64
platform: linux
section: default
priority: extra
description: "Create identical images for multiple platforms from a single source configuration."
maintainer: HashiCorp
homepage: https://www.packer.io/
license: BUSL-1.1
disable_globbing: false
replaces:
- packer
provides:
- packer
# Files to include in the package
contents:
- src: /app/packer
dst: /usr/bin/packer
file_info:
mode: 0755
owner: root
group: root
# Scripts to run during installation/removal (optional)
# scripts:
# preinstall: ./scripts/preinstall.sh
# postinstall: ./scripts/postinstall.sh
# preremove: ./scripts/preremove.sh
# postremove: ./scripts/postremove.sh