diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/attachments/20120810/7d0a53d3/attachment.obj | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20120810/7d0a53d3/attachment.obj')
-rw-r--r-- | zarb-ml/mageia-dev/attachments/20120810/7d0a53d3/attachment.obj | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20120810/7d0a53d3/attachment.obj b/zarb-ml/mageia-dev/attachments/20120810/7d0a53d3/attachment.obj new file mode 100644 index 000000000..1f5132e61 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20120810/7d0a53d3/attachment.obj @@ -0,0 +1,14 @@ +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);
\ No newline at end of file |