summaryrefslogtreecommitdiff
path: root/packaging/rpm
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2013-11-21 20:20:29 +0000
committerJeff Morriss <jeff.morriss.ws@gmail.com>2013-11-21 20:20:29 +0000
commitebc4cbc74e4f5d44befcf59c2363a37a2bb46a46 (patch)
tree656082a276b296d68e102f85bb27b04dfaa2c16b /packaging/rpm
parenteabaddaca96a79f609a8235fb09e6151f6b9387f (diff)
downloadwireshark-ebc4cbc74e4f5d44befcf59c2363a37a2bb46a46.tar.gz
Attempt to fix Qt dependencies for SUSE.
svn path=/trunk/; revision=53490
Diffstat (limited to 'packaging/rpm')
-rw-r--r--packaging/rpm/SPECS/wireshark.spec.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/rpm/SPECS/wireshark.spec.in b/packaging/rpm/SPECS/wireshark.spec.in
index e98fa00ec6..0957de4b31 100644
--- a/packaging/rpm/SPECS/wireshark.spec.in
+++ b/packaging/rpm/SPECS/wireshark.spec.in
@@ -155,8 +155,13 @@ Contains the Gnome (GTK+) Wireshark GUI and desktop integration files.
%package qt
Summary: Qt GUI for Wireshark
Group: Applications/Internet
+%if 0%{?suse_version}
+Requires: libqt4 >= @QT_MIN_VERSION@
+BuildRequires: libqt4-devel >= @QT_MIN_VERSION@
+%else
Requires: qt >= @QT_MIN_VERSION@
BuildRequires: qt-devel >= @QT_MIN_VERSION@
+%endif
Requires: %{name} = %{version}-%{release}
Requires: xdg-utils
Requires: hicolor-icon-theme