aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/rpm
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2016-04-13 17:10:56 -0400
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2016-04-14 08:12:32 +0000
commit6b963e9e1e5366f474bdc7b0992ca077b010ab31 (patch)
treefedfdf3a772ce737cb078e737ed81eb86e7c68cc /packaging/rpm
parent62cac1d8e66156a736e78a84e9e8ce60adea85be (diff)
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>
Diffstat (limited to 'packaging/rpm')
-rw-r--r--packaging/rpm/SPECS/wireshark.spec.in9
1 files changed, 4 insertions, 5 deletions
diff --git a/packaging/rpm/SPECS/wireshark.spec.in b/packaging/rpm/SPECS/wireshark.spec.in
index c7fc0e4a59..9a96863e73 100644
--- a/packaging/rpm/SPECS/wireshark.spec.in
+++ b/packaging/rpm/SPECS/wireshark.spec.in
@@ -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