diff options
author | jbj <devnull@localhost> | 2000-07-09 23:10:25 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2000-07-09 23:10:25 +0000 |
commit | db3190176b4615621024fdf2cfaad406ba11aa83 (patch) | |
tree | 48728dd20b5647795c524cee7d85168f37123132 /build/parseReqs.c | |
parent | 10eb9f2c5d4736cd0ca71e5e25c0f3e97de3a4e9 (diff) | |
download | librpm-tizen-db3190176b4615621024fdf2cfaad406ba11aa83.tar.gz librpm-tizen-db3190176b4615621024fdf2cfaad406ba11aa83.tar.bz2 librpm-tizen-db3190176b4615621024fdf2cfaad406ba11aa83.zip |
- prefix payload paths with "./", otherwise "/" can't be represented.
- fix: compressFilelist broke when fed '/'.
- fix: typo in --last popt alias (#12690).
- fix: clean file paths before performing -qf (#12493).
CVS patchset: 3930
CVS date: 2000/07/09 23:10:25
Diffstat (limited to 'build/parseReqs.c')
-rw-r--r-- | build/parseReqs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build/parseReqs.c b/build/parseReqs.c index 99bb4d247..44d8fbbf0 100644 --- a/build/parseReqs.c +++ b/build/parseReqs.c @@ -41,7 +41,7 @@ int parseRCPOT(Spec spec, Package pkg, const char *field, int tag, tagflags |= RPMSENSE_PROVIDES; h = pkg->header; break; - case RPMTAG_OBSOLETES: + case RPMTAG_OBSOLETEFLAGS: tagflags |= RPMSENSE_OBSOLETES; h = pkg->header; break; @@ -101,7 +101,7 @@ int parseRCPOT(Spec spec, Package pkg, const char *field, int tag, /* Don't permit file names as args for certain tags */ switch (tag) { - case RPMTAG_OBSOLETES: + case RPMTAG_OBSOLETEFLAGS: case RPMTAG_CONFLICTFLAGS: case RPMTAG_BUILDCONFLICTS: if (r[0] == '/') { @@ -145,8 +145,8 @@ int parseRCPOT(Spec spec, Package pkg, const char *field, int tag, switch(tag) { case RPMTAG_BUILDPREREQ: case RPMTAG_PREREQ: - case RPMTAG_PROVIDES: - case RPMTAG_OBSOLETES: + case RPMTAG_PROVIDEFLAGS: + case RPMTAG_OBSOLETEFLAGS: /* Add prereq on rpm version that implements versioning */ addReqProv(spec, h, RPMSENSE_PREREQ|(RPMSENSE_GREATER|RPMSENSE_EQUAL), |