Files
nfpm/testdata/acceptance/rpm.postrequires.yaml
64b788a887 feat: add Requires(Post) for RPMS (#1085)
* feat: add Requires(Post) for RPMS
https://rpm-software-management.github.io/rpm/manual/spec.html section Dependencies

* test: add acceptance test

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-18 00:51:31 -03:00

21 lines
327 B
YAML

name: "foo"
arch: "${BUILD_ARCH}"
platform: "linux"
version: "v1.2.3"
maintainer: "Foo Bar"
release: "4"
description: |
Foo bar
Multiple lines
vendor: "foobar"
homepage: "https://foobar.org"
license: "MIT"
contents:
- src: ./testdata/fake
dst: /usr/bin/fake
rpm:
requires:
post:
- bash
- coreutils >= 9.0