From cd2a65fac033856bdbabdf029370ba95fdfd4b13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Wed, 18 May 2022 21:27:54 +0200 Subject: RPM: updates for Fedora 36 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot --- redhat/applications/knemo/knemo.spec | 2 ++ redhat/applications/wlassistant/wlassistant.spec | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'redhat/applications') diff --git a/redhat/applications/knemo/knemo.spec b/redhat/applications/knemo/knemo.spec index 630273418..29ef60d10 100644 --- a/redhat/applications/knemo/knemo.spec +++ b/redhat/applications/knemo/knemo.spec @@ -98,6 +98,7 @@ BuildRequires: libidn-devel BuildRequires: openssl-devel # Wireless support +%define with_wifi 1 %if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 BuildRequires: wireless-tools-devel %endif @@ -159,6 +160,7 @@ fi -DLIB_INSTALL_DIR="%{tde_libdir}" \ \ -DWITH_ALL_OPTIONS=ON \ + %{!?with_wifi:-DWITH_LIBIW=OFF} \ -DWITH_GCC_VISIBILITY=ON \ \ -DBUILD_ALL=ON \ diff --git a/redhat/applications/wlassistant/wlassistant.spec b/redhat/applications/wlassistant/wlassistant.spec index 2eb075d59..823f48b66 100644 --- a/redhat/applications/wlassistant/wlassistant.spec +++ b/redhat/applications/wlassistant/wlassistant.spec @@ -171,7 +171,7 @@ fi -DLIB_INSTALL_DIR=%{tde_libdir} \ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ \ - -DBUILD_ALL=on \ + -DBUILD_ALL=ON \ .. %__make %{?_smp_mflags} -- cgit v1.2.1