summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJindrich Novy <jnovy@redhat.com>2009-01-13 19:26:35 +0100
committerJindrich Novy <jnovy@redhat.com>2009-01-13 19:26:35 +0100
commitf4c997cac8a9205067a584f03ed7039cd0877b4e (patch)
treec0c3b664d83a7d02b9f34a19a579ee41fdaea9e0 /build
parentcc38c36a3163f17110d8005bf5069465b27cdc6c (diff)
downloadrpm-f4c997cac8a9205067a584f03ed7039cd0877b4e.tar.gz
rpm-f4c997cac8a9205067a584f03ed7039cd0877b4e.tar.bz2
rpm-f4c997cac8a9205067a584f03ed7039cd0877b4e.zip
Simplify group tag inheritance for a bit
Diffstat (limited to 'build')
-rw-r--r--build/parsePreamble.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/parsePreamble.c b/build/parsePreamble.c
index a8a68ed25..7bf0c13c1 100644
--- a/build/parsePreamble.c
+++ b/build/parsePreamble.c
@@ -926,8 +926,8 @@ int parsePreamble(rpmSpec spec, int initialPackage)
if (!headerIsEntry(pkg->header, RPMTAG_GROUP)) {
struct rpmtd_s td;
- headerGet(spec->packages->header, RPMTAG_GROUP, &td, HEADERGET_RAW);
- headerPutString(pkg->header, RPMTAG_GROUP, rpmtdGetString(&td));
+ headerGet(spec->packages->header, RPMTAG_GROUP, &td, HEADERGET_DEFAULT);
+ headerPut(pkg->header, &td, HEADERPUT_DEFAULT);
rpmtdFreeData(&td);
}
}