diff --git a/0001-add-setup.py.patch b/0001-add-setup.py.patch new file mode 100644 index 0000000000000000000000000000000000000000..7ad928db5ae0d6e0dea977c21f0fef5125c63612 --- /dev/null +++ b/0001-add-setup.py.patch @@ -0,0 +1,25 @@ +From 442decd2a4c9b754e8c674044b85016d4fa99a7d Mon Sep 17 00:00:00 2001 +From: Gzx1999 +Date: Sat, 24 Sep 2022 19:45:06 +0800 +Subject: [PATCH] add setup.py + +--- + setup.py | 6 ++++++ + 1 file changed, 6 insertions(+) + create mode 100644 setup.py + +diff --git a/setup.py b/setup.py +new file mode 100644 +index 0000000..bac24a4 +--- /dev/null ++++ b/setup.py +@@ -0,0 +1,6 @@ ++#!/usr/bin/env python ++ ++import setuptools ++ ++if __name__ == "__main__": ++ setuptools.setup() +-- +2.25.1 + diff --git a/aiomysql-0.0.21.tar.gz b/aiomysql-0.0.21.tar.gz deleted file mode 100644 index b1438ad5808e403916d121fddcb8cf50c3162b37..0000000000000000000000000000000000000000 Binary files a/aiomysql-0.0.21.tar.gz and /dev/null differ diff --git a/aiomysql-0.1.1.tar.gz b/aiomysql-0.1.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..29570bdc9ff0f7e89b8fb31433a4140b2c1575fe Binary files /dev/null and b/aiomysql-0.1.1.tar.gz differ diff --git a/python-aiomysql.spec b/python-aiomysql.spec index 136997af92e653e62638d05c6a8faf720a12a62f..fe03d680bd953855d1a6f4c5e873b5f6bf89b839 100644 --- a/python-aiomysql.spec +++ b/python-aiomysql.spec @@ -1,11 +1,12 @@ %global _empty_manifest_terminate_build 0 Name: python-aiomysql -Version: 0.0.21 +Version: 0.1.1 Release: 1 Summary: MySQL driver for asyncio. License: MIT URL: https://github.com/aio-libs/aiomysql -Source0: https://files.pythonhosted.org/packages/a9/7f/d5a409cc0bb8349d6475ee4ea42ac2a5664646fe8a85e81ce3d91f63c474/aiomysql-0.0.21.tar.gz +Source0: https://files.pythonhosted.org/packages/31/03/1a112200f689892e0faa60d6fa8bff4fffc1d5fa29833c5d1439de808628/aiomysql-0.1.1.tar.gz +Patch0: 0001-add-setup.py.patch BuildArch: noarch Requires: python3-PyMySQL @@ -22,6 +23,7 @@ Summary: MySQL driver for asyncio. Provides: python-aiomysql BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-PyMySQL %description -n python3-aiomysql **aiomysql** is a "driver" for accessing a `MySQL` database from the asyncio_ (PEP-3156/tulip) framework. It depends on and reuses most @@ -38,7 +40,8 @@ parts of PyMySQL_ . *aiomysql* tries to be like awesome aiopg_ library and preserve same api, look and feel. %prep -%autosetup -n aiomysql-0.0.21 +%autosetup -n aiomysql-%{version} +%patch0 %build %py3_build @@ -78,6 +81,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Thu Oct 13 2022 guozhengxin - 0.1.1-1 +- Upgrade package to version 0.1.1 + * Thu Jul 22 2021 Xu Jin - 0.0.21-1 - Update package to 0.0.21