aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--URPM.xs4
1 files changed, 2 insertions, 2 deletions
diff --git a/URPM.xs b/URPM.xs
index 50091a8..b90404e 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -392,7 +392,7 @@ return_list_str(char *s, const Header header, rpmTag tag_name, rpmTag tag_flags,
} else if (header) {
struct rpmtd_s list, flags, list_evr;
- if (headerGet(header, tag_name, &list, HEADERGET_DEFAULT)) {
+ if (headerGet(header, tag_name, &list, HEADERGET_EXT)) {
memset((void*)&flags, 0, sizeof(flags));
memset((void*)&list_evr, 0, sizeof(list_evr));
if (tag_flags) headerGet(header, tag_flags, &flags, HEADERGET_DEFAULT);
@@ -722,7 +722,7 @@ pack_list(const Header header, rpmTag tag_name, rpmTag tag_flags, rpmTag tag_ver
char *p = buff;
struct rpmtd_s td;
- if (headerGet(header, tag_name, &td, HEADERGET_DEFAULT)) {
+ if (headerGet(header, tag_name, &td, HEADERGET_EXT)) {
char **list = td.data;
char **list_evr = NULL;
rpmTag *flags = NULL;