aboutsummaryrefslogtreecommitdiffstats
path: root/rpm2header.c
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-08-24 16:04:57 +0000
committerFrancois Pons <fpons@mandriva.com>2000-08-24 16:04:57 +0000
commit13fba0876be873368a049786451a1d5e9c0b4594 (patch)
treef39424c2322ae092c3fc82416f527062edfdc083 /rpm2header.c
parente303cd59afd2ff3770470d02587c52d3bbf2e02a (diff)
downloadrpmtools-13fba0876be873368a049786451a1d5e9c0b4594.tar
rpmtools-13fba0876be873368a049786451a1d5e9c0b4594.tar.gz
rpmtools-13fba0876be873368a049786451a1d5e9c0b4594.tar.bz2
rpmtools-13fba0876be873368a049786451a1d5e9c0b4594.tar.xz
rpmtools-13fba0876be873368a049786451a1d5e9c0b4594.zip
*** empty log message ***
Diffstat (limited to 'rpm2header.c')
-rw-r--r--rpm2header.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/rpm2header.c b/rpm2header.c
index 0cf6d6b..554b8bd 100644
--- a/rpm2header.c
+++ b/rpm2header.c
@@ -73,6 +73,14 @@ int main(int argc, char **argv) {
headerRemoveEntry(h, RPMTAG_EXCLUSIVE);
headerRemoveEntry(h, RPMTAG_DISTRIBUTION);
headerRemoveEntry(h, RPMTAG_VERIFYSCRIPT);
+
+ /* removing that break updates.
+ headerRemoveEntry(h, RPMTAG_OLDFILENAMES);
+ headerRemoveEntry(h, RPMTAG_BASENAMES);
+ headerRemoveEntry(h, RPMTAG_DIRINDEXES);
+ headerRemoveEntry(h, RPMTAG_DIRNAMES);
+ */
+
headerAddEntry(h, FILENAME_TAG, RPM_STRING_TYPE, name, 1);
headerAddEntry(h, FILESIZE_TAG, RPM_INT32_TYPE, &size, 1);
headerWrite(fout, h, HEADER_MAGIC_YES);