Use newPackage() to initialize source package too
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 15 Apr 2013 12:16:11 +0000 (15:16 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 7 Jun 2013 09:22:24 +0000 (12:22 +0300)
commit04ce7bfbba4367a75c99e02e2ab3f8976ec5e6ba
treef4806e79e72bc385eee7688611693c16aae2a691
parent949bf08f6b2e4dae46b0c02492c7b5a7c170ee61
Use newPackage() to initialize source package too

- As newPackage() initializes the pkg header too, we now need
  a different way of checking whether initSourceHeader() has
  already been called. Checking RPMTAG_NAME should suffice for the job...
(cherry picked from commit 0db12898c5d270fd4bbc7b4bad677dee4f34a617)
build/parsePreamble.c
build/parseSpec.c