public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: Added an backslash and fixed a few typos.
Date: Fri, 28 Aug 2026 13:30:28 GMT	[thread overview]
Message-ID: <178792382889.1.8567970212144691093.rpms-opencv-73f3d5f22a03@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/opencv
            Branch : opencv5
            Commit : 73f3d5f22a03e52169a4b09f21a12b3e3e8672f5
            Author : Sérgio M. Basto <sergio@serjux.com>
            Date   : 2015-06-27T02:06:10+01:00
            Stats  : +6/-6 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/opencv/c/73f3d5f22a03e52169a4b09f21a12b3e3e8672f5?branch=opencv5

            Log:
            Added an backslash and fixed a few typos.

To be more easier to handle conditional builds.
Some uniformization, now all %if are under with conditions.
Tested a build with --with=tbb --with=openni --with=eigen2 --with=eigen3 --with=cuda
--with=xine --with=sse3 --with=ffmpeg --with=xine

---
diff --git a/opencv.spec b/opencv.spec
index 1b7c25d..46db6e1 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -56,7 +56,7 @@ BuildRequires:  openni-devel
 BuildRequires:  openni-primesense
 %endif
 }
-%{?_with_ttb:
+%{?_with_tbb:
 %ifarch %{ix86} x86_64 ia64 ppc ppc64
 BuildRequires:  tbb-devel
 %endif
@@ -148,7 +148,7 @@ pushd build
  -DCMAKE_BUILD_TYPE=ReleaseWithDebInfo \
  -DBUILD_TEST=1 \
  -DBUILD_opencv_java=0 \
-%{?_with_ttb:
+%{?_with_tbb: \
 %ifarch %{ix86} x86_64 ia64
  -DWITH_TBB=1 -DTBB_LIB_DIR=%{_libdir} \
 %endif
@@ -162,11 +162,11 @@ pushd build
  -DCUDA_VERBOSE_BUILD=1 \
  -DCUDA_PROPAGATE_HOST_FLAGS=0 \
 } \
-%ifarch %{ix86} x86_64
 %{?_with_openni: \
+%ifarch %{ix86} x86_64
  -DWITH_OPENNI=ON \
-} \
 %endif
+} \
  %{!?_with_xine:-DWITH_XINE=0} \
  -DINSTALL_C_EXAMPLES=1 \
  -DINSTALL_PYTHON_EXAMPLES=1 \
@@ -321,7 +321,7 @@ popd
 
 * Sat Mar 23 2013 Nicolas Chauvet <kwizart@gmail.com> - 2.4.4-1
 - Update to 2.4.4a
-- Fix ttb-devel architecture conditionals
+- Fix tbb-devel architecture conditionals
 
 * Sun Mar 10 2013 Rex Dieter <rdieter@fedoraproject.org> 2.4.4-0.2.beta
 - rebuild (OpenEXR)
@@ -363,7 +363,7 @@ popd
 * Mon Jun 04 2012 Nicolas Chauvet <kwizart@gmail.com> - 2.4.1-1
 - Update to 2.4.1
 - Rework dependencies - rhbz#828087
-  Re-enable using --with tbb,opennpi,eigen2,eigen3
+  Re-enable using --with tbb,openni,eigen2,eigen3
 
 * Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-8
 - Rebuilt for c++ ABI breakage

                 reply	other threads:[~2026-08-28 13:30 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=178792382889.1.8567970212144691093.rpms-opencv-73f3d5f22a03@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