Sync with EPEL8

epel9
Douglas Kosovic 4 years ago
parent df9f185182
commit 439d5bb8a3

@ -1,7 +1,7 @@
Summary: NetworkManager VPN plugin for L2TP and L2TP/IPsec Summary: NetworkManager VPN plugin for L2TP and L2TP/IPsec
Name: NetworkManager-l2tp Name: NetworkManager-l2tp
Version: 1.8.6 Version: 1.8.6
Release: 3%{?dist} Release: 4%{?dist}
License: GPLv2+ License: GPLv2+
URL: https://github.com/nm-l2tp/NetworkManager-l2tp URL: https://github.com/nm-l2tp/NetworkManager-l2tp
Source: https://github.com/nm-l2tp/NetworkManager-l2tp/releases/download/%{version}/%{name}-%{version}.tar.xz Source: https://github.com/nm-l2tp/NetworkManager-l2tp/releases/download/%{version}/%{name}-%{version}.tar.xz
@ -23,7 +23,11 @@ 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
Recommends: (libreswan or strongswan)
%else
Recommends: (libreswan >= 4.0 or strongswan) Recommends: (libreswan >= 4.0 or strongswan)
%endif
%global __provides_exclude ^libnm-.*\\.so %global __provides_exclude ^libnm-.*\\.so
@ -49,8 +53,11 @@ if [ ! -f configure ]; then
fi fi
%configure \ %configure \
--disable-static \ --disable-static \
%if 0%{?rhel} == 8 %if 0%{?rhel} < 9
--enable-libreswan-dh2 \ --enable-libreswan-dh2 \
--with-nm-ipsec-nss-dir=%{_sysconfdir}/ipsec.d \
%else
--with-nm-ipsec-nss-dir=%{_sharedstatedir}/ipsec/nss \
%endif %endif
--with-pppd-plugin-dir=%{_libdir}/pppd/%{ppp_version} \ --with-pppd-plugin-dir=%{_libdir}/pppd/%{ppp_version} \
--with-dist-version=%{version}-%{release} --with-dist-version=%{version}-%{release}
@ -95,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-4
- Sync with EPEL8
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.6-3 * Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save