aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--URPM.xs3
2 files changed, 2 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 2f83f7b..b90bbf8 100644
--- a/NEWS
+++ b/NEWS
@@ -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)
diff --git a/URPM.xs b/URPM.xs
index 3818162..c3f6900 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -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);