public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: cmake: use relative PATH on OPENCV_CONFIG_INSTALL_PATH, fixes rhbz #1721876
@ 2026-08-28 13:31 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-28 13:31 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/opencv
            Branch : opencv5
            Commit : f1638db7ab71d806181e0561eac2216b8b3c34ea
            Author : Sérgio M. Basto <sergio@serjux.com>
            Date   : 2019-06-26T22:08:14+01:00
            Stats  : +6/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/opencv/c/f1638db7ab71d806181e0561eac2216b8b3c34ea?branch=opencv5

            Log:
            cmake: use relative PATH on OPENCV_CONFIG_INSTALL_PATH, fixes rhbz #1721876
cmake: don't set ENABLE_PKG_CONFIG

---
diff --git a/opencv.spec b/opencv.spec
index 35cbfa0..1ba2895 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -59,7 +59,7 @@
 
 Name:           opencv
 Version:        3.4.6
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Collection of algorithms for computer vision
 # This is normal three clause BSD.
 License:        BSD
@@ -295,8 +295,7 @@ pushd build
  -DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib-%{version}/modules \
  -DWITH_LIBV4L=ON \
  -DWITH_OPENMP=ON \
- -DENABLE_PKG_CONFIG=OFF \
- -DOPENCV_CONFIG_INSTALL_PATH=%{_libdir}/cmake/OpenCV \
+ -DOPENCV_CONFIG_INSTALL_PATH=%{_lib}/cmake/OpenCV \
  %{?with_gdcm: -DWITH_GDCM=ON } \
  %{?with_libmfx: -DWITH_MFX=ON } \
  %{?with_clp: -DWITH_CLP=ON } \
@@ -430,6 +429,10 @@ popd
 %{_libdir}/libopencv_xphoto.so.%{abiver}*
 
 %changelog
+* Tue Jun 25 2019 Sérgio Basto <sergio@serjux.com> - 3.4.6-4
+- cmake: use relative PATH on OPENCV_CONFIG_INSTALL_PATH, fixes rhbz #1721876
+- cmake: don't set ENABLE_PKG_CONFIG
+
 * Wed Jun 12 2019 Sérgio Basto <sergio@serjux.com> - 3.4.6-3
 - Remove Obsoletes/Provides libopencv_java.so and use OPENCV_JAR_INSTALL_PATH
 

^ 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: cmake: use relative PATH on OPENCV_CONFIG_INSTALL_PATH, fixes rhbz #1721876 

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