SHA256
1
0
forked from pool/wireshark

use caps only for 11.4+

OBS-URL: https://build.opensuse.org/package/show/network:utilities/wireshark?expand=0&rev=27
This commit is contained in:
Pavol Rusnak 2010-12-08 17:32:43 +00:00 committed by Git OBS Bridge
parent a66708668b
commit 27362d09a6

View File

@ -111,8 +111,10 @@ install -D -m 0644 wireshark.desktop %{buildroot}%{_datadir}/applications/wiresh
%clean
rm -rf %{buildroot}
%if 0%{?suse_version} > 1130
%pre
getent group wireshark >/dev/null || groupadd wireshark
%endif
%post -p /sbin/ldconfig
@ -135,7 +137,11 @@ getent group wireshark >/dev/null || groupadd wireshark
%{_bindir}/dftest
%{_bindir}/capinfos
%{_bindir}/randpkt
%if 0%{?suse_version} > 1130
%attr(0750,root,wireshark) %caps(cap_net_raw,cap_net_admin=eip) %{_bindir}/dumpcap
%else
%{_bindir}/dumpcap
%endif
%{_bindir}/rawshark
%{_libdir}/lib*.so.*
%{_libdir}/wireshark