diff --git a/rpm/sysbench.spec b/rpm/sysbench.spec index b598664..cde0fdb 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.