Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-keyring-keyutils for 
openSUSE:Factory checked in at 2023-07-26 13:23:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-keyring-keyutils (Old)
 and      /work/SRC/openSUSE:Factory/.python-keyring-keyutils.new.15225 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-keyring-keyutils"

Wed Jul 26 13:23:42 2023 rev:3 rq:1100329 version:0.1.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-keyring-keyutils/python-keyring-keyutils.changes
  2023-07-10 16:40:50.414878842 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-keyring-keyutils.new.15225/python-keyring-keyutils.changes
       2023-07-26 13:24:46.096298154 +0200
@@ -1,0 +2,6 @@
+Mon Jul 24 08:25:40 UTC 2023 - Matej Cepl <mc...@suse.com>
+
+- Add keyring-util-properties.patch fixing incompatibility with
+  keyring 23.9.0 (gh#marcus-h/python-keyring-keyutils!3).
+
+-------------------------------------------------------------------

New:
----
  keyring-util-properties.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-keyring-keyutils.spec ++++++
--- /var/tmp/diff_new_pack.XqYn2n/_old  2023-07-26 13:24:46.580301076 +0200
+++ /var/tmp/diff_new_pack.XqYn2n/_new  2023-07-26 13:24:46.588301124 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-keyring-keyutils
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,10 +24,15 @@
 License:        MIT
 URL:            https://github.com/marcus-h/python-keyring-keyutils
 Source:         keyring-keyutils-%{version}.tar.gz
-
+# PATCH-FIX-UPSTREAM keyring-util-properties.patch gh#jaraco/keyring#593 
mc...@suse.com
+# this patch makes things totally awesome
+Patch0:         keyring-util-properties.patch
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module jaraco.classes}
 BuildRequires:  %{python_module keyring}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  keyutils-devel
 BuildRequires:  python-rpm-macros
@@ -47,13 +52,13 @@
 [2] https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git
 
 %prep
-%setup -q -n keyring-keyutils-%{version}
+%autosetup -p1 -n keyring-keyutils-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
@@ -75,6 +80,6 @@
 %doc README.md README_osc.md
 %license LICENSE
 %{python_sitearch}/keyutils
-%{python_sitearch}/keyring_keyutils-%{version}-py*.egg-info
+%{python_sitearch}/keyring_keyutils-%{version}*-info
 
 %changelog

++++++ keyring-util-properties.patch ++++++
---
 keyutils/backend.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/keyutils/backend.py
+++ b/keyutils/backend.py
@@ -3,7 +3,7 @@
 import errno
 
 from keyring.backend import KeyringBackend
-from keyring.util import properties
+from jaraco.classes import properties
 from keyring.errors import PasswordDeleteError
 
 from keyutils.keys import session_keyring
@@ -20,7 +20,7 @@ class KeyutilsKeyringBackend(KeyringBack
         self._key_type = key_type
         self._payload_encoding = payload_encoding
 
-    @properties.ClassProperty
+    @properties.classproperty
     @classmethod
     def priority(cls):
         return 1

Reply via email to