diff --git a/1011-remove-the-nm-applet.patch b/1011-remove-the-nm-applet.patch new file mode 100644 index 0000000000000000000000000000000000000000..07acbf78d0929c277a8dc799a8785ef7d78802fe --- /dev/null +++ b/1011-remove-the-nm-applet.patch @@ -0,0 +1,24 @@ +From f36e74cd5b8da1c01f1711f8024178a19be5fd0e Mon Sep 17 00:00:00 2001 +From: happy_orange +Date: Tue, 18 Apr 2023 10:36:35 +0800 +Subject: [PATCH 1/1] remove the nm-applet + +--- + 80-anolis/runtime-cleanup.tmpl | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/80-anolis/runtime-cleanup.tmpl b/80-anolis/runtime-cleanup.tmpl +index c23e48d..68d6abe 100644 +--- a/80-anolis/runtime-cleanup.tmpl ++++ b/80-anolis/runtime-cleanup.tmpl +@@ -118,6 +118,7 @@ removefrom xfsdump --allbut /usr/sbin/* + ## other package specific removals + removefrom gsettings-desktop-schemas /usr/share/locale/* + removefrom NetworkManager-libnm /usr/share/locale/*/NetworkManager.mo ++removefrom network-manager-applet /usr/bin/nm-applet + removefrom nm-connection-editor /usr/share/applications/* + removefrom atk /usr/share/locale/* + removefrom audit /etc/* /usr/sbin/aureport +-- +2.31.1 + diff --git a/lorax-templates-anolis.spec b/lorax-templates-anolis.spec index 7e7ff763688df6b9ec32edf24458f4ca3892d6e0..f9e62d220c671290a8f3b93b504e0b6a6a275680 100644 --- a/lorax-templates-anolis.spec +++ b/lorax-templates-anolis.spec @@ -1,4 +1,4 @@ -%define anolis_release 10 +%define anolis_release 11 Name: lorax-templates-anolis Version: 37.0 @@ -21,6 +21,7 @@ Patch1007: 1007-remove-gtk4-files.patch Patch1008: 1008-remove-some-unused-package.patch Patch1009: 1009-do-not-remove-libtiff-for-spice-vdagent.patch Patch1010: 1010-remove-ia32-package.patch +Patch1011: 1011-remove-the-nm-applet.patch # Where are these supposed to end up? %define templatedir %{_datadir}/lorax/templates.d/80-anolis @@ -45,6 +46,9 @@ cp -a 80-anolis/* $RPM_BUILD_ROOT/%{templatedir} %{templatedir}/* %changelog +* Tue Apr 18 2023 happy_orange - 37.0.1-10 +- remove the nm-applet bindir + * Mon Apr 17 2023 happy_orange - 37.0.1-10 - remove the ia32 package