summaryrefslogtreecommitdiff
path: root/build/reqprov.c
diff options
context:
space:
mode:
Diffstat (limited to 'build/reqprov.c')
-rwxr-xr-x[-rw-r--r--]build/reqprov.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/reqprov.c b/build/reqprov.c
index f2cdb5c..bc2f7ea 100644..100755
--- a/build/reqprov.c
+++ b/build/reqprov.c
@@ -75,6 +75,16 @@ int addReqProv(Header h, rpmTagVal tagN,
indextag = RPMTAG_TRIGGERINDEX;
extra = Flags & RPMSENSE_TRIGGER;
break;
+ case RPMTAG_SUGGESTSNAME:
+ versiontag = RPMTAG_SUGGESTSVERSION;
+ flagtag = RPMTAG_SUGGESTSFLAGS;
+ extra = Flags & _ALL_REQUIRES_MASK;
+ break;
+ case RPMTAG_ENHANCESNAME:
+ versiontag = RPMTAG_ENHANCESVERSION;
+ flagtag = RPMTAG_ENHANCESFLAGS;
+ extra = Flags & _ALL_REQUIRES_MASK;
+ break;
case RPMTAG_REQUIRENAME:
default:
tagN = RPMTAG_REQUIRENAME;