diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2012-08-07 08:17:02 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2012-08-07 08:18:00 +0300 |
commit | 01706306d152d55cebc7ce13958207b4c674fe30 (patch) | |
tree | 331b577b5b37406d92c6ababf291bdcf2bea24dd /build | |
parent | ecd9aceb565be9b672091cbcb5b2db408dcb1d91 (diff) | |
download | rpm-01706306d152d55cebc7ce13958207b4c674fe30.tar.gz rpm-01706306d152d55cebc7ce13958207b4c674fe30.tar.bz2 rpm-01706306d152d55cebc7ce13958207b4c674fe30.zip |
Extra qualifiers like (postun) are not valid with legacy PreReq
Diffstat (limited to 'build')
-rw-r--r-- | build/parsePreamble.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/parsePreamble.c b/build/parsePreamble.c index dd9a52bc9..5a03ca1d9 100644 --- a/build/parsePreamble.c +++ b/build/parsePreamble.c @@ -774,7 +774,6 @@ static rpmRC handlePreambleTag(rpmSpec spec, Package pkg, rpmTagVal tag, break; case RPMTAG_ORDERFLAGS: case RPMTAG_REQUIREFLAGS: - case RPMTAG_PREREQ: if (parseBits(lang, installScriptBits, &tagflags)) { rpmlog(RPMLOG_ERR, _("line %d: Bad %s: qualifiers: %s\n"), spec->lineNum, rpmTagGetName(tag), spec->line); @@ -783,6 +782,7 @@ static rpmRC handlePreambleTag(rpmSpec spec, Package pkg, rpmTagVal tag, if (parseRCPOT(spec, pkg, field, tag, 0, tagflags)) goto exit; break; + case RPMTAG_PREREQ: case RPMTAG_BUILDPREREQ: case RPMTAG_BUILDREQUIRES: case RPMTAG_BUILDCONFLICTS: |