diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-08-10 10:55:31 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-08-10 10:55:31 +0000 |
commit | f93b9226a926ce479b70074f55246c3fb7cea628 (patch) | |
tree | a549ba7f560d2f7b6380ae0431ac97f1c781a5f3 | |
parent | ebc3ccf072d16ca45730ce60c781952f77ac1ec4 (diff) | |
download | perl-URPM-f93b9226a926ce479b70074f55246c3fb7cea628.tar perl-URPM-f93b9226a926ce479b70074f55246c3fb7cea628.tar.gz perl-URPM-f93b9226a926ce479b70074f55246c3fb7cea628.tar.bz2 perl-URPM-f93b9226a926ce479b70074f55246c3fb7cea628.tar.xz perl-URPM-f93b9226a926ce479b70074f55246c3fb7cea628.zip |
(spec2srcheader) fix arch of spec header
introduction introduced in commit r5031 on 012-06-25
("spec2srcheader) simplify using headerPutString()")
fixed by simplifying: our changes are no more needed...
-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); |