projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecd9ace
)
Extra qualifiers like (postun) are not valid with legacy PreReq
author
Panu Matilainen
<pmatilai@redhat.com>
Tue, 7 Aug 2012 05:17:02 +0000
(08:17 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Tue, 7 Aug 2012 05:18:00 +0000
(08:18 +0300)
build/parsePreamble.c
patch
|
blob
|
history
diff --git
a/build/parsePreamble.c
b/build/parsePreamble.c
index
dd9a52b
..
5a03ca1
100644
(file)
--- 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: