Skip to content

Commit 78108f0

Browse files
romanhabibovLeonidVas
authored andcommitted
build: fix CentOS 6 packaging fail
Eliminate the dependency on gcc on CentOS 6. GCC from the base repository on CentOS 6 is GCC 4.4.7. Closes #53
1 parent ce8b832 commit 78108f0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rpm/tarantool-mysql.spec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ License: BSD
77
URL: https://github.com/tarantool/mysql
88
Source0: https://github.com/tarantool/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
99
BuildRequires: cmake >= 2.8
10+
%if (0%{?fedora} >= 22 || 0%{?rhel} >= 7 || 0%{?sle_version} >= 1500)
11+
# RHEL 6 requires devtoolset
1012
BuildRequires: gcc >= 4.5
13+
%endif
1114
BuildRequires: openssl-devel
1215
BuildRequires: tarantool-devel >= 1.6.8.0
1316
Requires: tarantool >= 1.6.8.0

0 commit comments

Comments
 (0)