From 2edba52f1d85e9085139f0b1f48fffb562c87e65 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 16 Oct 2007 11:53:09 +0000 Subject: fix build on rpm 4.4.2 --- URPM.xs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'URPM.xs') 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 */ -- cgit v1.2.1