Accepting request 875242 from home:jfehlig:branches:Virtualization

- spec: Only enable system nbd interop tests if
  suse_version >= 1550

OBS-URL: https://build.opensuse.org/request/show/875242
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libnbd?expand=0&rev=2
This commit is contained in:
James Fehlig 2021-02-25 23:50:55 +00:00 committed by Git OBS Bridge
parent 8951fef0cd
commit f3b58bb72c
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Feb 25 23:25:24 UTC 2021 - James Fehlig <jfehlig@suse.com>
- spec: Only enable system nbd interop tests if
suse_version >= 1550
-------------------------------------------------------------------
Tue Jan 26 23:36:04 UTC 2021 - jfehlig@suse.com

View File

@ -21,7 +21,7 @@ Name: libnbd
Version: 1.7.1
Release: 0
Summary: NBD client library in userspace
License: LGPL-2.0-or-later
License: LGPL-2.1-or-later
URL: https://github.com/libguestfs/libnbd
Source0: %{name}-%{version}.tar.gz
@ -42,7 +42,9 @@ BuildRequires: pkgconfig(libxml-2.0)
# Only for running the test suite.
BuildRequires: gcc-c++
BuildRequires: jq
%if 0%{?suse_version} >= 1550
BuildRequires: nbd
%endif
BuildRequires: qemu-tools