summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2018-08-01 10:51:49 +0300
committerPanu Matilainen <pmatilai@redhat.com>2018-08-08 15:23:39 +0300
commitc0f6f47010bdb84f63ae8525d3b7e06d66ab3146 (patch)
treeb0fc3815b4b59aa7423a41e25c2915a4e0efe425
parent48f39a62109d3482b58f26c3cbc059f2249b7d9e (diff)
downloadrpm-c0f6f47010bdb84f63ae8525d3b7e06d66ab3146.tar.gz
Copy DISTTAG to source rpms too if present
Related to ticket #406 and commit 6ba887683b4bf9712be00a3d5dcaa890bfce47c1, it was noticed in RhBug:1596192 that the tag is not inherited to src.rpms. (cherry picked from commit 9296916dddc922b0459929681452c657df4fe69e)
-rw-r--r--build/parseSpec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/parseSpec.c b/build/parseSpec.c
index d0c42a43e..606a0d840 100644
--- a/build/parseSpec.c
+++ b/build/parseSpec.c
@@ -504,6 +504,7 @@ static const rpmTagVal sourceTags[] = {
RPMTAG_PACKAGER,
RPMTAG_DISTRIBUTION,
RPMTAG_DISTURL,
+ RPMTAG_DISTTAG,
RPMTAG_VENDOR,
RPMTAG_LICENSE,
RPMTAG_GROUP,