Commit graph

81 commits

Author SHA1 Message Date
Python Maint
b076e4e195 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:32:03 +02:00
Python Maint
3806812cec Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 13:01:14 +02:00
fc4b2fbfd1 Disable i686 on Fedora >= 43
MySQL 8.4 is not supported on 32-bit architectures

This commit is part of:
  https://fedoraproject.org/wiki/Changes/switch_distribution_default_MySQL_from_8.0_to_8.4
2025-07-29 12:51:18 +02:00
Fedora Release Engineering
12a2629160 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 22:33:07 +00:00
ddbcd03dca Bump release for package rebuild 2025-07-21 14:58:18 +02:00
Pavol Sloboda
a643b468a5 Added a patch that removes the addition of RPATH to
_mysql_connector.cpython-3XY-%{arch}-linux-gnu.so as it was flagged by
rpminspect as an invalid looking rpath.
2025-07-21 13:54:05 +02:00
c48e8724fe Bump release for package rebuild 2025-07-15 14:05:27 +02:00
Pavol Sloboda
2db02910a5 Changed from the old python setup.py macros to the pyproject macros
As mentioned here:
https://fedoraproject.org/wiki/Changes/DeprecateSetuppyMacros
Fedora is migrating from the old setup.py macros to the pyproject macros
as the setup.py macros are planed to be deprecated in the near future.

Resolves: RHBZ#2377338
2025-07-15 12:03:27 +00:00
Pavol Sloboda
7479318329 Started modifying the source package as it contains problematic licenses
for the fonts contained in it.
After inspecting the fonts inside the
docs/mysqlx/_themes/sphinx_rtd_theme/static/css/fonts/
using the fontforge tool I have discovered that the font families are licensed
like this:
	* fontawesome: Copyright Dave Gandy 2016. All rights reserved.
	* latto:
	Copyright (c) 2011-2015 by tyPoland Lukasz Dziedzic
	(http://www.typoland.com/) with Reserved Font Name "Lato". Licensed
	under the SIL Open Font License, Version 1.1 (http://scripts.sil.org/OFL)
	* Roboto: Font data copyright Google 2013
This means the fontawesome and Roboto font families are licensed under a
strict copyright which is not supported when packaging fonts in fedora
and since we don't use the fonts during the build process nor do we
package them in the package I have decided to remove them from the
archive and rename the archive to %{name}-%{version}-src-without-fonts.tar.gz
to avoid any possible confusion when packaging this package in the
future. I have also added the generate-modified-sources.sh script that
downloads the original sources from the mysql upstream, unpacks them,
removes the aforementioned fonts and packs the sources under a new name.
2025-07-03 15:16:35 +02:00
Pavol Sloboda
1a92b0ad2c [SPDX] As the last rebase introduced a couple of changes in the LICENSE.txt
file
I have decided to look into the licensing of this package
After some analysis I found the following licenses:
(MIT OR GPL-2.0-only) AND GPL-2.0-only AND BSD-2-Clause

Since:
The main LICENSE.txt file has the GPL-2.0-only license inside it.
the sphinx_rtd_theme project is licensed under MIT/GPL-2.0-only
most of the project has explicit headers in the files stating to use the
license of the `sphinx_rtd_theme project`
namely:
all the files inside docs/mysqlx/_themes/sphinx_rtd_theme/locale/
some of the files inside docs/mysqlx/_themes/sphinx_rtd_theme/static/js
though some of the last mentioned ones also have GPL2 specified in them
as an alternative to the MIT

The search.html file is licensed under the BSD-2-Clause since it
contains a link to this file:
https://github.com/sphinx-doc/sphinx/blob/master/LICENSE
which is an invalid link because the target file was renamed to
LICENSE.rst therefore the link should be:
https://github.com/sphinx-doc/sphinx/blob/master/LICENSE.rst
and the target of said link contains the BSD-2-Clause license

The main LICENSE.txt file also contains the:
Universal FOSS Exception, Version 1.0
which can be found here:
https://oss.oracle.com/licenses/universal-foss-exception/
as linked in the LICENSE.txt file
I will not mention the exception in the License clause since there is
an issue opened on gitlab which can be found here:
https://gitlab.com/fedora/legal/fedora-license-data/-/issues/182
which states that the exception should be omitted for the time being.
I will try to reach out to the people assigned to the issue as the last
update to it was in 2023 and this exception is present in multiple mysql
product we package.
2025-06-27 10:48:36 +02:00
Pavol Sloboda
db4f4e5c47 Rebase to 8.0.33
This rebase reworked the documentation by adding a man page.
It also moved most of the files of the package from %{python3_sitelib} to
%{python3_sitearch} which expands to /usr/lib/python3.X/site-packages or
/usr/lib64/python3.X/site-packages depending on the build architecture.
This means that the package can no longer be noarch since most of the
file locations are now architecture dependent.
The source tarball also changed name from %{name}-%{version}.tar.gz to
%{name}-%{version}-src.tar.gz

We are only able to build the _mysql_connector C extension and not the
_mysqlxpb C extension as it requires protobuf >= 4.25.3 and we only have
3.19.6 in Fedora. When protobuf gets rebased to a sufficient version we
will be able to build this extension as well. More info:
https://dev.mysql.com/doc/connector-python/en/connector-python-installation-source.html

The skeleton of how the mysqlxpb extension will be built is present in
the spec file for easier future enabling but disabled using the
with_mysqlxpb condition.
2025-06-23 17:06:12 +02:00
Python Maint
a9a16e975d Rebuilt for Python 3.14 2025-06-02 19:58:15 +02:00
Fedora Release Engineering
25aec7da90 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 19:31:38 +00:00
Miroslav Suchý
5dd89a02bc convert license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-09-02 12:04:06 +02:00
Fedora Release Engineering
af38e72c81 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 19:00:48 +00:00
Python Maint
962187f8e5 Rebuilt for Python 3.13 2024-06-07 08:33:04 +02:00
Fedora Release Engineering
e84da12ea8 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 08:28:54 +00:00
Fedora Release Engineering
4a4146c7f7 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 09:00:52 +00:00
Fedora Release Engineering
92835c8b9f Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 16:09:30 +00:00
Python Maint
b1bd32733b Rebuilt for Python 3.12 2023-06-13 20:22:57 +02:00
Fedora Release Engineering
e2403c2128 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 21:04:34 +00:00
Fedora Release Engineering
85f96685eb Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 00:04:22 +00:00
Python Maint
1bea352237 Rebuilt for Python 3.11 2022-06-13 14:51:32 +02:00
Fedora Release Engineering
b043f25594 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 20:44:25 +00:00
Fedora Release Engineering
9e872cc075 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 15:41:31 +00:00
Python Maint
e2be5c6d8f Rebuilt for Python 3.10 2021-06-04 20:12:24 +02:00
Tomas Hrnciar
9d2a669130 BuildRequire setuptools explicitly
See https://fedoraproject.org/wiki/Changes/Reduce_dependencies_on_python3-setuptools
2021-04-19 13:18:31 +02:00
Fedora Release Engineering
92b4dfc194 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 21:06:11 +00:00
f88c87d6ea Rebase to 8.0.21 2020-08-19 00:06:09 +02:00
Fedora Release Engineering
194f2db09a - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 08:43:41 +00:00
Miro Hrončok
26b0e09e3f Rebuilt for Python 3.9 2020-05-26 02:53:41 +02:00
a40cb7c53f Rebase to 8.0.20
Upstream stopped to hardcode required protobuf version, patch can be removed
Resolves: #1830662
2020-05-05 14:21:05 +02:00
c3c03b2045 Rebuilt for newer protobuf version
Resolves: #1797297
2020-02-07 14:41:03 +01:00
Fedora Release Engineering
0bba22961d - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 14:25:27 +00:00
424ec2d95a Rebase to 8.0.19 2020-01-20 01:38:55 +01:00
Miro Hrončok
05d5172372 Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 13:57:05 +02:00
Miro Hrončok
17a507b6d9 Rebuilt for Python 3.8 2019-08-19 10:20:21 +02:00
Miro Hrončok
9db4e5daf2 Drop python2-mysql-connector (#1731660) 2019-07-29 11:39:11 +02:00
Fedora Release Engineering
69157e5d0e - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 18:07:20 +00:00
Honza Horak
32c5c1556a Rebase to 8.0.16
Resolves: #1390718
2019-07-18 19:22:53 +02:00
Fedora Release Engineering
66abe82066 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 11:49:12 +00:00
Igor Gnatenko
06cfec460b Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:18 +01:00
Fedora Release Engineering
77fe9d15ee - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 11:15:47 +00:00
Jason Tibbitts
f67b39049b Remove needless use of %defattr 2018-07-10 02:07:10 -05:00
Miro Hrončok
ca835cb226 Rebuilt for Python 3.7 2018-06-19 10:48:17 +02:00
Igor Gnatenko
2f20d3b5fa
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 07:22:17 +01:00
Igor Gnatenko
753d51a064 Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-13 23:52:33 +01:00
Fedora Release Engineering
9642ab95d7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 03:38:11 +00:00
Zbigniew Jędrzejewski-Szmek
52a787c4ce Python 2 binary package renamed to python2-mysql-connector 2017-08-19 09:38:59 -04:00
Fedora Release Engineering
0ef60babb0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 22:32:44 +00:00