public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Added an backslash and fixed a few typos.
@ 2026-08-28 13:30 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-28 13:30 UTC (permalink / raw)
  To: git-commits

            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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-28 13:30 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:30 [rpms/opencv] opencv5: Added an backslash and fixed a few typos 

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