]> TLD Linux GIT Repositories - packages/libvirt.git/blobdiff - libvirt.spec
- fix deps (qcow-create not needed, copy-pasted deps for ch)
[packages/libvirt.git] / libvirt.spec
index 37278078d34e5356597faeb1704d2c5265b840df..3accf2969d58c9ac11df6e3847f256add8f6fa0c 100644 (file)
 %undefine      with_libxl
 %endif
 
+# Cloud-Hypervisor is available only on x86_64
+%ifnarch %{x8664}
+%undefine      with_ch
+%endif
+
 # ceph >= 14.0 no longer support 32-bit archs
 %ifarch %{ix86}
 %undefine      with_ceph
@@ -45,7 +50,7 @@ Summary:      Toolkit to interact with virtualization capabilities
 Summary(pl.UTF-8):     Narzędzia współpracujące z funkcjami wirtualizacji
 Name:          libvirt
 Version:       7.5.0
-Release:       1
+Release:       3
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       http://libvirt.org/sources/libvirt-%{version}.tar.xz
@@ -108,6 +113,7 @@ BuildRequires:      pkgconfig
 %{?with_polkit:BuildRequires:  polkit}
 %{?with_polkit:BuildRequires:  polkit-devel >= 0.90}
 BuildRequires: readline-devel >= 7.0
+BuildRequires: rpcsvc-proto
 BuildRequires: rpmbuild(macros) >= 1.753-5
 %{?with_sanlock:BuildRequires: sanlock-devel >= 0.8}
 BuildRequires: sheepdog
@@ -302,8 +308,6 @@ Summary:    Server side driver required to run Cloud-Hypervisor
 Summary(pl.UTF-8):     Sterownik wymagany po stronie serwera do uruchamiania gości Cloud-Hypervisor
 Group:         Libraries
 Requires:      %{name}-daemon = %{version}-%{release}
-Requires:      /usr/sbin/qcow-create
-Requires:      xen >= 4.4
 Provides:      libvirt(hypervisor)
 
 %description daemon-ch
@@ -319,7 +323,6 @@ Summary:    Server side driver required to run XEN guests (xenlight)
 Summary(pl.UTF-8):     Sterownik wymagany po stronie serwera do uruchamiania gości XEN (xenlight)
 Group:         Libraries
 Requires:      %{name}-daemon = %{version}-%{release}
-Requires:      /usr/sbin/qcow-create
 Requires:      xen >= 4.4
 Provides:      libvirt(hypervisor)