diff --git a/wireshark.spec b/wireshark.spec index 757e826..9dc9876 100644 --- a/wireshark.spec +++ b/wireshark.spec @@ -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