aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/rpm/SPECS/wireshark.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/rpm/SPECS/wireshark.spec.in')
-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