summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-07-12 16:10:46 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-07-12 16:10:46 +0300
commit2404685050a3405602225274d09d02baeb28a547 (patch)
tree376310cdbca1aa501eb76b8f1eae11c82e7cad13 /build
parent5a3f376a2bba42855bd6a1b4002dd094293a19f1 (diff)
downloadlibrpm-tizen-2404685050a3405602225274d09d02baeb28a547.tar.gz
librpm-tizen-2404685050a3405602225274d09d02baeb28a547.tar.bz2
librpm-tizen-2404685050a3405602225274d09d02baeb28a547.zip
Kill of RPMTAG_RHNPLATFORM: don't add to header, mark deprecated.
Diffstat (limited to 'build')
-rw-r--r--build/parseSpec.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/build/parseSpec.c b/build/parseSpec.c
index f45af4324..912b9778a 100644
--- a/build/parseSpec.c
+++ b/build/parseSpec.c
@@ -660,9 +660,6 @@ int parseSpec(rpmts ts, const char *specFile, const char *rootURL,
(void) headerAddEntry(pkg->header, RPMTAG_OS, RPM_STRING_TYPE, os, 1);
(void) headerAddEntry(pkg->header, RPMTAG_ARCH,
RPM_STRING_TYPE, arch, 1);
- if (!headerIsEntry(pkg->header, RPMTAG_RHNPLATFORM))
- (void) headerAddEntry(pkg->header, RPMTAG_RHNPLATFORM,
- RPM_STRING_TYPE, arch, 1);
(void) headerAddEntry(pkg->header, RPMTAG_PLATFORM,
RPM_STRING_TYPE, platform, 1);