diff options
author | jbj <devnull@localhost> | 2000-07-15 14:53:54 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2000-07-15 14:53:54 +0000 |
commit | 77ea46f6a0f1a0d1240ab76ead01d7e4ffb9e62d (patch) | |
tree | fa62a9f3d6940ad70060aaf7cc8815209b79d6a4 /build | |
parent | cee37252ba056685c9c2ff23757460e31159c812 (diff) | |
download | rpm-77ea46f6a0f1a0d1240ab76ead01d7e4ffb9e62d.tar.gz |
- rip out pre-transaction syscalls, more design is needed.
- display rpmlib provides when invoked with --showrc.
- remove (dead) dependency checks on implicitly provided package names.
- remove (dead) rpmdb API code in python bindings.
- remove (legacy) support for version 1 packaging.
- remove (legacy) support for converting gdbm databases.
CVS patchset: 3950
CVS date: 2000/07/15 14:53:54
Diffstat (limited to 'build')
-rw-r--r-- | build/parsePreamble.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/build/parsePreamble.c b/build/parsePreamble.c index f2b8ce73e..04787da9d 100644 --- a/build/parsePreamble.c +++ b/build/parsePreamble.c @@ -532,20 +532,6 @@ static int handlePreambleTag(Spec spec, Package pkg, int tag, const char *macro, FREE(spec->buildArchitectures); break; - case RPMTAG_PRETRANSACTION: - case RPMTAG_POSTTRANSACTION: - if ((rc = rpmSyscall(field, 1)) != 0) { - rpmError(RPMERR_BADSPEC, - _("line %d: Invalid %s tag value: %s"), - spec->lineNum, tagName(tag), spec->line); - return RPMERR_BADSPEC; - } - headerAddOrAppendEntry(pkg->header, tag, RPM_STRING_ARRAY_TYPE, - &field, 1); - rpmlibNeedsFeature(pkg->header, "PreTransactionSyscalls", "4.0-1"); - macro = NULL; - break; - default: rpmError(RPMERR_INTERNAL, _("Internal error: Bogus tag %d"), tag); return RPMERR_INTERNAL; @@ -606,10 +592,6 @@ static struct PreambleRec { {RPMTAG_AUTOREQ, 0, 0, "autoreq"}, {RPMTAG_AUTOPROV, 0, 0, "autoprov"}, {RPMTAG_DOCDIR, 0, 0, "docdir"}, - {RPMTAG_PRETRANSACTION, 0, 0, "pretransaction"}, -#ifdef NOTYET - {RPMTAG_POSTTRANSACTION, 0, 0, "posttransaction"}, -#endif {0, 0, 0, 0} }; |