summaryrefslogtreecommitdiff
path: root/build/reqprov.c
diff options
context:
space:
mode:
Diffstat (limited to 'build/reqprov.c')
-rw-r--r--build/reqprov.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/reqprov.c b/build/reqprov.c
index cc642cae5..cbfbe56b5 100644
--- a/build/reqprov.c
+++ b/build/reqprov.c
@@ -89,21 +89,25 @@ int addReqProv(Header h, rpmTagVal tagN,
versiontag = RPMTAG_RECOMMENDVERSION;
flagtag = RPMTAG_RECOMMENDFLAGS;
extra = Flags & _ALL_REQUIRES_MASK;
+ dsp = &pkg->recommends;
break;
case RPMTAG_SUGGESTNAME:
versiontag = RPMTAG_SUGGESTVERSION;
flagtag = RPMTAG_SUGGESTFLAGS;
extra = Flags & _ALL_REQUIRES_MASK;
+ dsp = &pkg->suggests;
break;
case RPMTAG_SUPPLEMENTNAME:
versiontag = RPMTAG_SUPPLEMENTVERSION;
flagtag = RPMTAG_SUPPLEMENTFLAGS;
extra = Flags & _ALL_REQUIRES_MASK;
+ dsp = &pkg->supplements;
break;
case RPMTAG_ENHANCENAME:
versiontag = RPMTAG_ENHANCEVERSION;
flagtag = RPMTAG_ENHANCEFLAGS;
extra = Flags & _ALL_REQUIRES_MASK;
+ dsp = &pkg->enhances;
break;
case RPMTAG_REQUIRENAME:
default: