public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: Fix cmakes location
Date: Fri, 28 Aug 2026 13:31:09 GMT	[thread overview]
Message-ID: <178792386950.1.11543121058558148998.rpms-opencv-dd2b657bf316@fedoraproject.org> (raw)

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
 

                 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=178792386950.1.11543121058558148998.rpms-opencv-dd2b657bf316@fedoraproject.org \
    --to=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