aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.xs')
-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;