commit 59e0867e114195e307a28d66f39721edc5b6e9fa
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Fri Jun 18 09:31:14 2021 +0100
Fix el8 cmake name issue
zoneminder.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/zoneminder.spec b/zoneminder.spec
index f0bb558..b58cb07 100644
--- a/zoneminder.spec
+++ b/zoneminder.spec
@@ -56,7 +56,11 @@ BuildRequires: systemd-devel
BuildRequires: mariadb-devel
BuildRequires: perl-podlators
BuildRequires: polkit-devel
+%if 0%{?fedora} || 0%{?rhel} >= 8
+BuildRequires: cmake
+%else
BuildRequires: cmake3
+%endif
BuildRequires: gnutls-devel
BuildRequires: bzip2-devel
BuildRequires: pcre-devel