aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index 4971528..4ef9e76 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -3874,7 +3874,7 @@ Urpm_spec2srcheader(specfile)
headerMod(header, &td);
}
- pkg->h = headerLink(header);
+ pkg->h = headerLink(spec->sourceHeader);
sv_pkg = sv_newmortal();
sv_setref_pv(sv_pkg, "URPM::Package", (void*)pkg);
XPUSHs(sv_pkg);