diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-02-26 15:53:32 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-02-26 15:53:32 +0000 |
commit | be00e4455844b5b83e07c97e041b205ad62186c9 (patch) | |
tree | 37aafa24075fb68aa8cdbe58241528132c4d5f27 /rpm2header.c | |
parent | ce88114faa0e19ddeda43d9deb3a325c3951697b (diff) | |
download | rpmtools-be00e4455844b5b83e07c97e041b205ad62186c9.tar rpmtools-be00e4455844b5b83e07c97e041b205ad62186c9.tar.gz rpmtools-be00e4455844b5b83e07c97e041b205ad62186c9.tar.bz2 rpmtools-be00e4455844b5b83e07c97e041b205ad62186c9.tar.xz rpmtools-be00e4455844b5b83e07c97e041b205ad62186c9.zip |
- parsehdlist, rpm2header:
o do not add/use FILENAME_TAG and FILESIZE_TAG to/in hdlist anymore
Diffstat (limited to 'rpm2header.c')
-rw-r--r-- | rpm2header.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/rpm2header.c b/rpm2header.c index cec2200..d8831f6 100644 --- a/rpm2header.c +++ b/rpm2header.c @@ -8,9 +8,6 @@ #include <rpmlib.h> #include <rpm/rpmts.h> -#define FILENAME_TAG 1000000 -#define FILESIZE_TAG 1000001 - const char *basename(const char *f) { char *p = strrchr(f, '/'); return p ? p + 1 : f; @@ -76,8 +73,6 @@ int main(int argc, char **argv) { headerRemoveEntry(h, RPMTAG_EXCLUSIVE); headerRemoveEntry(h, RPMTAG_DISTRIBUTION); headerRemoveEntry(h, RPMTAG_VERIFYSCRIPT); - headerAddEntry(h, FILENAME_TAG, RPM_STRING_TYPE, name, 1); - headerAddEntry(h, FILESIZE_TAG, RPM_INT32_TYPE, &size, 1); headerWrite(fout, h, HEADER_MAGIC_YES); headerFree(h); } |