diff options
author | Dario Lombardo <lomato@gmail.com> | 2018-04-13 08:55:05 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-04-16 08:53:22 +0000 |
commit | 9f851c284f86306f8a795646443e8fe070c8a827 (patch) | |
tree | f72428963753a477ca5be53a72d0373348a160ac | |
parent | 5594a9ba67473f4b9ca8d5e34e37e3134fa6362b (diff) |
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>
-rw-r--r-- | packaging/rpm/wireshark.spec.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/rpm/wireshark.spec.in b/packaging/rpm/wireshark.spec.in index 22f745b614..613bf1ee93 100644 --- a/packaging/rpm/wireshark.spec.in +++ b/packaging/rpm/wireshark.spec.in @@ -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* |