[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] build: drop files generated by config.status from tarball



On Mon, May 09, 2011 at 09:45:49AM -0500, Doug Goldstein wrote:
> On Mon, May 9, 2011 at 1:32 AM, Daniel Veillard <veillard redhat com> wrote:
> Since the Makefile doesn't ship in the tarball but only Makefile.in,
> which requires "./configure" be run before "make rpm" be run, that
> would mean that you don't need the libvirt.spec to be shipped in the
> tarball and you only want libvirt.spec.in and once you run ./configure
> it'll generate libvirt.spec. So in fact reverting that change is
> incorrect.
> 
> Unless of course I'm missing something.

  I guess you are missing the fact that rpm can work out of a
(compressed) tarball, run "rpm -ta foo.tar.gz" and it will
extract a .spec from it and use this to then build all the rpms
out (assuming you don't need patches from the spec file). Very
convenient and what "make rpm" does. You need to run autogen on
a checkout for this. But you can run it directly from any of the
libvirt-xxx.tar.gz that end up as release or provided hourly as
git snapshots.

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]