summaryrefslogtreecommitdiff
path: root/build/reqprov.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-08-20 21:05:18 +0000
committerjbj <devnull@localhost>1999-08-20 21:05:18 +0000
commitd2094dc229f3efa82bde4c92d77d7314a370d4f0 (patch)
tree49c26b5590e09d1d73dc71568b4e763379a938ca /build/reqprov.c
parent75808ee2d4c1b34c70758d5c72a2b7a386b1124b (diff)
downloadlibrpm-tizen-d2094dc229f3efa82bde4c92d77d7314a370d4f0.tar.gz
librpm-tizen-d2094dc229f3efa82bde4c92d77d7314a370d4f0.tar.bz2
librpm-tizen-d2094dc229f3efa82bde4c92d77d7314a370d4f0.zip
add versions to obsoletes.
CVS patchset: 3243 CVS date: 1999/08/20 21:05:18
Diffstat (limited to 'build/reqprov.c')
-rw-r--r--build/reqprov.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/reqprov.c b/build/reqprov.c
index 1a79b5b98..00ce825a4 100644
--- a/build/reqprov.c
+++ b/build/reqprov.c
@@ -24,6 +24,8 @@ int addReqProv(Spec spec, Header h,
flagtag = RPMTAG_PROVIDEFLAGS;
} else if (flag & RPMSENSE_OBSOLETES) {
nametag = RPMTAG_OBSOLETES;
+ versiontag = RPMTAG_OBSOLETEVERSION;
+ flagtag = RPMTAG_OBSOLETEFLAGS;
} else if (flag & RPMSENSE_CONFLICTS) {
nametag = RPMTAG_CONFLICTNAME;
versiontag = RPMTAG_CONFLICTVERSION;