public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Update conditionals
@ 2026-08-28 13:30 Troy Dawson
  0 siblings, 0 replies; only message in thread
From: Troy Dawson @ 2026-08-28 13:30 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/opencv
Branch : opencv5
Commit : f9feb6ec79dc7573c2d02f14e176820255c39ac0
Author : Troy Dawson <tdawson@redhat.com>
Date   : 2018-01-24T14:35:54-08:00
Stats  : +6/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/opencv/c/f9feb6ec79dc7573c2d02f14e176820255c39ac0?branch=opencv5

Log:
Update conditionals

---
diff --git a/opencv.spec b/opencv.spec
index 712bb92..be681c6 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -35,7 +35,7 @@
 
 Name:           opencv
 Version:        3.3.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Collection of algorithms for computer vision
 Group:          Development/Libraries
 # This is normal three clause BSD.
@@ -63,7 +63,7 @@ BuildRequires:  chrpath
 BuildRequires:  gtk3-devel
 BuildRequires:  libtheora-devel
 BuildRequires:  libvorbis-devel
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} > 7
 %ifnarch s390 s390x
 BuildRequires:  libraw1394-devel
 BuildRequires:  libdc1394-devel
@@ -92,7 +92,7 @@ BuildRequires:  python3-numpy
 BuildRequires:  swig >= 1.3.24
 BuildRequires:  python2-sphinx
 %{?with_ffmpeg:BuildRequires:  ffmpeg-devel >= 0.4.9}
-%if 0%{?fedora} > 20
+%if 0%{?fedora} || 0%{?rhel} > 7
 %{?with_gstreamer:BuildRequires:  gstreamer1-devel gstreamer1-plugins-base-devel}
 %else
 %{?with_gstreamer:BuildRequires:  gstreamer-devel gstreamer-plugins-base-devel}
@@ -390,6 +390,9 @@ popd
 %{_libdir}/libopencv_xphoto.so.%{abiver}*
 
 %changelog
+* Wed Jan 24 2018 Troy Dawson <tdawson@redhat.com> - 3.3.1-2
+- Update conditionals
+
 * Tue Nov 14 2017 Sérgio Basto <sergio@serjux.com> - 3.3.1-1
 - Update to 3.3.1
 - Fix WARNING: Option ENABLE_SSE='OFF' is deprecated and should not be used anymore

^ 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: Update conditionals Troy Dawson

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