From b2638067fce9a32cba03f5c0198ea50a33ff6d3d Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 21 Feb 2024 12:30:46 +0200 Subject: [PATCH] Document %missingok and %artifact in verify output and the manual Fixes: #2833 Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2256014 --- docs/man/rpm.8.md | 2 ++ docs/manual/spec.md | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/docs/man/rpm.8.md b/docs/man/rpm.8.md index 43ecab3b4..3e0b3b56d 100644 --- a/docs/man/rpm.8.md +++ b/docs/man/rpm.8.md @@ -945,10 +945,12 @@ unique to verify mode are: The format of the output is a string of 9 characters, a possible attribute marker: + a %artifact a build side-effect file (such as buildid links) c %config configuration file. d %doc documentation file. g %ghost file (i.e. the file contents are not included in the package payload). l %license license file. + m %missingok file missing is not a verify failure. r %readme readme file. from the package header, followed by the file name. Each of the 9 diff --git a/docs/manual/spec.md b/docs/manual/spec.md index f6b6d8280..872d0f7e1 100644 --- a/docs/manual/spec.md +++ b/docs/manual/spec.md @@ -732,6 +732,11 @@ space is tight. Used to mark and/or install files as licenses. Same as %doc, but cannot be filtered out as licenses must always be present in packages. +#### %missingok (since rpm >= 4.14 in standalone form) + +Used to mark file presence optional, ie one whose absence does not +cause --verify to fail. + #### %readme Obsolete.