From 36897badb7f296a552d4fcc4d393590c42a985f7 Mon Sep 17 00:00:00 2001 From: Julien Enselme Date: Tue, 25 Apr 2023 13:42:35 +0200 Subject: [PATCH] Update to 1.0.3 --- .gitignore | 1 + python-PyMySQL.spec | 11 ++++++++--- setup.py | 6 ++++++ sources | 2 +- 4 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 setup.py diff --git a/.gitignore b/.gitignore index 608c1ba..1bbae16 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /PyMySQL-0.10.0.tar.gz /PyMySQL-0.10.1.tar.gz /PyMySQL-1.0.2.tar.gz +/PyMySQL-1.0.3.tar.gz diff --git a/python-PyMySQL.spec b/python-PyMySQL.spec index 821ae90..7c4411d 100644 --- a/python-PyMySQL.spec +++ b/python-PyMySQL.spec @@ -1,13 +1,14 @@ %global pypi_name PyMySQL Name: python-%{pypi_name} -Version: 1.0.2 -Release: 4%{?dist} +Version: 1.0.3 +Release: 1%{?dist} Summary: Pure-Python MySQL client library License: MIT URL: https://pypi.python.org/pypi/%{pypi_name}/ Source0: %pypi_source +Source1: setup.py BuildArch: noarch @@ -41,6 +42,7 @@ and Jython. rm -rf %{pypi_name}.egg-info # Remove tests files so they are not installed globally. rm -rf tests +cp %{SOURCE1} . %build @@ -57,11 +59,14 @@ rm -rf tests %files -n python%{python3_pkgversion}-%{pypi_name} %license LICENSE -%doc README.rst +%doc README.md %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ %{python3_sitelib}/pymysql/ %changelog +* Tue Apr 25 2023 Julien Enselme - 1.0.3-1 +- Update to 1.0.3 + * Fri Jan 20 2023 Fedora Release Engineering - 1.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..fa61477 --- /dev/null +++ b/setup.py @@ -0,0 +1,6 @@ +# We need this for the build to work, but everything will be done +# by setuptools from pyproject.toml + +from setuptools import setup + +setup() diff --git a/sources b/sources index ab22d2c..487fbfc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (PyMySQL-1.0.2.tar.gz) = c831505dafe6aebf039129ec4b09ef6dcafd490bcee2b515f42c0d0412fe9c379ba28650fb329d21f1da7e9fcae64968e1bc6065a04a08e00497a24967e27146 +SHA512 (PyMySQL-1.0.3.tar.gz) = 0095c65290a15061a136b797304c3c46dae4cae8bd42603be2abdf6f1f91cc3d6b418614376c1c67321ac9ce937000e6879c29db38089fa05f815b21cd59d6cd