!3 upgrade package for openstack yoga
From: @liksh Reviewed-by: @xiyuanwang Signed-off-by: @xiyuanwang
This commit is contained in:
commit
fadb289ec9
26
0001-fix-build-erro.patch
Normal file
26
0001-fix-build-erro.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From fded20eb035c70d2a495dd1fa7f926f9297ef879 Mon Sep 17 00:00:00 2001
|
||||
From: liksh <li_kunshan@163.com>
|
||||
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
|
||||
|
||||
58
0002-delete-import-m2r.patch
Normal file
58
0002-delete-import-m2r.patch
Normal file
@ -0,0 +1,58 @@
|
||||
From b2b1f3dcadff89287e08f897e34465a23207c5e0 Mon Sep 17 00:00:00 2001
|
||||
From: liksh <li_kunshan@163.com>
|
||||
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 <li_kunshan@163.com>
|
||||
+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
|
||||
|
||||
Binary file not shown.
BIN
python-binary-memcached-0.31.1.tar.gz
Normal file
BIN
python-binary-memcached-0.31.1.tar.gz
Normal file
Binary file not shown.
@ -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 <liks11@chinaunicom.com.cn> - 0.31.1-1
|
||||
- upgrade to 0.31.1 for openstack yoga
|
||||
|
||||
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.30.1-2
|
||||
- DESC: delete -S git from %autosetup
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user