public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Fix cmakes location
@ 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 : dd2b657bf316fe05ea8dbef1118ec87c4ef0534e
Author : Sérgio M. Basto <sergio@serjux.com>
Date   : 2019-06-10T20:52:37+01:00
Stats  : +11/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/opencv/c/dd2b657bf316fe05ea8dbef1118ec87c4ef0534e?branch=opencv5

Log:
Fix cmakes location

---
diff --git a/opencv.spec b/opencv.spec
index c2210c5..11f44cb 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -59,7 +59,7 @@
 
 Name:           opencv
 Version:        3.4.6
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Collection of algorithms for computer vision
 # This is normal three clause BSD.
 License:        BSD
@@ -125,6 +125,7 @@ BuildRequires:  protobuf-devel
 BuildRequires:  gdal-devel
 BuildRequires:  glog-devel
 BuildRequires:  doxygen
+BuildRequires:  python3-beautifulsoup4
 #for doc/doxygen/bib2xhtml.pl
 BuildRequires:  perl-open
 BuildRequires:  gflags-devel
@@ -168,6 +169,7 @@ and Computer Vision algorithms.
 
 %package        core
 Summary:        OpenCV core libraries
+Provides:       bundled(quirc) = 1.0
 Obsoletes:      python2-%{name} < %{version}-%{release}
 
 %description    core
@@ -178,7 +180,6 @@ This package contains the OpenCV C/C++ core libraries.
 Summary:        Development files for using the OpenCV library
 Requires:       %{name}%{_isa} = %{version}-%{release}
 Requires:       %{name}-contrib%{_isa} = %{version}-%{release}
-Provides:       bundled(quirc) = 1.0
 
 %description    devel
 This package contains the OpenCV C/C++ library and header files, as well as
@@ -296,6 +297,7 @@ pushd build
  -DWITH_LIBV4L=ON \
  -DWITH_OPENMP=ON \
  -DENABLE_PKG_CONFIG=OFF \
+ -DOPENCV_CONFIG_INSTALL_PATH=%{_libdir}/cmake/OpenCV \
  %{?with_gdcm: -DWITH_GDCM=ON } \
  %{?with_libmfx: -DWITH_MFX=ON } \
  %{?with_clp: -DWITH_CLP=ON } \
@@ -380,8 +382,11 @@ popd
 %{_includedir}/opencv
 %{_includedir}/opencv2
 %{_libdir}/lib*.so
+%if %{with java}
+%exclude %{_libdir}/libopencv_java*.so
+%endif
 %{_libdir}/pkgconfig/opencv.pc
-%{_datadir}/OpenCV/*.cmake
+%{_libdir}/cmake/OpenCV/*.cmake
 
 %files doc
 %{_datadir}/OpenCV/samples
@@ -432,6 +437,9 @@ popd
 %{_libdir}/libopencv_xphoto.so.%{abiver}*
 
 %changelog
+* Sun Jun 09 2019 Sérgio Basto <sergio@serjux.com> - 3.4.6-2
+- Fix cmakes location
+
 * Thu May 23 2019 Sérgio Basto <sergio@serjux.com> - 3.4.6-1
 - Update to 3.4.6
 

^ 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: Fix cmakes location 

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