diff --git a/nfs-ganesha.spec b/nfs-ganesha.spec index 93c6c15..362e239 100644 --- a/nfs-ganesha.spec +++ b/nfs-ganesha.spec @@ -57,7 +57,7 @@ Requires: openSUSE-release %ifnarch i686 armv7hl %bcond_without ceph -#else +%else %bcond_with ceph %endif %global use_fsal_ceph %{on_off_switch ceph} @@ -165,7 +165,7 @@ BuildRequires: libcap-devel BuildRequires: libblkid-devel BuildRequires: libuuid-devel %if ( 0%{?with_mspac_support} ) -BuildRequires: libwbclient-devel +BuildRequires: libwbclient-devel %endif BuildRequires: gcc-c++ %if ( %{with_system_ntirpc} ) @@ -184,9 +184,10 @@ Requires: policycoreutils-python Requires: policycoreutils-python-utils %endif %if %{with sanitize_address} -BuildRequires: libasan +BuildRequires: libasan %endif Requires: nfs-utils + %if ( 0%{?with_rpcbind} ) %if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 ) || ( 0%{?suse_version} ) Requires: rpcbind @@ -287,6 +288,7 @@ Requires: dbus-1-python %else Requires: python3-dbus %endif + %if %{with gui_utils} %if ( 0%{?suse_version} ) BuildRequires: python-qt5-devel