fix install warning group wireshark does not exist-using root
Signed-off-by: cherry530 <xuping33@huawei.com> (cherry picked from commit b4f06e205039bb665be2a7fb46453b2fd0eb2ed1)
This commit is contained in:
parent
17bd3ca84a
commit
6cb41d6625
@ -5,7 +5,7 @@
|
||||
Summary: Network traffic analyzer
|
||||
Name: wireshark
|
||||
Version: 3.6.0
|
||||
Release: 2
|
||||
Release: 3
|
||||
Epoch: 1
|
||||
License: GPL+
|
||||
Url: http://www.wireshark.org/
|
||||
@ -145,6 +145,9 @@ install -Dpm 644 %{SOURCE3} %{buildroot}%{_sysusersdir}/%{name}.conf
|
||||
touch %{buildroot}%{_bindir}/%{name}
|
||||
find %{buildroot} -type f -name "*.la" -delete
|
||||
|
||||
%pre
|
||||
getent group wireshark >/dev/null || groupadd -r wireshark
|
||||
exit 0
|
||||
#%post
|
||||
#%{?ldconfig}
|
||||
#if [ -S /run/udev/control ]; then
|
||||
@ -192,6 +195,9 @@ find %{buildroot} -type f -name "*.la" -delete
|
||||
%{_mandir}/man?/*
|
||||
|
||||
%changelog
|
||||
* Tue Feb 15 2022 xu_ping <xuping33n@huawei.com> - 3.6.0-3
|
||||
- fix install warning group wireshark does not exist -using root
|
||||
|
||||
* Wed Jan 19 2022 Chen Chen <chen_aka_jan@163.com> - 3.6.0-2
|
||||
- fix update error for add wireshark-cli Provides&Obsoletes
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user