diff --git a/python-daemon-2.2.4.tar.gz b/python-daemon-2.2.4.tar.gz deleted file mode 100644 index 07eabf1d7c6768da5c7832ad9fa89e87e62550b8..0000000000000000000000000000000000000000 Binary files a/python-daemon-2.2.4.tar.gz and /dev/null differ diff --git a/python-daemon-2.3.1.tar.gz b/python-daemon-2.3.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..531b2cbf19a0fd915936bbbe3b7776f5e86e6e10 Binary files /dev/null and b/python-daemon-2.3.1.tar.gz differ diff --git a/python-daemon-safe_hasattr.patch b/python-daemon-safe_hasattr.patch deleted file mode 100644 index 0721855ef9a46f84b37202a6f97a8caa287ef7ad..0000000000000000000000000000000000000000 --- a/python-daemon-safe_hasattr.patch +++ /dev/null @@ -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 - diff --git a/python-daemon.spec b/python-daemon.spec index 4409cda3cfbf1ec446395e34c062e52ededc270a..9ff474addff1178fda0afa88abdb28b70594cb92 100644 --- a/python-daemon.spec +++ b/python-daemon.spec @@ -1,6 +1,6 @@ Name: python-daemon -Version: 2.2.4 -Release: 3 +Version: 2.3.1 +Release: 1 Summary: Library to implement a well-behaved Unix daemon process 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 # https://pagure.io/python-daemon/c/cc9e6a0321a547aacd568aa1e8c7d94a000d5d11 Patch0: remove-twine-dependency.patch -Patch1: python-daemon-safe_hasattr.patch BuildArch: noarch 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/ %changelog +* Fri Jul 29 2022 jiangxinyu - 2.3.1-1 +- Update to 2.3.1 + * Thu Jul 07 2022 yaoxin - 2.2.4-3 - Resolve the compilation fails, due to python-testtools update to 2.5.0 diff --git a/python-daemon.yaml b/python-daemon.yaml index 64262be822f5e790adfb69f29587aa3625f9852d..8c8a6305dbe67d1277bd747b0d650adfafa5e955 100644 --- a/python-daemon.yaml +++ b/python-daemon.yaml @@ -1,4 +1,4 @@ version_control: pypi -src_repo: daemon +src_repo: python-daemon tag_prefix: ^v separator: "."