aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-04-21 03:09:04 +0000
committerThierry Vignaud <tv@mageia.org>2011-04-21 03:09:04 +0000
commitb86491c31a8582d3e72138184f75a5bd06bdb61f (patch)
tree7c282f640353aa6c3b016617d5f971528e9f5109
parent24e89b03c176f6ebbec35b1a32f612d43da40c94 (diff)
downloadperl-URPM-b86491c31a8582d3e72138184f75a5bd06bdb61f.tar
perl-URPM-b86491c31a8582d3e72138184f75a5bd06bdb61f.tar.gz
perl-URPM-b86491c31a8582d3e72138184f75a5bd06bdb61f.tar.bz2
perl-URPM-b86491c31a8582d3e72138184f75a5bd06bdb61f.tar.xz
perl-URPM-b86491c31a8582d3e72138184f75a5bd06bdb61f.zip
(Urpm_spec2srcheader) revers a rpm-4.9.0 change that breaks the testsuite
-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);