Skip to content

Commit 2adca25

Browse files
committed
Merge remote-tracking branch 'origin/release/8.0.26' into ninja-build
2 parents fb5b043 + f10f311 commit 2adca25

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packaging/mysql-connector-c++.spec.in

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ License: %{license_type}
5555
URL: https://dev.mysql.com/doc/connector-cpp/en/
5656
Source0: https://dev.mysql.com/get/Downloads/Connector-C++/mysql-connector-c++%{?product_suffix}-%{version}-src.tar.gz
5757
#BuildRequires: boost-devel
58-
%if 0%{?rhel}
58+
%if 0%{?rhel} < 8
5959
BuildRequires: cmake3
6060
%else
6161
BuildRequires: cmake
@@ -126,7 +126,7 @@ test suite for MySQL Connector/C++
126126
%endif
127127
%global __cmake_explicit_opts -DCMAKE_INSTALL_PREFIX="%_prefix" -DCMAKE_C_FLAGS:STRING="%optflags" -DCMAKE_CXX_FLAGS:STRING="%optflags"
128128
%global __cmake_common_opts -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir}/mysql-cppconn-8 -DWITH_JDBC=ON -DWITH_SSL=system %{__cmake_test_opts} %{?mysql_opt} -DDEBUG_PREFIX_MAP=OFF
129-
%if 0%{?rhel}
129+
%if 0%{?rhel} < 8
130130
%global __cmake_cmd cmake3 %{__cmake_common_opts} %{__cmake_explicit_opts} ..
131131
%else
132132
%global __cmake_cmd cmake %{__cmake_common_opts} %{__cmake_explicit_opts} ..
@@ -215,6 +215,9 @@ rm %{buildroot}/usr/{INFO_SRC,INFO_BIN}
215215
%endif
216216

217217
%changelog
218+
* Wed Jun 09 2021 Gipson Pulla <[email protected]> - 8.0.26-1
219+
- The cmake3 binary isn't required for el8 platforms
220+
218221
* Fri Feb 05 2021 Kent Boortz <[email protected]> - 8.0.24-1
219222
- Aligned compiler settings with server
220223

0 commit comments

Comments
 (0)