From 840071d54f6021b936512dae550c977d24358f23 Mon Sep 17 00:00:00 2001 From: Alexey Bychko Date: Fri, 15 Mar 2019 13:15:10 +0700 Subject: [PATCH] Updated build dependencies for RHEL8-Beta --- rpm/sysbench.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/rpm/sysbench.spec b/rpm/sysbench.spec index b5986644b..cde0fdb44 100644 --- a/rpm/sysbench.spec +++ b/rpm/sysbench.spec @@ -8,7 +8,7 @@ Group: Applications/System Source0: https://github.com/akopytov/%{name}/archive/%{version}/%{name}-%{version}.tar.gz URL: https://github.com/akopytov/sysbench/ -%if 0%{?el6} +%if 0%{?rhel} < 7 BuildRequires: mysql-devel %else BuildRequires: mariadb-devel @@ -20,7 +20,11 @@ BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: libaio-devel # Use bundled cram for tests +%if 0%{?rhel} > 7 +BuildRequires: python2 +%else BuildRequires: python +%endif ExclusiveArch: %{arm} %{ix86} x86_64 %{mips} aarch64 @@ -74,6 +78,9 @@ make test %changelog +* Fri Mar 15 2019 Alexey Bychko - 1.0.16-1 +- Updated build dependencies for RHEL8-Beta. + * Sat Jan 6 2018 Alexey Kopytov - 1.0.12-1 - Remove vim-common from build dependencies.