aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2018-04-13 08:55:05 +0200
committerAnders Broman <a.broman58@gmail.com>2018-04-16 08:53:22 +0000
commit9f851c284f86306f8a795646443e8fe070c8a827 (patch)
treef72428963753a477ca5be53a72d0373348a160ac
parent5594a9ba67473f4b9ca8d5e34e37e3134fa6362b (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.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/rpm/wireshark.spec.in b/packaging/rpm/wireshark.spec.in
index 22f745b..613bf1e 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*