aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--URPM.xs3
2 files changed, 1 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index b9b6693..e393e75 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
- drop compatibility with urpmi <= 4.5-13mdk (2004-07-09)
+- fix arch of spec headers (regression introduced in 4.8)
Version 4.10 - 29 June 2012
diff --git a/URPM.xs b/URPM.xs
index a5ddb48..fd2e61f 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -3279,9 +3279,6 @@ Urpm_spec2srcheader(specfile)
header = rpmSpecSourceHeader(spec);
SV *sv_pkg;
pkg = (URPM__Package)calloc(1, sizeof(struct s_Package));
- headerPutString(header, RPMTAG_SOURCERPM, "");
- /* parseSpec() sets RPMTAG_ARCH to %{_target_cpu} whereas we really a header similar to .src.rpm header */
- headerPutString(header, RPMTAG_ARCH, "src");
pkg->h = headerLink(header);
sv_pkg = sv_newmortal();
sv_setref_pv(sv_pkg, "URPM::Package", (void*)pkg);