diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-07-12 16:10:46 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-07-12 16:10:46 +0300 |
commit | 2404685050a3405602225274d09d02baeb28a547 (patch) | |
tree | 376310cdbca1aa501eb76b8f1eae11c82e7cad13 /build | |
parent | 5a3f376a2bba42855bd6a1b4002dd094293a19f1 (diff) | |
download | librpm-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.c | 3 |
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); |