CentOS7 SPEC File Broken

Hi,

The recent zeek.spec files for CentOS7 are broken:

%if 0%{?centos_version} == 700
BuildRequires: llvm-toolset-7-cmake devtoolset-7-gcc-c++ devtoolset-7-elfutils devtoolset-7-binutils devtoolset-7-make devtoolset-7-toolchain
%endif

`centos_version` does not exist:

grep -r centos_ver /etc/rpm/macros.dist
%centos_ver 7

Will never match:

rpm --eval "some text printed on 0%{?centos_ver}"
some text printed on 07

Workaround:

rpmbuild --define 'centos_version 0700' -v -bb rpmbuild/SPECS/zeek.spec

Thank you.

Hi,

I see.

I knew I was missing something.

Apologies for being daft.

Thank you.