diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-01-29 17:56:24 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-01-29 17:56:24 +0000 |
commit | 7d9f4153c1517bc6d3e6b5b7836472adad60e428 (patch) | |
tree | 6c76ca6bb04e0019feaba6a1a704071c45edf480 | |
parent | 3ac8c4d5eabd6849813cec08675a1c93e9cede3b (diff) | |
download | perl-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.xs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |