Support gstreamer when CV_VIDEOIO_BACKEND_GSTREAMER is set to 1
[platform/upstream/opencv.git] / packaging / opencv.spec
index 12e4fe3..26f2839 100644 (file)
@@ -1,4 +1,4 @@
-%if 0%{?_with_da_profile}
+%if 0%{?_with_da_profile}%{?CV_VIDEOIO_BACKEND_GSTREAMER}
 %define support_gstreamer 1
 %else
 %define support_gstreamer 0
@@ -7,7 +7,7 @@
 Name: opencv
 Summary: OpenCV library
 Version: 4.7.0
-Release: 4
+Release: 5
 Group: Development/Libraries
 License: Apache-2.0
 Source0: %{name}-%{version}.tar.gz