Fix max allowed NM version

epel8
Dan Williams 10 years ago
parent 1cbade2886
commit 9f7650ebd5

@ -17,6 +17,7 @@ Group: System Environment/Base
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.0/%{name}-%{version}%{?commit:-%{commit}}.tar.xz
Patch0: 0001-core-use-a-default-renegotiation-interval-of-zero-rh.patch
Patch1: nm-max-allowed.patch
BuildRequires: gtk3-devel
BuildRequires: dbus-devel
@ -61,6 +62,7 @@ the OpenVPN server with NetworkManager (GNOME files).
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1
%patch1 -p1
%build
if [ ! -f configure ]; then

@ -0,0 +1,12 @@
diff -up NetworkManager-openvpn-1.0.0/configure.ac.foo NetworkManager-openvpn-1.0.0/configure.ac
--- NetworkManager-openvpn-1.0.0/configure.ac.foo 2015-04-08 10:18:31.993032447 -0500
+++ NetworkManager-openvpn-1.0.0/configure.ac 2015-04-08 10:18:49.078818846 -0500
@@ -71,7 +71,7 @@ PKG_CHECK_MODULES(NM,
libnm-util >= 0.9.10
libnm-glib >= 0.9.10
libnm-glib-vpn >= 0.9.10)
-NM_CFLAGS="$NM_CFLAGS -DNM_VERSION_MAX_ALLOWED=NM_VERSION_0_9_10"
+NM_CFLAGS="$NM_CFLAGS -DNM_VERSION_MAX_ALLOWED=NM_VERSION_1_0_99"
AC_SUBST(NM_CFLAGS)
AC_SUBST(NM_LIBS)
Loading…
Cancel
Save