]> git.pld-linux.org Git - packages/qemu.git/commitdiff
- added NFS support auto/ti/qemu-2.0.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 21 May 2014 16:11:46 +0000 (18:11 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 21 May 2014 16:11:46 +0000 (18:11 +0200)
qemu.spec

index c9e020d6a8b2309ea7263be48089c36d127b38f7..2fcf34d2f1f7819d1a433435e39425dc4bd28031 100644 (file)
--- a/qemu.spec
+++ b/qemu.spec
@@ -1,4 +1,3 @@
-# TODO: libnfs >= 1.9.3
 #
 # Conditional build:
 %bcond_without sdl             # SDL UI and audio support
@@ -17,6 +16,7 @@
 %bcond_without brlapi          # brlapi support
 %bcond_without smartcard       # smartcard-nss support
 %bcond_without iscsi           # iscsi support
+%bcond_without libnfs          # NFS support
 %bcond_without seccomp         # seccomp support
 %bcond_without usbredir        # usb network redirection support
 %bcond_without system_seabios  # system seabios binary
@@ -79,6 +79,7 @@ BuildRequires:        libfdt-devel
 %{?with_rdma:BuildRequires:    libibverbs-devel}
 %{?with_iscsi:BuildRequires:   libiscsi-devel >= 1.4.0}
 BuildRequires: libjpeg-devel
+%{?with_nfs:BuildRequires:     libnfs-devel >= 1.9.3}
 BuildRequires: libpng-devel
 %{?with_rdma:BuildRequires:    librdmacm-devel}
 %{?with_seccomp:BuildRequires: libseccomp-devel >= 2.1.0}
@@ -205,6 +206,7 @@ Requires(pre):      /usr/bin/getgid
 Requires(pre): /usr/sbin/groupadd
 Requires(pre): /usr/sbin/useradd
 Requires:      glib2 >= 1:2.12
+%{?with_nfs:Requires:  libnfs >= 1.9.3}
 Requires:      libssh2 >= 1.2.8
 Requires:      systemd-units >= 38
 Provides:      group(qemu)
@@ -745,7 +747,7 @@ ln -s ../error.h qapi/error.h
        %{__enable_disable xen} \
        --enable-modules \
        --disable-netmap \
-       --disable-libnfs \
+       %{__enable_disable libnfs} \
        --enable-lzo \
        %{__enable_disable snappy} \
        --enable-quorum \
This page took 0.038099 seconds and 4 git commands to generate.