Update the RPM packaging to use the new Gtk ./configure options

Follow-up to I0a6cd56f92b0f7dc8f06aa93f36622887d506fb5.

Change-Id: Ie5bcffb84b1d6298b2d0f93205491c9a10b603c5
Reviewed-on: https://code.wireshark.org/review/14907
Reviewed-by: João Valverde <j@v6e.pt>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
Jeff Morriss 2016-04-13 17:10:56 -04:00 committed by Alexis La Goutte
parent 62cac1d8e6
commit 6b963e9e1e
1 changed files with 4 additions and 5 deletions

View File

@ -241,14 +241,13 @@ This package contains the GTK+ Wireshark GUI and desktop integration files.
%endif
%endif
%if %{with gtk2}
--with-gtk2 \
--with-gtk=2 \
%else
--without-gtk2 \
%endif
%if %{with gtk3}
--with-gtk3 \
--with-gtk=3 \
%else
--without-gtk3 \
--without-gtk \
%endif
%endif
--disable-warnings-as-errors