Browse Source

fix building under with_rt=no

Ralf S. Engelschall 20 years ago
parent
commit
78ace359f3
1 changed files with 7 additions and 1 deletions
  1. 7 1
      rekall/rekall.spec

+ 7 - 1
rekall/rekall.spec

@@ -144,7 +144,13 @@ AutoReqProv:  no
     #   post-adjust installation
     %{l_shtool} mkdir -f -p -m 755 \
         $RPM_BUILD_ROOT%{l_prefix}/libexec/rekall
-    for bin in rekall rekallManual rekallrt; do
+    for bin in \
+        rekall \
+        rekallManual \
+%if "%{with_rt}" == "yes"
+        rekallrt \
+%endif
+    ; do
         mv $RPM_BUILD_ROOT%{l_prefix}/bin/$bin \
            $RPM_BUILD_ROOT%{l_prefix}/libexec/rekall/$bin
         strip $RPM_BUILD_ROOT%{l_prefix}/libexec/rekall/$bin >/dev/null 2>&1 || true