From e836e36b34ccdddecf971d0be49dbf601102d8c8 Mon Sep 17 00:00:00 2001 From: xh Date: Wed, 5 Feb 2025 07:50:19 +0000 Subject: [PATCH] fix update warning --- samba.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/samba.spec b/samba.spec index 69d3bec..108c0fc 100644 --- a/samba.spec +++ b/samba.spec @@ -53,7 +53,7 @@ Name: samba Version: 4.19.3 -Release: 6 +Release: 7 Summary: A suite for Linux to interoperate with Windows License: GPL-3.0-or-later AND LGPL-3.0-or-later @@ -995,13 +995,16 @@ fi %if %with_libwbclient %pre -n libwbclient if [ $1 -gt 1 ];then - rm -rf %{_libdir}/samba/wbclient/ rm -rf /etc/alternatives/libwbclient.so* rm -rf /var/lib/alternatives/libwbclient.so* fi %{?ldconfig} %ldconfig_scriptlets -n libwbclient + +%posttrans -n libwbclient +rm -rf %{_libdir}/samba/wbclient/ + #endif with_libwbclient %endif @@ -3595,6 +3598,12 @@ fi %endif %changelog +* Wed Feb 05 2025 xinghe - 4.19.3-7 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:fix update warning + * Tue Sep 24 2024 xinghe - 4.19.3-6 - Type:bugfix - ID:NA -- Gitee