public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Add compat symlinks
@ 2026-08-28 13:31 Nicolas Chauvet
0 siblings, 0 replies; only message in thread
From: Nicolas Chauvet @ 2026-08-28 13:31 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-28 13:31 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:31 [rpms/opencv] opencv5: Add compat symlinks Nicolas Chauvet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox