diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-08-27 13:19:42 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-11-04 07:41:05 +0100 |
commit | 1d1b0af6503121651cebd5df68debb2081db04d2 (patch) | |
tree | 15d1b361c44941b998bae2e1a83f23665616e05d | |
parent | 1f2123ace9296b095d0bda06d1a9138dcf43b949 (diff) | |
download | perl-URPM-1d1b0af6503121651cebd5df68debb2081db04d2.tar perl-URPM-1d1b0af6503121651cebd5df68debb2081db04d2.tar.gz perl-URPM-1d1b0af6503121651cebd5df68debb2081db04d2.tar.bz2 perl-URPM-1d1b0af6503121651cebd5df68debb2081db04d2.tar.xz perl-URPM-1d1b0af6503121651cebd5df68debb2081db04d2.zip |
use HEADERGET_EXT instead of HEADERGET_DEFAULT
in order to access to extension tags such as new weak deps tags
(needed for next commit)
-rw-r--r-- | URPM.xs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); @@ -761,7 +761,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; |