diff --git a/wireshark.changes b/wireshark.changes index 884aacf..2ed98bd 100644 --- a/wireshark.changes +++ b/wireshark.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Aug 18 16:18:30 UTC 2013 - andreas.stieger@gmx.de + +- gtk3 version in openSUSE Factory (13.1) deprecates elements used + in wireshark 1.10.1. Revert back to gtk2 UI. + ------------------------------------------------------------------- Sat Jul 27 00:02:02 UTC 2013 - andreas.stieger@gmx.de diff --git a/wireshark.spec b/wireshark.spec index 543c762..19685d6 100644 --- a/wireshark.spec +++ b/wireshark.spec @@ -19,6 +19,9 @@ # disable caps for now %define use_caps 0 +# openSUSE Factory gtk3 deprecates gtk2 elements used +%define use_gtk3 0 + Name: wireshark Version: 1.10.1 Release: 0 @@ -42,7 +45,11 @@ BuildRequires: flex %if 0%{?suse_version} <= 1140 BuildRequires: gtk2-devel %else +%if 0%{?use_gtk3} BuildRequires: gtk3-devel +%else +BuildRequires: gtk2-devel +%endif %endif BuildRequires: krb5-devel BuildRequires: libcap-devel @@ -134,7 +141,9 @@ sed -i 's!^Exec=wireshark!Exec=/usr/bin/xdg-su -c /usr/bin/wireshark!' wireshark --without-zlib \ %endif %if 0%{?suse_version} > 1140 +%if 0%{?use_gtk3} --with-gtk3 \ +%endif %endif --with-ssl \ --with-gnutls=yes \