diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | URPM.xs | 3 |
2 files changed, 1 insertions, 3 deletions
@@ -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 @@ -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); |