diff --git a/0001-fix-build-erro.patch b/0001-fix-build-erro.patch new file mode 100644 index 0000000000000000000000000000000000000000..42e41f07520f4bfcf2e14c57bf289e73d9ca9c5d --- /dev/null +++ b/0001-fix-build-erro.patch @@ -0,0 +1,26 @@ +From fded20eb035c70d2a495dd1fa7f926f9297ef879 Mon Sep 17 00:00:00 2001 +From: liksh +Date: Wed, 3 Aug 2022 16:45:44 +0800 +Subject: [PATCH] fix build erro + +--- + setup.py | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/setup.py b/setup.py +index 04c4a7c..f76cba0 100644 +--- a/setup.py ++++ b/setup.py +@@ -19,9 +19,6 @@ setup( + author="Jayson Reis", + author_email="santosdosreis@gmail.com", + description="A pure python module to access memcached via its binary protocol with SASL auth support", +- long_description="{0}\n{1}".format( +- read("README.rst"), convert(read("CHANGELOG.md")) +- ), + url="https://github.com/jaysonsantos/python-binary-memcached", + packages=["bmemcached", "bmemcached.client"], + classifiers=[ +-- +2.33.0 + diff --git a/0002-delete-import-m2r.patch b/0002-delete-import-m2r.patch new file mode 100644 index 0000000000000000000000000000000000000000..f6043ce47ab5bd61314f5e32913d84e975e47883 --- /dev/null +++ b/0002-delete-import-m2r.patch @@ -0,0 +1,58 @@ +From b2b1f3dcadff89287e08f897e34465a23207c5e0 Mon Sep 17 00:00:00 2001 +From: liksh +Date: Thu, 4 Aug 2022 15:09:31 +0800 +Subject: [PATCH] delete import m2r + +--- + 0001-fix-build-erro.patch | 26 ++++++++++++++++++++++++++ + setup.py | 1 - + 2 files changed, 26 insertions(+), 1 deletion(-) + create mode 100644 0001-fix-build-erro.patch + +diff --git a/0001-fix-build-erro.patch b/0001-fix-build-erro.patch +new file mode 100644 +index 0000000..42e41f0 +--- /dev/null ++++ b/0001-fix-build-erro.patch +@@ -0,0 +1,26 @@ ++From fded20eb035c70d2a495dd1fa7f926f9297ef879 Mon Sep 17 00:00:00 2001 ++From: liksh ++Date: Wed, 3 Aug 2022 16:45:44 +0800 ++Subject: [PATCH] fix build erro ++ ++--- ++ setup.py | 3 --- ++ 1 file changed, 3 deletions(-) ++ ++diff --git a/setup.py b/setup.py ++index 04c4a7c..f76cba0 100644 ++--- a/setup.py +++++ b/setup.py ++@@ -19,9 +19,6 @@ setup( ++ author="Jayson Reis", ++ author_email="santosdosreis@gmail.com", ++ description="A pure python module to access memcached via its binary protocol with SASL auth support", ++- long_description="{0}\n{1}".format( ++- read("README.rst"), convert(read("CHANGELOG.md")) ++- ), ++ url="https://github.com/jaysonsantos/python-binary-memcached", ++ packages=["bmemcached", "bmemcached.client"], ++ classifiers=[ ++-- ++2.33.0 ++ +diff --git a/setup.py b/setup.py +index f76cba0..f327b05 100644 +--- a/setup.py ++++ b/setup.py +@@ -2,7 +2,6 @@ import os + import sys + + from setuptools import setup +-from m2r import convert + + + def read(filename): +-- +2.33.0 + diff --git a/python-binary-memcached-0.30.1.tar.gz b/python-binary-memcached-0.30.1.tar.gz deleted file mode 100644 index d591b9a6ebc6248047bf2ca0e08e6b06f8d82b6e..0000000000000000000000000000000000000000 Binary files a/python-binary-memcached-0.30.1.tar.gz and /dev/null differ diff --git a/python-binary-memcached-0.31.1.tar.gz b/python-binary-memcached-0.31.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..bed1c1241f7b6385de804295ca02248d141a82a7 Binary files /dev/null and b/python-binary-memcached-0.31.1.tar.gz differ diff --git a/python-binary-memcached.spec b/python-binary-memcached.spec index c57081958474bb0c1294569376402b5a2087486d..096ffdac30e04df98fcefe8483f08352175ade54 100644 --- a/python-binary-memcached.spec +++ b/python-binary-memcached.spec @@ -1,11 +1,14 @@ %global _empty_manifest_terminate_build 0 Name: python-binary-memcached -Version: 0.30.1 -Release: 2 +Version: 0.31.1 +Release: 1 Summary: A pure python module to access memcached via its binary protocol with SASL auth support License: MIT URL: https://github.com/jaysonsantos/python-binary-memcached -Source0: https://files.pythonhosted.org/packages/3b/1b/46a6129fda57f8603112cfb2621659b91b03be93f612596672c55f0dbab7/python-binary-memcached-0.30.1.tar.gz +Source0: https://files.pythonhosted.org/packages/e1/88/9a40a7c99d9085d5f5d998651ae40fdf2622513bfa3dd87ff7ce5e08bb48/python-binary-memcached-0.31.1.tar.gz +Patch0: 0001-fix-build-erro.patch +Patch1: 0002-delete-import-m2r.patch + BuildArch: noarch %description A pure python module to access memcached via its binary protocol with SASL auth support. @@ -15,12 +18,17 @@ and support authentication, so it can work with Heroku for example. %package -n python3-binary-memcached Summary: A pure python module to access memcached via its binary protocol with SASL auth support Provides: python-binary-memcached + +BuildRequires: python3-m2r # Base build requires BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel +BuildRequires: python3-mistune + +Requires: python3-mistune %description -n python3-binary-memcached A pure python module to access memcached via its binary protocol with SASL auth support. The main purpose of this module it to be able to communicate with memcached using binary protocol @@ -35,7 +43,7 @@ The main purpose of this module it to be able to communicate with memcached usin and support authentication, so it can work with Heroku for example. %prep -%autosetup -n python-binary-memcached-0.30.1 -p1 +%autosetup -n python-binary-memcached-%{version} -p1 %build %py3_build @@ -77,6 +85,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Sun Jul 24 2022 liksh - 0.31.1-1 +- upgrade to 0.31.1 for openstack yoga + * Fri Jul 30 2021 chenyanpanHW - 0.30.1-2 - DESC: delete -S git from %autosetup