diff --git a/mingw-opencv.spec b/mingw-opencv.spec index f646b79..7b05ddb 100644 --- a/mingw-opencv.spec +++ b/mingw-opencv.spec @@ -4,7 +4,7 @@ Name: mingw-%{pkgname} Version: 4.3.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: MinGW Windows OpenCV library BuildArch: noarch @@ -94,6 +94,7 @@ MinGW Windows OpenCV library. %package -n mingw32-python3-%{pkgname} Summary: MinGW Windows Python3 OpenCV bindings +Requires: mingw32-%{pkgname} = %{version}-%{release} %description -n mingw32-python3-%{pkgname} MinGW Windows Python3 OpenCV bindings. @@ -101,6 +102,7 @@ MinGW Windows Python3 OpenCV bindings. %package -n mingw32-%{pkgname}-tools Summary: MinGW Windows OpenCV library tools +Requires: mingw32-%{pkgname} = %{version}-%{release} %description -n mingw32-%{pkgname}-tools MinGW Windows OpenCV library tools. @@ -115,6 +117,7 @@ MinGW Windows OpenCV library. %package -n mingw64-python3-%{pkgname} Summary: MinGW Windows Python3 OpenCV bindings +Requires: mingw64-%{pkgname} = %{version}-%{release} %description -n mingw64-python3-%{pkgname} MinGW Windows Python3 OpenCV bindings. @@ -122,6 +125,8 @@ MinGW Windows Python3 OpenCV bindings. %package -n mingw64-%{pkgname}-tools Summary: MinGW Windows OpenCV library tools +Requires: mingw64-%{pkgname} = %{version}-%{release} + %description -n mingw64-%{pkgname}-tools MinGW Windows OpenCV library tools. @@ -225,6 +230,9 @@ rm -f %{buildroot}%{mingw64_prefix}/{LICENSE,setup_vars_opencv4.cmd} %changelog +* Mon Sep 28 2020 Sandro Mani - 4.3.0-6 +- Harden requires + * Mon Sep 28 2020 Sandro Mani - 4.3.0-5 - Rebuild (protobuf)