Hello community,

here is the log from the commit of package python-dynaconf for openSUSE:Factory 
checked in at 2020-05-28 09:17:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dynaconf (Old)
 and      /work/SRC/openSUSE:Factory/.python-dynaconf.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-dynaconf"

Thu May 28 09:17:42 2020 rev:6 rq:809400 version:2.2.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-dynaconf/python-dynaconf.changes  
2020-04-10 23:53:30.752710222 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-dynaconf.new.3606/python-dynaconf.changes    
    2020-05-28 09:17:42.481018748 +0200
@@ -1,0 +2,5 @@
+Tue May 26 07:22:48 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-dynaconf.spec ++++++
--- /var/tmp/diff_new_pack.YmN7vn/_old  2020-05-28 09:17:43.089020182 +0200
+++ /var/tmp/diff_new_pack.YmN7vn/_new  2020-05-28 09:17:43.093020192 +0200
@@ -38,6 +38,8 @@
 Requires:       python-redis
 Requires:       python-setuptools
 Requires:       python-toml
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module Flask >= 0.12}
@@ -70,15 +72,22 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/dynaconf
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %pytest tests/
 
+%post
+%python_install_alternative dynaconf
+
+%postun
+%python_uninstall_alternative dynaconf
+
 %files %{python_files}
 %doc CHANGELOG.md README.md
 %license LICENSE
-%python3_only %{_bindir}/dynaconf
+%python_alternative %{_bindir}/dynaconf
 %{python_sitelib}/*
 
 %changelog


Reply via email to