From 041fbc05eddd9ea28b90528d74c88e773c0952c7 Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Thu, 14 Mar 2013 16:56:19 +0000 Subject: SuSE's suse_update_desktop_file macro BuildRequires update-desktop-files. svn path=/trunk/; revision=48298 --- packaging/rpm/SPECS/wireshark.spec.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'packaging/rpm') diff --git a/packaging/rpm/SPECS/wireshark.spec.in b/packaging/rpm/SPECS/wireshark.spec.in index c30fcfa536..f53d9651a0 100644 --- a/packaging/rpm/SPECS/wireshark.spec.in +++ b/packaging/rpm/SPECS/wireshark.spec.in @@ -118,6 +118,10 @@ Requires: wireshark = %{version}-%{release} Requires: xdg-utils Requires: hicolor-icon-theme BuildRequires: desktop-file-utils +%if 0%{?suse_version} +# Need this for SuSE's suse_update_desktop_file macro +BuildRequires: update-desktop-files +%endif %if %{with_portaudio} BuildRequires: portaudio-devel Requires: portaudio @@ -177,6 +181,9 @@ rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install make DESTDIR=$RPM_BUILD_ROOT install_desktop_files %if 0%{?suse_version} +# SuSE's packaging conventions +# (http://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25suse_update_desktop_file) +# require this: %suse_update_desktop_file %{name} %else # Fedora's packaging guidelines (https://fedoraproject.org/wiki/Packaging:Guidelines) -- cgit v1.2.1