Skip to content

Commit 331d30f

Browse files
committed
Fix RPM Protobuf dependency
1 parent 909e0c0 commit 331d30f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cpydist/data/rpm/mysql-connector-python.spec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,8 @@ rm -f %{with_mysql_capi}/lib*/{,mysql/}plugin/authentication_ldap_sasl_client.*
241241
--with-mysql-capi=%{with_mysql_capi} %{?byte_code_only}
242242
%{?scl:EOF}
243243
244+
sed -i -e '/protobuf/d' %{buildroot}%{python3_sitearch}/mysql_connector_python-*.egg-info/requires.txt
245+
244246
%files -n mysql-connector-python3%{?product_suffix}
245247
%doc LICENSE.txt CHANGES.txt README.txt README.rst CONTRIBUTING.rst docs/INFO_SRC docs/INFO_BIN
246248
%{python3_sitearch}/mysql

0 commit comments

Comments
 (0)