# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) # SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors # SPDX-FileContributor: Xuhai Chang # # SPDX-License-Identifier: MulanPSL-2.0 %define srcname pymysql Name: python-PyMySQL Version: 1.1.2 Release: %autorelease Summary: Pure-Python MySQL client library License: MIT URL: https://github.com/PyMySQL/PyMySQL #!RemoteAsset Source: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-1.1.2.tar.gz BuildArch: noarch BuildSystem: pyproject BuildOption(install): %{srcname} BuildRequires: pkgconfig(python3) BuildRequires: pyproject-rpm-macros BuildRequires: python3dist(pip) BuildRequires: python3dist(setuptools) Provides: python3-%{srcname} %python_provide python3-%{srcname} %description This package contains a pure-Python MySQL client library. The goal of PyMySQL is to be a drop-in replacement for MySQLdb and work on CPython, PyPy, IronPython and Jython. %generate_buildrequires %pyproject_buildrequires %files -f %{pyproject_files} %doc README.md %license LICENSE %changelog %{?autochangelog}