[packages/python3-mysqlx-connector] MySQL X DevAPI protocol moved here from python3-mysql-connector.spec
arekm
arekm at pld-linux.org
Mon Feb 17 10:19:25 CET 2025
commit 0637b344c4ae5121aaf755029061d58c3c54afcc
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Feb 17 09:10:09 2025 +0100
MySQL X DevAPI protocol moved here from python3-mysql-connector.spec
...connector.spec => python3-mysqlx-connector.spec | 26 +++++-----------------
1 file changed, 6 insertions(+), 20 deletions(-)
---
diff --git a/python3-mysql-connector.spec b/python3-mysqlx-connector.spec
similarity index 74%
rename from python3-mysql-connector.spec
rename to python3-mysqlx-connector.spec
index 32d0c18..c091e56 100644
--- a/python3-mysql-connector.spec
+++ b/python3-mysqlx-connector.spec
@@ -6,7 +6,7 @@
%define mysql_ver 8.4
-%define pname mysql-connector
+%define pname mysqlx-connector
Summary: The MySQL Client/Protocol implemented in Python
Summary(pl.UTF-8): Protokół kliencki MySQL zaimplementowany w Pythonie
Name: python3-%{pname}
@@ -36,16 +36,10 @@ Requires: python-modules
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-MySQL Connector/Python is implementing the MySQL Client/Server
-protocol completely in Python. No MySQL libraries are needed, and no
-compilation is necessary to run this Python DB API v2.0 compliant
-driver.
+MySQLX Connector/Python is implementing the the MySQL X DevAPI protocol.
%description -l pl.UTF-8
-MySQL Connector/Python to protokół klient-serwer MySQL-a
-zaimplementowany całkowicie w Pythonie. Do uruchomienia tego
-sterownika, zgodnego z DB API v2.0 Pythona, nie są potrzebne
-biblioteki MySQL-a, ani żadna kompilacja.
+MySQLX Connector/Python to implementacja protokołu MySQL X DevAPI.
%prep
%setup -q -n mysql-connector-python-%{version}-src
@@ -55,9 +49,7 @@ biblioteki MySQL-a, ani żadna kompilacja.
%build
export MYSQL_CAPI=%{_bindir}/mysql_config%{mysql_ver}
-for t in mysql mysqlx; do
-echo "*** Doing ${t}-connector-python"
-cd ${t}-connector-python
+cd mysqlx-connector-python
%py3_build
%if %{with tests}
@@ -71,7 +63,6 @@ export PYTHONPATH="$(pwd)/$(echo build-3/lib*)"
%endif
cd ..
-done
%install
rm -rf $RPM_BUILD_ROOT
@@ -87,12 +78,9 @@ export MYSQLXPB_PROTOBUF_LIB_DIR=%{_libdir}
export MYSQL_CAPI=%{_bindir}/mysql_config%{mysql_ver}
-for t in mysql mysqlx; do
-echo "*** Doing ${t}-connector-python"
-cd ${t}-connector-python
+cd mysqlx-connector-python
%py3_install
cd ..
-done
%clean
rm -rf $RPM_BUILD_ROOT
@@ -100,8 +88,6 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc CHANGES.txt README.txt
-%attr(755,root,root) %{py3_sitedir}/_mysql_connector.cpython-*.so
%attr(755,root,root) %{py3_sitedir}/_mysqlxpb.cpython-*.so
-%{py3_sitedir}/mysql*.egg-info
-%{py3_sitedir}/mysql
+%{py3_sitedir}/mysqlx*.egg-info
%{py3_sitedir}/mysqlx
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-mysqlx-connector.git/commitdiff/0637b344c4ae5121aaf755029061d58c3c54afcc
More information about the pld-cvs-commit
mailing list