public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Troy Dawson <tdawson@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: Update conditionals
Date: Fri, 28 Aug 2026 13:30:47 GMT	[thread overview]
Message-ID: <178792384749.1.16520311747792639134.rpms-opencv-f9feb6ec79dc@fedoraproject.org> (raw)

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

                 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=178792384749.1.16520311747792639134.rpms-opencv-f9feb6ec79dc@fedoraproject.org \
    --to=tdawson@redhat.com \
    --cc=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