aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-03-09 16:39:09 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-03-09 16:39:09 +0000
commit5599d31c0f43280654f24e7fe1dd22e07a5dcb25 (patch)
tree6067864a9b2ee8ade67f87daab4b74d9defddac9
parent0198b68f66389249416a751127e00af82213c8cb (diff)
downloadperl-URPM-5599d31c0f43280654f24e7fe1dd22e07a5dcb25.tar
perl-URPM-5599d31c0f43280654f24e7fe1dd22e07a5dcb25.tar.gz
perl-URPM-5599d31c0f43280654f24e7fe1dd22e07a5dcb25.tar.bz2
perl-URPM-5599d31c0f43280654f24e7fe1dd22e07a5dcb25.tar.xz
perl-URPM-5599d31c0f43280654f24e7fe1dd22e07a5dcb25.zip
More RPMSENSE_PREREQ deprecation. (this should do nothing with rpm 4.2)
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index 454e4c6..e75318f 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1041,7 +1041,7 @@ update_provides(URPM__Package pkg, HV *provides) {
for (i = 0; i < count; ++i) {
len = strlen(list[i]);
if (!strncmp(list[i], "rpmlib(", 7)) continue;
- update_provide_entry(list[i], len, 1, flags && flags[i] & (RPMSENSE_PREREQ|RPMSENSE_LESS|RPMSENSE_EQUAL|RPMSENSE_GREATER),
+ update_provide_entry(list[i], len, 1, flags && flags[i] & (RPMSENSE_PREREQ|RPMSENSE_SCRIPT_PREUN|RPMSENSE_SCRIPT_PRE|RPMSENSE_SCRIPT_POSTUN|RPMSENSE_SCRIPT_POST|RPMSENSE_LESS|RPMSENSE_EQUAL|RPMSENSE_GREATER),
pkg, provides);
}
}