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:
4e972f2
)
strip leading directories from ldd output
author
root
<devnull@localhost>
Thu, 8 Aug 1996 13:25:27 +0000
(13:25 +0000)
committer
root
<devnull@localhost>
Thu, 8 Aug 1996 13:25:27 +0000
(13:25 +0000)
CVS patchset: 944
CVS date: 1996/08/08 13:25:27
build/reqprov.c
patch
|
blob
|
history
diff --git
a/build/reqprov.c
b/build/reqprov.c
index
cb74964
..
121f916
100644
(file)
--- a/
build/reqprov.c
+++ b/
build/reqprov.c
@@
-287,6
+287,9
@@
int generateAutoReqProv(Header header, struct PackageRec *p)
s++;
}
*s = '\0';
+ if ((s = strrchr(tok, '/'))) {
+ tok = s + 1;
+ }
addReqProv(p, REQUIRE_ANY, tok, NULL);
}