projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10772ac
)
We always add EVR and Flags to dependencies, remove bogus condition
author
Panu Matilainen
<pmatilai@redhat.com>
Thu, 20 Aug 2009 10:04:21 +0000
(13:04 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Thu, 20 Aug 2009 10:04:21 +0000
(13:04 +0300)
build/reqprov.c
patch
|
blob
|
history
diff --git
a/build/reqprov.c
b/build/reqprov.c
index
ba6a1e8
..
e474cdb
100644
(file)
--- a/
build/reqprov.c
+++ b/
build/reqprov.c
@@
-90,10
+90,8
@@
int addReqProv(rpmSpec spec, Header h, rpmTag tagN,
/* Avoid adding duplicate dependencies. */
if (isNewDep(h, nametag, N, EVR, Flags, indextag, index)) {
headerPutString(h, nametag, N);
- if (flagtag) {
- headerPutString(h, versiontag, EVR);
- headerPutUint32(h, flagtag, &Flags, 1);
- }
+ headerPutString(h, versiontag, EVR);
+ headerPutUint32(h, flagtag, &Flags, 1);
if (indextag) {
headerPutUint32(h, indextag, &index, 1);
}