aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index 9072b0f..ee99790 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -3707,6 +3707,8 @@ Urpm_spec2srcheader(specfile)
URPM__Package pkg;
Spec spec = NULL;
PPCODE:
+/* ensure the config is in memory with all macro */
+ read_config_files(0);
/* Do not verify architecture */
#define SPEC_ANYARCH 1
/* Do not verify whether sources exist */