Print regular provides on build too (mdvbz#36672)
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 25 Jan 2008 06:30:32 +0000 (08:30 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 25 Jan 2008 06:30:32 +0000 (08:30 +0200)
Patch ported from rpm5.org by Pascal Rigaux

build/rpmfc.c

index bc78be5..82fe232 100644 (file)
@@ -1382,7 +1382,7 @@ static struct DepMsg_s depMsgs[] = {
        _notpre(RPMSENSE_SCRIPT_POSTUN), 0 },
   { "Requires",                { "%{?__find_requires}", NULL, NULL, NULL },
        -1, -1, RPMTAG_REQUIREFLAGS,    /* XXX inherit name/version arrays */
-       RPMSENSE_PREREQ, RPMSENSE_PREREQ },
+       RPMSENSE_FIND_REQUIRES|RPMSENSE_TRIGGERIN|RPMSENSE_TRIGGERUN|RPMSENSE_TRIGGERPOSTUN|RPMSENSE_TRIGGERPREIN, 0 },
   { "Conflicts",       { "%{?__find_conflicts}", NULL, NULL, NULL },
        RPMTAG_CONFLICTNAME, RPMTAG_CONFLICTVERSION, RPMTAG_CONFLICTFLAGS,
        0, -1 },