diff --git a/0001-nm-applet-no-notifications.patch b/0001-nm-applet-no-notifications.patch
new file mode 100644
index 0000000..be6b6bf
--- /dev/null
+++ b/0001-nm-applet-no-notifications.patch
@@ -0,0 +1,13 @@
+diff --git a/org.gnome.nm-applet.gschema.xml.in b/org.gnome.nm-applet.gschema.xml.in
+index 9e2887e..4f8c16a 100644
+--- a/org.gnome.nm-applet.gschema.xml.in
++++ b/org.gnome.nm-applet.gschema.xml.in
+@@ -17,7 +17,7 @@
+ Set this to true to disable notifications when connecting to or disconnecting from a VPN.
+
+
+- false
++ true
+ Suppress networks available notifications
+ Set this to true to disable notifications when Wi-Fi networks are available.
+
diff --git a/libnma-1.8.28.tar.xz b/libnma-1.8.28.tar.xz
deleted file mode 100644
index 5086131..0000000
Binary files a/libnma-1.8.28.tar.xz and /dev/null differ
diff --git a/libnma-1.8.30.tar.xz b/libnma-1.8.30.tar.xz
new file mode 100644
index 0000000..21dd3e6
Binary files /dev/null and b/libnma-1.8.30.tar.xz differ
diff --git a/libnma.spec b/libnma.spec
index 0bf31a0..8ca330a 100644
--- a/libnma.spec
+++ b/libnma.spec
@@ -2,10 +2,10 @@
%global glib2_version %(pkg-config --modversion glib-2.0 2>/dev/null || echo bad)
%global nm_version 1:1.8.0
%global mbp_version 0.20090602
-%global old_libnma_version 1.8.26
-%global rpm_version 1.8.28
-%global real_version 1.8.28
-%global release_version 2
+%global old_libnma_version 1.8.28
+%global rpm_version 1.8.30
+%global real_version 1.8.30
+%global release_version 1
%global real_version_major %(printf '%s' '%{real_version}' | sed -n 's/^\\([1-9][0-9]*\\.[1-9][0-9]*\\)\\.[1-9][0-9]*$/\\1/p')
Name: libnma
@@ -15,6 +15,7 @@ Release: %{release_version}
License: GPLv2+ and LGPLv2+
URL: https://gitlab.gnome.org/GNOME/libnma/
Source0: https://download.gnome.org/sources/libnma/%{real_version_major}/%{name}-%{real_version}.tar.xz
+Patch1: 0001-nm-applet-no-notifications.patch
Requires: mobile-broadband-provider-info >= %{mbp_version}
@@ -23,7 +24,7 @@ Obsoletes: libnma < %{old_libnma_version}
BuildRequires: gcc gettext-devel pkgconfig meson gtk-doc iso-codes-devel gcr-devel
BuildRequires: NetworkManager-libnm-devel >= %{nm_version} gtk3-devel >= 3.10
BuildRequires: ModemManager-glib-devel >= 1.0 glib2-devel >= 2.32
-BuildRequires: gobject-introspection-devel >= 0.10.3
+BuildRequires: gobject-introspection-devel >= 0.10.3 pkgconfig
BuildRequires: mobile-broadband-provider-info-devel >= %{mbp_version}
%description
@@ -76,6 +77,11 @@ GUI tools with NetworkManager.
%{_datadir}/gtk-doc
%changelog
+* Fri May 28 2021 weijin deng - 1.8.30-1
+- Upgrade to 1.8.30
+- Update old_libnma_version, rpm_version, real_version, release_version, BuildRequires
+- Add patch
+
* Wed Sep 2 2020 jinzhimin - 1.8.28-2
- Fix nm-connection-editor command core dump issue