Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-oic for openSUSE:Factory 
checked in at 2021-02-08 11:47:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oic (Old)
 and      /work/SRC/openSUSE:Factory/.python-oic.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-oic"

Mon Feb  8 11:47:14 2021 rev:5 rq:868655 version:1.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oic/python-oic.changes    2020-03-26 
23:35:17.442818729 +0100
+++ /work/SRC/openSUSE:Factory/.python-oic.new.28504/python-oic.changes 
2021-02-08 11:47:16.989695982 +0100
@@ -1,0 +2,5 @@
+Tue Feb  2 13:21:27 UTC 2021 - Dirk M??ller <[email protected]>
+
+- use update-alternatives for multi-python3-flavor build 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-oic.spec ++++++
--- /var/tmp/diff_new_pack.ApVpn0/_old  2021-02-08 11:47:17.681697104 +0100
+++ /var/tmp/diff_new_pack.ApVpn0/_new  2021-02-08 11:47:17.685697110 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-oic
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,6 +29,7 @@
 Source:         
https://github.com/OpenIDC/pyoidc/archive/%{version}.tar.gz#/%{modname}-%{version}.tar.gz
 BuildRequires:  %{python_module Mako}
 BuildRequires:  %{python_module cryptography}
+BuildRequires:  %{python_module dbm}
 BuildRequires:  %{python_module defusedxml}
 BuildRequires:  %{python_module freezegun}
 BuildRequires:  %{python_module future}
@@ -44,10 +45,10 @@
 BuildRequires:  %{python_module typing}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python3-dbm
 Requires:       python-Beaker
 Requires:       python-Mako
 Requires:       python-cryptography
+Requires:       python-dbm
 Requires:       python-defusedxml
 Requires:       python-future
 Requires:       python-pycryptodomex
@@ -58,9 +59,6 @@
 Requires:       python-typing_extensions
 Suggests:       python-ldap
 BuildArch:      noarch
-%ifpython3
-Requires:       python3-dbm
-%endif
 %python_subpackages
 
 %description
@@ -78,6 +76,13 @@
 %install
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%python_clone -a %{buildroot}%{_bindir}/oic-client-management
+
+%post
+%python_install_alternative oic-client-management
+
+%postun
+%python_uninstall_alternative oic-client-management
 
 %check
 export PYTHONPATH=src
@@ -87,6 +92,6 @@
 %doc README.rst
 %license LICENSE.txt
 %{python_sitelib}/*
-%{_bindir}/oic-client-management
+%python_alternative %{_bindir}/oic-client-management
 
 %changelog

Reply via email to