From 254470b896d04529906f1479abf1d0bcfa88bd95 Mon Sep 17 00:00:00 2001 From: Douglas Kosovic Date: Sun, 7 Feb 2021 21:56:06 +1000 Subject: [PATCH] Correct EPEL8 conditional --- NetworkManager-l2tp.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/NetworkManager-l2tp.spec b/NetworkManager-l2tp.spec index c69e040..861dfa5 100644 --- a/NetworkManager-l2tp.spec +++ b/NetworkManager-l2tp.spec @@ -23,7 +23,7 @@ Requires: dbus Requires: NetworkManager >= 1:1.8.0 Requires: ppp = %{ppp_version} Requires: xl2tpd -%if 0%{?rhel} < 9 +%if 0%{?rhel} == 8 Recommends: (libreswan or strongswan) %else Recommends: (libreswan >= 4.0 or strongswan) @@ -53,7 +53,7 @@ if [ ! -f configure ]; then fi %configure \ --disable-static \ -%if 0%{?rhel} < 9 +%if 0%{?rhel} == 8 --enable-libreswan-dh2 \ --with-nm-ipsec-nss-dir=%{_sysconfdir}/ipsec.d \ %else @@ -102,6 +102,9 @@ exit 0 %{_datadir}/metainfo/network-manager-l2tp.metainfo.xml %changelog +* Sun Feb 07 2021 Douglas Kosovic - 1.8.6-5 +- Correct EPEL8 conditional + * Sun Feb 07 2021 Douglas Kosovic - 1.8.6-4 - Sync with EPEL8