public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Nicolas Chauvet <kwizart@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: Add compat symlinks
Date: Fri, 28 Aug 2026 13:31:24 GMT [thread overview]
Message-ID: <178792388439.1.16636828016527322391.rpms-opencv-159a977bbd18@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/opencv
Branch : opencv5
Commit : 159a977bbd181fac1ba847d66396efcb1fb7bcdb
Author : Nicolas Chauvet <kwizart@gmail.com>
Date : 2019-12-19T09:13:00+01:00
Stats : +9/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/opencv/c/159a977bbd181fac1ba847d66396efcb1fb7bcdb?branch=opencv5
Log:
Add compat symlinks
---
diff --git a/opencv.spec b/opencv.spec
index 30ac293..b5d6a54 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -338,6 +338,11 @@ ln -s -r %{buildroot}%{_jnidir}/libopencv_java%{javaver}.so %{buildroot}%{_jnidi
ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/opencv.jar
%endif
+# For compatiblity with downstream expectation
+ln -s opencv4/opencv2 %{buildroot}%{_includedir}
+ln -s opencv4 %{buildroot}%{_datadir}/opencv
+
+
%check
# Check fails since we don't support most video
# read/write capability and we don't provide a display
@@ -361,6 +366,8 @@ popd
%files
%doc README.md
%{_bindir}/opencv_*
+# Symlink for compatibilty with older version
+%{_datadir}/opencv
%dir %{_datadir}/opencv4
%{_datadir}/opencv4/haarcascades
%{_datadir}/opencv4/lbpcascades
@@ -392,6 +399,8 @@ popd
%endif
%files devel
+# Symlink for compatibilty with older version
+%{_includedir}/opencv2
%dir %{_includedir}/opencv4
%{_includedir}/opencv4/opencv2
%{_libdir}/lib*.so
reply other threads:[~2026-08-28 13:31 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=178792388439.1.16636828016527322391.rpms-opencv-159a977bbd18@fedoraproject.org \
--to=kwizart@gmail.com \
--cc=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