From d944dda7af127441cf1b7a9ce94b276131b6325c Mon Sep 17 00:00:00 2001 From: Dario Lombardo Date: Wed, 11 Apr 2018 10:28:17 +0200 Subject: RPM: set the cmake bindir in openSUSE. Change-Id: I41edf52f8021938877bc53dd5eea4ff29cf4827e Reviewed-on: https://code.wireshark.org/review/26878 Reviewed-by: Alexis La Goutte Reviewed-by: Anders Broman --- packaging/rpm/wireshark.spec.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packaging/rpm/wireshark.spec.in b/packaging/rpm/wireshark.spec.in index 5ed94d05ee..b5185be69d 100644 --- a/packaging/rpm/wireshark.spec.in +++ b/packaging/rpm/wireshark.spec.in @@ -205,6 +205,11 @@ Requires: libmaxminddb %prep %setup -q -n %{name}-%{package_version} +# Suse has a wrong bindir for cmake. Set it to the right one. +%if 0%{?suse_version} +%define _bindir /usr/bin +%endif + # Don't specify the prefix here: configure is a macro which expands to set # the prefix and everything else too. If you need to change the prefix # set _prefix (note the underscore) either in this file or on rpmbuild's -- cgit v1.2.3