public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: Fix test and extra build, export make the diference with %ctest , also
Date: Fri, 28 Aug 2026 13:32:18 GMT [thread overview]
Message-ID: <178792393889.1.12270442475790251195.rpms-opencv-bae9829c7f88@fedoraproject.org> (raw)
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
reply other threads:[~2026-08-28 13:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178792393889.1.12270442475790251195.rpms-opencv-bae9829c7f88@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox