aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-10-16 11:53:09 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-10-16 11:53:09 +0000
commit2edba52f1d85e9085139f0b1f48fffb562c87e65 (patch)
treee6c97ae38ea7978405b25a39b2188637e8c89585 /URPM.xs
parent23c5521f3c2867a3b9b7fdd2d2c093fe8e1fef07 (diff)
downloadperl-URPM-2edba52f1d85e9085139f0b1f48fffb562c87e65.tar
perl-URPM-2edba52f1d85e9085139f0b1f48fffb562c87e65.tar.gz
perl-URPM-2edba52f1d85e9085139f0b1f48fffb562c87e65.tar.bz2
perl-URPM-2edba52f1d85e9085139f0b1f48fffb562c87e65.tar.xz
perl-URPM-2edba52f1d85e9085139f0b1f48fffb562c87e65.zip
fix build on rpm 4.4.2
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 9eb3c1b..89ac28b 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1149,8 +1149,10 @@ static void drop_tags(Header *h) {
headerRemoveEntry(*h, RPMTAG_FILESIZES); /* ? */
headerRemoveEntry(*h, RPMTAG_FILERDEVS); /* it seems unused. always empty */
headerRemoveEntry(*h, RPMTAG_FILEVERIFYFLAGS); /* only used for -V */
+#ifdef RPM_446
headerRemoveEntry(*h, RPMTAG_FILEDIGESTALGOS); /* only used for -V */
headerRemoveEntry(*h, RPMTAG_FILEDIGESTS); /* only used for -V */ /* alias: RPMTAG_FILEMD5S */
+#endif
/* keep RPMTAG_FILEFLAGS for %config (rpmnew) to work */
/* keep RPMTAG_FILELANGS for %lang (_install_langs) to work */
/* keep RPMTAG_FILELINKTOS for checking conflicts between symlinks */