aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-10 10:55:31 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-10 10:55:31 +0000
commitf93b9226a926ce479b70074f55246c3fb7cea628 (patch)
treea549ba7f560d2f7b6380ae0431ac97f1c781a5f3 /URPM.xs
parentebc3ccf072d16ca45730ce60c781952f77ac1ec4 (diff)
downloadperl-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...
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs3
1 files changed, 0 insertions, 3 deletions
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);