From c930d1efda0bfe5b2e32add88d3c3616a7875191 Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Tue, 23 May 2006 21:32:48 +0000 Subject: - fix urpmi .spec: aka ensure the rpm config is read with all macros before parsing a spec --- URPM.xs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'URPM.xs') 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 */ -- cgit v1.2.1