diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-10-16 11:53:09 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-10-16 11:53:09 +0000 |
commit | 2edba52f1d85e9085139f0b1f48fffb562c87e65 (patch) | |
tree | e6c97ae38ea7978405b25a39b2188637e8c89585 /URPM.xs | |
parent | 23c5521f3c2867a3b9b7fdd2d2c093fe8e1fef07 (diff) | |
download | perl-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.xs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 */ |