From 05906b7fadce7e5a3590eeb643e266a3884d1005 Mon Sep 17 00:00:00 2001 From: Chunmei Xu Date: Tue, 4 Apr 2023 14:12:43 +0800 Subject: [PATCH] do not remove libtiff for spice-vdagent Signed-off-by: Chunmei Xu --- ...not-remove-libtiff-for-spice-vdagent.patch | 25 +++++++++++++++++++ lorax-templates-anolis.spec | 6 ++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 1009-do-not-remove-libtiff-for-spice-vdagent.patch diff --git a/1009-do-not-remove-libtiff-for-spice-vdagent.patch b/1009-do-not-remove-libtiff-for-spice-vdagent.patch new file mode 100644 index 0000000..40fa7fa --- /dev/null +++ b/1009-do-not-remove-libtiff-for-spice-vdagent.patch @@ -0,0 +1,25 @@ +From ccbd9e65c2ecb84a35b4ae2573686cd9f4e31537 Mon Sep 17 00:00:00 2001 +From: Chunmei Xu +Date: Tue, 4 Apr 2023 14:08:51 +0800 +Subject: [PATCH] do not remove libtiff(for spice-vdagent) + +Signed-off-by: Chunmei Xu +--- + 80-anolis/runtime-cleanup.tmpl | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/80-anolis/runtime-cleanup.tmpl b/80-anolis/runtime-cleanup.tmpl +index bea442f..c23e48d 100644 +--- a/80-anolis/runtime-cleanup.tmpl ++++ b/80-anolis/runtime-cleanup.tmpl +@@ -54,7 +54,6 @@ removepkg mtools glibc-gconv-extra + ## various other things we remove to save space + removepkg diffutils file + removepkg libasyncns +-removepkg libtiff + removepkg lvm2-libs + removepkg mobile-broadband-provider-info + removepkg rmt rpcbind squashfs-tools +-- +2.19.1.6.gb485710b + diff --git a/lorax-templates-anolis.spec b/lorax-templates-anolis.spec index e0570a6..d7821c6 100644 --- a/lorax-templates-anolis.spec +++ b/lorax-templates-anolis.spec @@ -1,4 +1,4 @@ -%define anolis_release 8 +%define anolis_release 9 Name: lorax-templates-anolis Version: 37.0 @@ -19,6 +19,7 @@ Patch1005: 1005-do-not-remove-libauparse.so.0-which-is-needed-by-aud.patch Patch1006: 1006-not-delete-auditctl-which-is-needed-by-anaconda.patch Patch1007: 1007-remove-gtk4-files.patch Patch1008: 1008-remove-some-unused-package.patch +Patch1009: 1009-do-not-remove-libtiff-for-spice-vdagent.patch # Where are these supposed to end up? %define templatedir %{_datadir}/lorax/templates.d/80-anolis @@ -43,6 +44,9 @@ cp -a 80-anolis/* $RPM_BUILD_ROOT/%{templatedir} %{templatedir}/* %changelog +* Tue Apr 04 2023 Chunmei Xu - 37.0.1-9 +- do not remote libtiff for spice-vdagent + * Thu Mar 23 2023 happy_orange - 37.0.1-8 - remove the unused fonts package -- Gitee