Disable nbd BR on RHEL.

This commit is contained in:
Richard W.M. Jones 2021-02-24 15:02:13 +00:00
parent 0221752ff7
commit b76726d608

View File

@ -9,7 +9,7 @@
Name: libnbd Name: libnbd
Version: 1.7.2 Version: 1.7.2
Release: 1%{?dist} Release: 2%{?dist}
Summary: NBD client library in userspace Summary: NBD client library in userspace
License: LGPLv2+ License: LGPLv2+
@ -62,7 +62,9 @@ BuildRequires: coreutils
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: gnutls-utils BuildRequires: gnutls-utils
BuildRequires: jq BuildRequires: jq
%if !0%{?rhel}
BuildRequires: nbd BuildRequires: nbd
%endif
BuildRequires: util-linux BuildRequires: util-linux
# On RHEL, maybe even in Fedora in future, we do not build qemu-img or # On RHEL, maybe even in Fedora in future, we do not build qemu-img or
@ -299,6 +301,9 @@ make %{?_smp_mflags} check || {
%changelog %changelog
* Wed Feb 24 2021 Richard W.M. Jones <rjones@redhat.com> - 1.7.2-2
- Disable nbd BR on RHEL.
* Mon Feb 22 2021 Richard W.M. Jones <rjones@redhat.com> - 1.7.2-1 * Mon Feb 22 2021 Richard W.M. Jones <rjones@redhat.com> - 1.7.2-1
- New upstream version 1.7.2. - New upstream version 1.7.2.