From 5a26955635dc64cbdbde945acaeffa12f96fdbb6 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 27 Aug 2014 13:19:42 +0200 Subject: use HEADERGET_EXT instead of HEADERGET_DEFAULT in order to access to extension tags such as new weak deps tags (needed for next commit) --- URPM.xs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/URPM.xs b/URPM.xs index 04c713a..62ab588 100644 --- a/URPM.xs +++ b/URPM.xs @@ -419,7 +419,7 @@ return_list_str(char *s, Header header, int32_t tag_name, int32_t tag_flags, int } 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); @@ -760,7 +760,7 @@ pack_list(Header header, int32_t tag_name, int32_t tag_flags, int32_t tag_versio 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; struct rpmtd_s td_flags, td_list_evr; -- cgit v1.2.1