diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-12-17 15:05:02 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-12-17 15:05:02 +0000 |
commit | 234acc34423843403c6c86ce24fa3dfa6d9ee520 (patch) | |
tree | b888f232d21ca3607ea112229b88629dbc591bd5 | |
parent | 2f9986c702c505bd1106266455fbc89378a45ff1 (diff) | |
download | perl-URPM-234acc34423843403c6c86ce24fa3dfa6d9ee520.tar perl-URPM-234acc34423843403c6c86ce24fa3dfa6d9ee520.tar.gz perl-URPM-234acc34423843403c6c86ce24fa3dfa6d9ee520.tar.bz2 perl-URPM-234acc34423843403c6c86ce24fa3dfa6d9ee520.tar.xz perl-URPM-234acc34423843403c6c86ce24fa3dfa6d9ee520.zip |
RPMFILE_EXCLUDE & RPMFILE_UNPATCHED were drop from external API in rpm-4.11
RPMFILE_UNPATCHED is no more used and RPMFILE_EXCLUDE only exists during
spec parse (see rpm commit 8d277bbb)
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | URPM.xs | 3 |
2 files changed, 2 insertions, 3 deletions
@@ -1,3 +1,5 @@ +- fix compiling with rpm-4.11 + Version 4.21.1 - 7 December 2012 - fix EVR() on packages from rpmdb (was ok on synthesis ones) (mga#7739) @@ -483,9 +483,7 @@ return_list_tag_modifier(const Header header, rpmTag tag_name) { if (tag & RPMFILE_NOREPLACE) *s++ = 'n'; if (tag & RPMFILE_SPECFILE) *s++ = 'S'; if (tag & RPMFILE_README) *s++ = 'R'; - if (tag & RPMFILE_EXCLUDE) *s++ = 'e'; if (tag & RPMFILE_ICON) *s++ = 'i'; - if (tag & RPMFILE_UNPATCHED) *s++ = 'u'; if (tag & RPMFILE_PUBKEY) *s++ = 'p'; } else { rpmtdFreeData(&td); @@ -1103,7 +1101,6 @@ static void drop_tags(Header *h) { headerDel(*h, RPMTAG_ICON); headerDel(*h, RPMTAG_GIF); - headerDel(*h, RPMTAG_EXCLUDE); headerDel(*h, RPMTAG_EXCLUSIVE); headerDel(*h, RPMTAG_COOKIE); headerDel(*h, RPMTAG_VERIFYSCRIPT); |