aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-01-29 17:56:24 +0000
committerThierry Vignaud <tv@mageia.org>2013-01-29 17:56:24 +0000
commit7d9f4153c1517bc6d3e6b5b7836472adad60e428 (patch)
tree6c76ca6bb04e0019feaba6a1a704071c45edf480
parent3ac8c4d5eabd6849813cec08675a1c93e9cede3b (diff)
downloadperl-URPM-7d9f4153c1517bc6d3e6b5b7836472adad60e428.tar
perl-URPM-7d9f4153c1517bc6d3e6b5b7836472adad60e428.tar.gz
perl-URPM-7d9f4153c1517bc6d3e6b5b7836472adad60e428.tar.bz2
perl-URPM-7d9f4153c1517bc6d3e6b5b7836472adad60e428.tar.xz
perl-URPM-7d9f4153c1517bc6d3e6b5b7836472adad60e428.zip
(update_provides) document ->info case
-rw-r--r--URPM.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index 95dc43a..6889eb1 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -845,6 +845,7 @@ update_provides(const URPM__Package pkg, HV *provides) {
if ((s = pkg->requires) != NULL && *s != 0) {
ps = strchr(s, '@');
+ /* examine requires for files which need to be marked in provides */
while(ps != NULL) {
if (s[0] == '/') {
*ps = 0; es = strchr(s, '['); if (!es) es = strchr(s, ' '); *ps = '@';
@@ -858,6 +859,7 @@ update_provides(const URPM__Package pkg, HV *provides) {
}
}
+ /* update all provides */
if ((s = pkg->provides) != NULL && *s != 0) {
char *es;