Skip to content

Commit 840071d

Browse files
committed
Updated build dependencies for RHEL8-Beta
1 parent 18a9f86 commit 840071d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

rpm/sysbench.spec

+8-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Group: Applications/System
88
Source0: https://github.com/akopytov/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
99
URL: https://github.com/akopytov/sysbench/
1010

11-
%if 0%{?el6}
11+
%if 0%{?rhel} < 7
1212
BuildRequires: mysql-devel
1313
%else
1414
BuildRequires: mariadb-devel
@@ -20,7 +20,11 @@ BuildRequires: libtool
2020
BuildRequires: pkgconfig
2121
BuildRequires: libaio-devel
2222
# Use bundled cram for tests
23+
%if 0%{?rhel} > 7
24+
BuildRequires: python2
25+
%else
2326
BuildRequires: python
27+
%endif
2428

2529
ExclusiveArch: %{arm} %{ix86} x86_64 %{mips} aarch64
2630

@@ -74,6 +78,9 @@ make test
7478

7579

7680
%changelog
81+
* Fri Mar 15 2019 Alexey Bychko <[email protected]> - 1.0.16-1
82+
- Updated build dependencies for RHEL8-Beta.
83+
7784
* Sat Jan 6 2018 Alexey Kopytov <[email protected]> - 1.0.12-1
7885
- Remove vim-common from build dependencies.
7986

0 commit comments

Comments
 (0)