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

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

 



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@xxxxxxxxxx> 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@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]