File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ Version: %{version}
96
96
Release: 1%{?version_extra:.%{version_extra }}%{?byte_code_only:.1}%{?dist }
97
97
License: Copyright (c) 2015, 2021, Oracle and/or its affiliates. Under %{?license_type} license as shown in the Description field.
98
98
URL: https://dev.mysql.com/downloads/connector/python/
99
- Source0: https://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python%{?product_suffix }-%{version }.tar.gz
99
+ Source0: https://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python%{?product_suffix }-%{version }-src .tar.gz
100
100
101
101
%{! ?with_mysql_capi:BuildRequires: mysql-devel}
102
102
@@ -201,7 +201,7 @@ and information about the MySQL software. Also please see the
201
201
documentation and the manual for more information.
202
202
203
203
%prep
204
- %setup -q
204
+ %setup -q -n mysql-connector-python%{? product_suffix }-%{ version }-src
205
205
206
206
%install
207
207
%{? scl:scl enable %{scl } - << \EOF}
@@ -218,13 +218,13 @@ COMMON_INSTALL_ARGS="\
218
218
"
219
219
220
220
%if 0%{?extra_compile_args:1}
221
- EXTRA_COMPILE_ARGS=% extra_compile_args
221
+ EXTRA_COMPILE_ARGS="%{ extra_compile_args}"
222
222
%else
223
223
EXTRA_COMPILE_ARGS=""
224
224
%endif
225
225
226
226
%if 0%{?extra_link_args:1}
227
- EXTRA_LINK_ARGS=% extra_link_args
227
+ EXTRA_LINK_ARGS="%{ extra_link_args}"
228
228
%else
229
229
EXTRA_LINK_ARGS=""
230
230
%endif
You can’t perform that action at this time.
0 commit comments