aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2018-04-11 10:28:17 +0200
committerAnders Broman <a.broman58@gmail.com>2018-04-11 21:38:29 +0000
commitd944dda7af127441cf1b7a9ce94b276131b6325c (patch)
tree50cea7226a78fa09dab5ec24065e3d5fb07a85ec
parent5f20746a29643f292e6a18c47959fef3e52dfea9 (diff)
RPM: set the cmake bindir in openSUSE.
Change-Id: I41edf52f8021938877bc53dd5eea4ff29cf4827e Reviewed-on: https://code.wireshark.org/review/26878 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--packaging/rpm/wireshark.spec.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/rpm/wireshark.spec.in b/packaging/rpm/wireshark.spec.in
index 5ed94d0..b5185be 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