public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Use %py_provides and remove srcname variable
@ 2026-08-28 13:32
0 siblings, 0 replies; only message in thread
From: @ 2026-08-28 13:32 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/opencv
Branch : opencv5
Commit : c810b39bfba6d2856a28dfd65a6c3033a394f47d
Author : Sérgio M. Basto <sergio@serjux.com>
Date : 2021-10-10T14:30:22+01:00
Stats : +1/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/opencv/c/c810b39bfba6d2856a28dfd65a6c3033a394f47d?branch=opencv5
Log:
Use %py_provides and remove srcname variable
---
diff --git a/opencv.spec b/opencv.spec
index 8913e70..50441ba 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -38,8 +38,6 @@
%define _lto_cflags %{nil}
-%global srcname opencv
-
# If _cuda_version is unset
%if 0%{!?_cuda_version:1} && 0%{?with_cuda:1}
%global _cuda_version 11.2
@@ -212,7 +210,7 @@ This package contains the OpenCV documentation, samples and examples programs.
Summary: Python3 bindings for apps which use OpenCV
Requires: opencv%{_isa} = %{version}-%{release}
Requires: python3-numpy
-%{?python_provide:%python_provide python3-%{srcname}}
+%{?%py_provides:%py_provides python3-%{name}}
%description -n python3-opencv
This package contains Python3 bindings for the OpenCV library.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-28 13:32 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:32 [rpms/opencv] opencv5: Use %py_provides and remove srcname variable
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox