Correct EPEL8 conditional

epel8
Douglas Kosovic 4 years ago
parent 439d5bb8a3
commit 254470b896

@ -23,7 +23,7 @@ Requires: dbus
Requires: NetworkManager >= 1:1.8.0 Requires: NetworkManager >= 1:1.8.0
Requires: ppp = %{ppp_version} Requires: ppp = %{ppp_version}
Requires: xl2tpd Requires: xl2tpd
%if 0%{?rhel} < 9 %if 0%{?rhel} == 8
Recommends: (libreswan or strongswan) Recommends: (libreswan or strongswan)
%else %else
Recommends: (libreswan >= 4.0 or strongswan) Recommends: (libreswan >= 4.0 or strongswan)
@ -53,7 +53,7 @@ if [ ! -f configure ]; then
fi fi
%configure \ %configure \
--disable-static \ --disable-static \
%if 0%{?rhel} < 9 %if 0%{?rhel} == 8
--enable-libreswan-dh2 \ --enable-libreswan-dh2 \
--with-nm-ipsec-nss-dir=%{_sysconfdir}/ipsec.d \ --with-nm-ipsec-nss-dir=%{_sysconfdir}/ipsec.d \
%else %else
@ -102,6 +102,9 @@ exit 0
%{_datadir}/metainfo/network-manager-l2tp.metainfo.xml %{_datadir}/metainfo/network-manager-l2tp.metainfo.xml
%changelog %changelog
* Sun Feb 07 2021 Douglas Kosovic <doug@uq.edu.au> - 1.8.6-5
- Correct EPEL8 conditional
* Sun Feb 07 2021 Douglas Kosovic <doug@uq.edu.au> - 1.8.6-4 * Sun Feb 07 2021 Douglas Kosovic <doug@uq.edu.au> - 1.8.6-4
- Sync with EPEL8 - Sync with EPEL8

Loading…
Cancel
Save