From 7888da395f5faa043fa1f6b0116623570c7eec12 Mon Sep 17 00:00:00 2001 From: algorithmofdish Date: Mon, 1 Aug 2022 17:23:47 +0800 Subject: [PATCH] add build require:python3-devel to provide pythonXdist (cherry picked from commit e55e225c04c3eabd0eabcf3ee12700f57f9f195a) --- 0001-remove-unused-install-require.patch | 25 ++++++++++++++++++++++++ pyArango.spec | 9 +++++++-- 2 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 0001-remove-unused-install-require.patch diff --git a/0001-remove-unused-install-require.patch b/0001-remove-unused-install-require.patch new file mode 100644 index 0000000..3894c80 --- /dev/null +++ b/0001-remove-unused-install-require.patch @@ -0,0 +1,25 @@ +From af93b7114fff07474cff9958830d6bbcb55fae26 Mon Sep 17 00:00:00 2001 +From: algorithmofdish +Date: Tue, 2 Aug 2022 20:04:09 +0800 +Subject: [PATCH] remove unused install require + +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index d885f69..d2d2012 100644 +--- a/setup.py ++++ b/setup.py +@@ -44,7 +44,7 @@ setup( + 'Programming Language :: Python :: 3', + ], + +- install_requires=['requests>=2.7.0', 'future', 'datetime'], ++ install_requires=['requests>=2.7.0', 'future'], + + keywords='database ORM nosql arangodb driver validation', + +-- +2.27.0 + diff --git a/pyArango.spec b/pyArango.spec index e1a291a..a572c71 100644 --- a/pyArango.spec +++ b/pyArango.spec @@ -2,14 +2,16 @@ Name: pyarango Version: 2.0.1 -Release: 1 +Release: 2 Summary: Python Driver for ArangoDB with built-in validation License: Apache-2.0 URL: https://github.com/ArangoDB-Community/pyArango Source0: https://files.pythonhosted.org/packages/9f/0e/e1b22ae0020ab9da9d481b42c426beac204ab79e8628267d135f16e09ad0/pyArango-%{version}.tar.gz BuildArch: noarch -BuildRequires: python3-setuptools +Patch0001: 0001-remove-unused-install-require.patch + +BuildRequires: python3-setuptools python3-devel %description @@ -55,5 +57,8 @@ pyArango supports graphs, indexes and probably everything that arangodb can do. %changelog +* Tue Aug 2 2022 algorithmofdish - 2.0.1-2 +- add build require:python3-devel to provide pythonXdist + * Thu Jul 28 2022 algorithmofdish - 2.0.1-1 - Package init -- Gitee