!8 Upgrade to 2.3.1
From: @jxy_git Reviewed-by: @wm-wm-wm Signed-off-by: @wm-wm-wm
This commit is contained in:
commit
e439c9bd3c
Binary file not shown.
BIN
python-daemon-2.3.1.tar.gz
Normal file
BIN
python-daemon-2.3.1.tar.gz
Normal file
Binary file not shown.
@ -1,20 +0,0 @@
|
|||||||
diff --color -Nur python-daemon-2.3.0.orig/test/test_metadata.py python-daemon-2.3.0/test/test_metadata.py
|
|
||||||
--- python-daemon-2.3.0.orig/test/test_metadata.py 2021-02-20 21:45:31.000000000 -0800
|
|
||||||
+++ python-daemon-2.3.0/test/test_metadata.py 2021-08-07 14:13:30.307834642 -0700
|
|
||||||
@@ -28,6 +28,7 @@
|
|
||||||
import pkg_resources
|
|
||||||
import testtools.helpers
|
|
||||||
import testtools.matchers
|
|
||||||
+import extras
|
|
||||||
|
|
||||||
from . import scaffold
|
|
||||||
from .scaffold import unicode
|
|
||||||
@@ -44,7 +45,7 @@
|
|
||||||
def match(self, instance):
|
|
||||||
""" Assert the object `instance` has an attribute named `name`. """
|
|
||||||
result = None
|
|
||||||
- if not testtools.helpers.safe_hasattr(instance, self.attribute_name):
|
|
||||||
+ if not extras.safe_hasattr(instance, self.attribute_name):
|
|
||||||
result = AttributeNotFoundMismatch(instance, self.attribute_name)
|
|
||||||
return result
|
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: python-daemon
|
Name: python-daemon
|
||||||
Version: 2.2.4
|
Version: 2.3.1
|
||||||
Release: 3
|
Release: 1
|
||||||
Summary: Library to implement a well-behaved Unix daemon process
|
Summary: Library to implement a well-behaved Unix daemon process
|
||||||
|
|
||||||
License: GPL-3.0-only and Apache-2.0
|
License: GPL-3.0-only and Apache-2.0
|
||||||
@ -9,7 +9,6 @@ Source0: https://files.pythonhosted.org/packages/05/97/210f94322675c83831
|
|||||||
# Downstream-only patch, twine is unnecessary to build
|
# Downstream-only patch, twine is unnecessary to build
|
||||||
# https://pagure.io/python-daemon/c/cc9e6a0321a547aacd568aa1e8c7d94a000d5d11
|
# https://pagure.io/python-daemon/c/cc9e6a0321a547aacd568aa1e8c7d94a000d5d11
|
||||||
Patch0: remove-twine-dependency.patch
|
Patch0: remove-twine-dependency.patch
|
||||||
Patch1: python-daemon-safe_hasattr.patch
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python3-devel, python3-setuptools
|
BuildRequires: python3-devel, python3-setuptools
|
||||||
@ -52,6 +51,9 @@ PYTHONPATH=$(pwd) %{__python3} -m unittest discover
|
|||||||
%{python3_sitelib}/python_daemon-%{version}-py%{python3_version}.egg-info/
|
%{python3_sitelib}/python_daemon-%{version}-py%{python3_version}.egg-info/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 29 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 2.3.1-1
|
||||||
|
- Update to 2.3.1
|
||||||
|
|
||||||
* Thu Jul 07 2022 yaoxin <yaoxin30@h-partners.com> - 2.2.4-3
|
* Thu Jul 07 2022 yaoxin <yaoxin30@h-partners.com> - 2.2.4-3
|
||||||
- Resolve the compilation fails, due to python-testtools update to 2.5.0
|
- Resolve the compilation fails, due to python-testtools update to 2.5.0
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
version_control: pypi
|
version_control: pypi
|
||||||
src_repo: daemon
|
src_repo: python-daemon
|
||||||
tag_prefix: ^v
|
tag_prefix: ^v
|
||||||
separator: "."
|
separator: "."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user