Accepting request 977821 from security:idm

OBS-URL: https://build.opensuse.org/request/show/977821
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cepces?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2022-05-22 18:25:56 +00:00 committed by Git OBS Bridge
commit 03ea75d1b4
3 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,23 @@
From b755b56d25f3e54f8f15d9985fd0597b21c1051d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dirk=20M=C3=BCller?= <dirk@dmllr.de>
Date: Tue, 10 May 2022 18:18:32 +0200
Subject: [PATCH] Use Python 3.10 compatible import path
This should work with any python >= 3.0
---
cepces/xml/binding.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cepces/xml/binding.py b/cepces/xml/binding.py
index 2749399..9928c1f 100644
--- a/cepces/xml/binding.py
+++ b/cepces/xml/binding.py
@@ -18,7 +18,7 @@
# pylint: disable=protected-access,too-few-public-methods,too-many-arguments
# pylint: disable=too-many-ancestors
"""Module containing XML bindings."""
-from collections import MutableSequence
+from collections.abc import MutableSequence
from xml.etree import ElementTree
import inspect
from abc import ABCMeta, abstractmethod

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 10 19:19:56 UTC 2022 - Dirk Müller <dmueller@suse.com>
- add b755b56d25f3e54f8f15d9985fd0597b21c1051d.patch
-------------------------------------------------------------------
Wed Oct 6 09:03:40 UTC 2021 - Fabian Vogt <fvogt@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -28,6 +28,7 @@ Summary: Certificate Enrollment through CEP/CES
License: GPL-3.0-or-later
URL: https://github.com/ufven/%{app_name}
Source0: %{name}-%{version}.tar.bz2
Patch1: https://github.com/openSUSE/cepces/pull/11/commits/b755b56d25f3e54f8f15d9985fd0597b21c1051d.patch
BuildArch: noarch
Requires: %{app_name}-certmonger == %{version}
@ -82,6 +83,7 @@ SELinux support for %{app_name}
%prep
%setup -q -n %{app_name}-%{version}
%autopatch -p1
%build
%py3_build