Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-certipy for openSUSE:Factory 
checked in at 2021-01-26 14:46:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-certipy (Old)
 and      /work/SRC/openSUSE:Factory/.python-certipy.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-certipy"

Tue Jan 26 14:46:01 2021 rev:2 rq:864193 version:0.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-certipy/python-certipy.changes    
2020-04-07 10:31:52.030541246 +0200
+++ /work/SRC/openSUSE:Factory/.python-certipy.new.28504/python-certipy.changes 
2021-01-26 14:49:46.723679976 +0100
@@ -1,0 +2,5 @@
+Tue Jan 19 05:53:17 UTC 2021 - Steve Kowalik <[email protected]>
+
+- Switch from python3_only to python_alternative for certipy 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-certipy.spec ++++++
--- /var/tmp/diff_new_pack.jTFePe/_old  2021-01-26 14:49:47.235680674 +0100
+++ /var/tmp/diff_new_pack.jTFePe/_new  2021-01-26 14:49:47.239680680 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-certipy
 #
-# 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
@@ -36,6 +36,8 @@
 BuildRequires:  %{python_module pyOpenSSL}
 BuildRequires:  %{python_module pytest}
 # /SECTION
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 %python_subpackages
 
 %description
@@ -53,16 +55,23 @@
 %install
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%python_clone -a %{buildroot}%{_bindir}/certipy
 
 %check
 mkdir tmp
 export TMP=$(pwd)/tmp
 %pytest test/
 
+%post
+%python_install_alternative certipy
+
+%postun
+%python_uninstall_alternative certipy
+
 %files %{python_files}
 %doc README.md
 %license LICENSE
-%python3_only %{_bindir}/certipy
+%python_alternative %{_bindir}/certipy
 %{python_sitelib}/*
 
 %changelog

Reply via email to