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>
This commit is contained in:
parent
5f20746a29
commit
d944dda7af
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue