aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 cf89a9b..5f6d6ca 100644
--- a/packaging/rpm/wireshark.spec.in
+++ b/packaging/rpm/wireshark.spec.in
@@ -283,6 +283,9 @@ make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
+%if 0%{?suse_version}
+cd build
+%endif
%if %{with ninja}
NINJA=$(which ninja || which ninja-build)
DESTDIR=$RPM_BUILD_ROOT $NINJA install
@@ -295,6 +298,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
make DESTDIR=$RPM_BUILD_ROOT install_guides
%endif
%endif
+%if 0%{?suse_version}
+cd -
+%endif
# If we're being installed in an unusual prefix tell the loader where
# to find our libraries.