[libvirt] Refactor libvirt spec file

Daniel Veillard veillard at redhat.com
Thu Sep 17 16:22:02 UTC 2009


On Thu, Sep 17, 2009 at 02:33:53PM +0100, Daniel P. Berrange wrote:
> On Thu, Sep 17, 2009 at 03:23:29PM +0200, Matthias Bolte wrote:
> > 2009/9/17 Daniel P. Berrange <berrange at redhat.com>:
> > 
> > %if %{with_esx}
> > BuildRequires: libcurl-devel > 7.18.0
> > %endif
> 
> I think that's pulled in to the build roots automatically, but there's
> no harm in adding an explicit requires too.

  Another one, there is no numactl on s390[x]

    thanks :-)

Daniel

-------------------
paphio:~/fcpkgs/libvirt/devel -> cvs -z9 diff -r 1.177 libvirt.spec
Index: libvirt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libvirt/devel/libvirt.spec,v
retrieving revision 1.177
retrieving revision 1.178
diff -u -r1.177 -r1.178
--- libvirt.spec    17 Sep 2009 12:32:32 -0000  1.177
+++ libvirt.spec    17 Sep 2009 13:30:50 -0000  1.178
@@ -69,6 +69,10 @@
 %define with_xen 0
 %endif
 
+# Numactl is not available on s390[x]
+%ifarch s390 s390x
+%define with_numactl 0
+%endif
 
 # RHEL doesn't ship OpenVZ, VBox, UML, OpenNebula, PowerHypervisor or
 # ESX
 %if 0%{?rhel}
----------------------

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




More information about the libvir-list mailing list