Skip to content

Commit

Permalink
fix rpm buildroot handling
Browse files Browse the repository at this point in the history
  • Loading branch information
ltn-chriskennedy committed Apr 23, 2024
1 parent 7d23706 commit 009128a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions specs/rsprobe.spec
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ mkdir -p %{_builddir}%{prefix}
cd %{_builddir}

# Clone RsProbe repository and checkout the specific tag
GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no" git clone https://github.com/groovybits/rscap.git %{_builddir}rsprobe
cd %{_builddir}rsprobe
GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no" git clone https://github.com/groovybits/rscap.git %{_builddir}/rsprobe
cd %{_builddir}/rsprobe
git checkout $RSCAP_VERSION
sh scripts/install_opencv.sh %{_builddir}%{prefix}
cd ..
Expand Down Expand Up @@ -286,7 +286,7 @@ echo "------------------------------------------------------------"
echo "Building RsProbe..."
echo "------------------------------------------------------------"

cd %{_builddir}rsprobe
cd %{_builddir}/rsprobe

# Set RUSTFLAGS for RPATH
export RUSTFLAGS="-C link-args=-Wl,-rpath,%{prefix}/lib:%{prefix}/lib64"
Expand Down

0 comments on commit 009128a

Please sign in to comment.