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:
de9817a
)
Build prereq is exactly the same as buildrequires
author
Panu Matilainen
<pmatilai@redhat.com>
Fri, 29 May 2009 08:03:33 +0000
(11:03 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Tue, 21 Jul 2009 06:36:24 +0000
(09:36 +0300)
(cherry picked from commit
03e456de4a0ea7d574a7aeb3aa41937e1b7d18ee
)
build/parseReqs.c
patch
|
blob
|
history
diff --git
a/build/parseReqs.c
b/build/parseReqs.c
index
f2130ec
..
a983496
100644
(file)
--- a/
build/parseReqs.c
+++ b/
build/parseReqs.c
@@
-62,10
+62,6
@@
rpmRC parseRCPOT(rpmSpec spec, Package pkg, const char *field, rpmTag tagN,
tagflags |= RPMSENSE_PREREQ;
h = pkg->header;
break;
- case RPMTAG_BUILDPREREQ:
- tagflags |= RPMSENSE_PREREQ;
- h = spec->buildRestrictions;
- break;
case RPMTAG_TRIGGERPREIN:
tagflags |= RPMSENSE_TRIGGERPREIN;
h = pkg->header;
@@
-82,6
+78,7
@@
rpmRC parseRCPOT(rpmSpec spec, Package pkg, const char *field, rpmTag tagN,
tagflags |= RPMSENSE_TRIGGERUN;
h = pkg->header;
break;
+ case RPMTAG_BUILDPREREQ:
case RPMTAG_BUILDREQUIRES:
tagflags |= RPMSENSE_ANY;
h = spec->buildRestrictions;