[lxc-devel] [PATCH] EXTRA_DIST: Fix missing files with "make dist"

Stéphane Graber stgraber at ubuntu.com
Wed Mar 27 15:33:30 UTC 2013


On 03/27/2013 11:28 AM, Dwight Engen wrote:
> On Tue, 26 Mar 2013 13:09:20 -0400
> Stéphane Graber <stgraber at ubuntu.com> wrote:
> 
>> On 03/26/2013 01:03 PM, Stéphane Graber wrote:
>>> I recently noticed that the generated tarballs with "make dist"
>>> were incomplete unless the configure script was run on a machine
>>> with all possible build dependencies.
>>>
>>> That's wrong as you clearly don't need those dependencies to
>>> generate the tarball. This change fixes that.
>>>
>>> Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
>>
>> One file I noticed is included in the main EXTRA_DIST (Makefile.am)
>> and I'm not sure whether it should be or not is "lxc.spec".
>>
>> The resulting tarball contains both "lxc.spec.in" and "lxc.spec" so in
>> theory we don't need "lxc.spec" in there, but I'm not sure whether the
>> RPM distros need lxc.spec to trigger the configure and removing it
>> would therefore create a chicken-and-egg problem.
>>
>> Can someone from one of the RPM distros comment on that?
> 
> Hi Stéphane
> 
> I believe it is customary to include the .spec in the make dist
> tarball. Doing so means users can just download the release tarball and
> do rpmbuild -ta lxc-*.tar.gz to build RPMS from it.

Ok, I'll keep it there then.

Thanks


-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20130327/18fb3bb9/attachment.pgp>


More information about the lxc-devel mailing list