summaryrefslogtreecommitdiff
path: root/tests/rpmgeneral.at
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2022-05-03 15:43:20 +0300
committerFlorian Festi <ffesti@redhat.com>2022-05-09 14:03:03 +0200
commit122bb4ffae7b2bacd8d790cac2c765d51b23d7d9 (patch)
treef8836356b4267ae3a0e3b65e79afa20fc3b21567 /tests/rpmgeneral.at
parent33da0fdff87786772ab8483c367bb0f07816fe14 (diff)
downloadrpm-122bb4ffae7b2bacd8d790cac2c765d51b23d7d9.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 'tests/rpmgeneral.at')
-rw-r--r--tests/rpmgeneral.at1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/rpmgeneral.at b/tests/rpmgeneral.at
index 81dcc62f0..c51dc4b2a 100644
--- a/tests/rpmgeneral.at
+++ b/tests/rpmgeneral.at
@@ -270,6 +270,7 @@ SOURCE
SOURCEPACKAGE
SOURCEPKGID
SOURCERPM
+SPEC
SUGGESTFLAGS
SUGGESTNAME
SUGGESTNEVRS