aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2010-12-10 14:19:28 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2010-12-10 14:19:28 +0000
commitbfbb5576457d31352b4b86d26f6af241867c9249 (patch)
tree9c6afab0513f73be8e3951a1793f86d692ffde66 /URPM.xs
parenta2c972537b98361498f1297a727e393e21303135 (diff)
downloadperl-URPM-bfbb5576457d31352b4b86d26f6af241867c9249.tar
perl-URPM-bfbb5576457d31352b4b86d26f6af241867c9249.tar.gz
perl-URPM-bfbb5576457d31352b4b86d26f6af241867c9249.tar.bz2
perl-URPM-bfbb5576457d31352b4b86d26f6af241867c9249.tar.xz
perl-URPM-bfbb5576457d31352b4b86d26f6af241867c9249.zip
rpmlib() dependencies are internal, thus we'll never encounter them in RPMTAG_PROVIDENAME for any package and therefore no need to check for and skip them
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs1
1 files changed, 0 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index 692d339..2386f0a 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1014,7 +1014,6 @@ update_provides(URPM__Package pkg, HV *provides) {
}
for (he->ix = 0; he->ix < (int)he->c; he->ix++) {
len = strlen(list[he->ix]);
- if (strncmp(list[he->ix], "rpmlib(", 7)) continue;
update_provide_entry(list[he->ix], len, 1, flags && flags[he->ix] & (RPMSENSE_PREREQ|RPMSENSE_TRIGGER),
pkg, provides);
}