File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -170,16 +170,13 @@ Requires: %{scl}-runtime
170
170
Requires: python38
171
171
%endif
172
172
173
- # There is no new enough python3-protobuf on some older Linux distros
174
- %if ! ( 0%{?rhel } == 7 || 0%{?suse_version } == 1315 )
175
- Requires: python3-protobuf >= %{requires_py_protobuf_version }
176
- %endif
177
-
178
173
# Some operations requires DNSPYTHON but this is not a strict
179
174
# requirement for the RPM install as currently few RPM platforms has
180
175
# the required version as RPMs. Users need to install using PIP.
176
+ # Most of the linux distros except fedora got older version of python3-protobuf.
181
177
%if 0%{?fedora }
182
178
Requires: python3-dns >= %{wants_py_dnspython_version }
179
+ Requires: python3-protobuf >= %{requires_py_protobuf_version }
183
180
%endif
184
181
185
182
%description -n mysql-connector-python3%{?product_suffix }
You can’t perform that action at this time.
0 commit comments