File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 42
42
%if 0%{?suse_version} == 1500
43
43
%global dist .sl15
44
44
%endif
45
+
45
46
%global source_date_epoch_from_changelog 0
46
47
Summary: MySQL database connector for C++
47
48
Name: mysql-connector-c++%{?product_suffix}
@@ -116,16 +117,18 @@ Requires: mysql-connector-c++-jdbc = %{version}-%{release}
116
117
This package contains the test files necessary to run regression
117
118
test suite for MySQL Connector/C++
118
119
%endif
119
- %prep
120
120
121
+ %prep
121
122
%setup -q -n mysql-connector-c++%{product_suffix}-%{version}-src
123
+
122
124
%build
123
125
124
126
%{?el6:. /opt/rh/devtoolset-8/enable}
125
127
%{?el6:export CC=/opt/rh/devtoolset-8/root/usr/bin/gcc}
126
128
%{?el6:export CXX=/opt/rh/devtoolset-8/root/usr/bin/g++}
127
129
128
130
%{?el7:. /opt/rh/devtoolset-9/enable}
131
+ %{?el7:export LD_LIBRARY_PATH=/opt/rh/devtoolset-9/root/usr/lib64:$LD_LIBRARY_PATH}
129
132
%{?el7:export CC=/opt/rh/devtoolset-9/root/usr/bin/gcc}
130
133
%{?el7:export CXX=/opt/rh/devtoolset-9/root/usr/bin/g++}
131
134
You can’t perform that action at this time.
0 commit comments