summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2022-05-03 15:43:20 +0300
committerPanu Matilainen <pmatilai@redhat.com>2022-06-28 14:51:02 +0300
commit97b731e99384baf9395c9f48ac8aefc80084ad95 (patch)
treeef1aeac7829d5f78dbd78838813b562857489311 /docs
parentd390543f4b76d56b91f891f63510c1d3d6a3643c (diff)
downloadrpm-97b731e99384baf9395c9f48ac8aefc80084ad95.tar.gz
Add parsed and expanded spec to src.rpm header (#1241)
The trend of packaging is to hide more and more of what actually happens behind helper macros and other dynamically generated constructs. While this is mostly a good thing, it makes understanding and postmortem analysis harder than it should be. Add the spec in its parsed and expanded form into the src.rpm header to make the actual contents of the build more trackable. It can be argued this does not belong in the header and should be in payload instead, my rationale for the placement is that this way the payload remains effectively arch independent, whereas the header already heavily reflects the particular environment where it was built. Probably worth noting that %setup and %patch built-in macros are not properly expanded in the stored spec, but that's a separate issue related the special way %prep is processed. Fixes: #1241
Diffstat (limited to 'docs')
-rw-r--r--docs/manual/tags.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/manual/tags.md b/docs/manual/tags.md
index 6f2974a04..c667aa13b 100644
--- a/docs/manual/tags.md
+++ b/docs/manual/tags.md
@@ -333,6 +333,7 @@ Nosource | 1051 | int32 array | Denotes a source number for which source i
Patch | 1019 | string array | Patch file names.
Source | 1018 | string array | Source file names.
Sourcepackage | 1106 | int32 | Denotes a source rpm.
+Spec | 5099 | string | Expanded and parsed spec contents.
## Internal / special