public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Install face_landmark_model
@ 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 : 02774e9201bea7bf66e73ca07e3ed2aacb733ff6
Author : Nicolas Chauvet <kwizart@gmail.com>
Date   : 2020-07-27T09:46:17+02:00
Stats  : +7/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/opencv/c/02774e9201bea7bf66e73ca07e3ed2aacb733ff6?branch=opencv5

Log:
Install face_landmark_model

---
diff --git a/opencv.spec b/opencv.spec
index a45970e..4232e30 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -262,6 +262,13 @@ pushd %{name}_contrib-%{version}
 %patch2 -p1
 popd
 
+# Install face_landmark_model
+mkdir -p .cache/data
+install -pm 0644 %{SOURCE3} .cache/data
+pushd .cache/data
+  xz -d face_landmark_model.dat.xz
+popd
+
 # Install ADE, needed for opencv_gapi
 mkdir -p .cache/ade
 install -pm 0644 %{SOURCE4} .cache/ade/
@@ -273,13 +280,6 @@ install -pm 0644 %{SOURCE4} .cache/ade/
 # non available on Fedora: FFMPEG, XINE
 mkdir -p build
 pushd build
-
-mkdir -p share/opencv4/testdata/cv/face
-install -pm 0644 %{SOURCE3} share/opencv4/testdata/cv/face
-pushd share/opencv4/testdata/cv/face
-  xz -d face_landmark_model.dat.xz
-popd
-
 # disabling IPP because it is closed source library from intel
 
 %cmake CMAKE_VERBOSE=1 \

^ 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: Install face_landmark_model Nicolas Chauvet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox