RPM: restore the bindir in openSUSE before packing.

Change-Id: I6e60d1a299528c0f1603b56704a8c47f18c66d08
Reviewed-on: https://code.wireshark.org/review/26926
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Dario Lombardo 2018-04-13 08:55:05 +02:00 committed by Anders Broman
parent 5594a9ba67
commit 9f851c284f
1 changed files with 6 additions and 0 deletions

View File

@ -348,6 +348,12 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%endif
%files
%if 0%{?suse_version}
# Before packing, we need to restore the bindir to the wireshark one
%define _bindir /usr/local/bin
%endif
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README*