From: Nick Porter Date: Thu, 31 Aug 2023 11:31:11 +0000 (+0100) Subject: Build with libwbclient for rpm packages X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68e01e0c0cb8c04185ca5c11de9356f387f7519d;p=thirdparty%2Ffreeradius-server.git Build with libwbclient for rpm packages --- diff --git a/redhat/freeradius.spec b/redhat/freeradius.spec index a3f985b9839..05ff79eb418 100644 --- a/redhat/freeradius.spec +++ b/redhat/freeradius.spec @@ -28,7 +28,7 @@ %bcond_with symas_openldap # Build with the samba project's winbind client -%bcond_with wbclient +%bcond_without wbclient # Enable asserts and additional debugging %bcond_with developer @@ -89,8 +89,8 @@ BuildRequires: libtalloc-devel BuildRequires: net-snmp-devel BuildRequires: net-snmp-utils %if %{with wbclient} -%{?el7:BuildRequires: libwbclient-devel} -%{?el7:BuildRequires: samba-devel} +BuildRequires: libwbclient-devel +BuildRequires: samba-devel %endif %if %{?_unitdir:1}%{!?_unitdir:0} BuildRequires: systemd-devel @@ -123,7 +123,7 @@ Requires: libtalloc Requires: net-snmp Requires: readline %if %{with wbclient} -%{?el7:Requires: libwbclient} +Requires: libwbclient %endif Requires: zlib Requires: pam