public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Fix test and extra build, export make the diference with %ctest , also
@ 2026-08-28 13:32
0 siblings, 0 replies; only message in thread
From: @ 2026-08-28 13:32 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/opencv
Branch : opencv5
Commit : bae9829c7f88f645fe27f55641c1d6e67875e75f
Author : Sérgio M. Basto <sergio@serjux.com>
Date : 2022-10-09T20:38:26+01:00
Stats : +3/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/opencv/c/bae9829c7f88f645fe27f55641c1d6e67875e75f?branch=opencv5
Log:
Fix test and extra build, export make the diference with %ctest , also
fix cmake macros changes arround 2020-07-29
---
diff --git a/opencv.spec b/opencv.spec
index 5e674c6..264b47b 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -388,12 +388,9 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope
%check
-# Check fails since we don't support most video
-# read/write capability and we don't provide a display
-# ARGS=-V increases output verbosity
#ifnarch ppc64
%if %{with tests}
- cp %SOURCE5 .
+ cp %SOURCE5 %{__cmake_builddir}
if [ -x /usr/libexec/Xorg ]; then
Xorg=/usr/libexec/Xorg
else
@@ -401,7 +398,8 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope
fi
$Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile ./xorg.log -config ./xorg.conf -configdir . :99 &
export DISPLAY=:99
- LD_LIBRARY_PATH=%{_builddir}/%{name}-%{version}/build/lib:$LD_LIBARY_PATH %ctest || :
+ export LD_LIBRARY_PATH=%{_builddir}/%{name}-%{version}/%{__cmake_builddir}/lib:$LD_LIBARY_PATH
+ %ctest || :
%endif
#endif
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-28 13:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-28 13:32 [rpms/opencv] opencv5: Fix test and extra build, export make the diference with %ctest , also
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox