summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-06-19 15:47:04 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-06-19 15:47:04 +0300
commitf754ad8aa640b7a72936a19dabca64bacdbb5e63 (patch)
tree34e64114c8dfbbcda47e578dff6da736c1bff539 /build
parente940b206b95f78063902518e7dd1151bd278b46f (diff)
downloadrpm-f754ad8aa640b7a72936a19dabca64bacdbb5e63.tar.gz
rpm-f754ad8aa640b7a72936a19dabca64bacdbb5e63.tar.bz2
rpm-f754ad8aa640b7a72936a19dabca64bacdbb5e63.zip
Use type-specific headerPut() where makes sense in build/parseScript
Diffstat (limited to 'build')
-rw-r--r--build/parseScript.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/parseScript.c b/build/parseScript.c
index 0699ccfed..713d998aa 100644
--- a/build/parseScript.c
+++ b/build/parseScript.c
@@ -323,8 +323,7 @@ int parseScript(rpmSpec spec, int parsePart)
headerPut(pkg->header, &td, HEADERPUT_DEFAULT);
if (*p != '\0') {
- if (rpmtdFromString(&td, tag, p))
- headerPut(pkg->header, &td, HEADERPUT_DEFAULT);
+ headerPutString(pkg->header, tag, p);
}
if (file) {