Hello community,

here is the log from the commit of package python-webassets for 
openSUSE:Factory checked in at 2020-05-19 14:46:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-webassets (Old)
 and      /work/SRC/openSUSE:Factory/.python-webassets.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-webassets"

Tue May 19 14:46:50 2020 rev:4 rq:806808 version:2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-webassets/python-webassets.changes        
2020-02-07 15:55:56.167559594 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-webassets.new.2738/python-webassets.changes  
    2020-05-19 14:46:51.743862419 +0200
@@ -1,0 +2,5 @@
+Mon May 18 07:25:35 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-webassets.spec ++++++
--- /var/tmp/diff_new_pack.EtuxGI/_old  2020-05-19 14:46:54.047867342 +0200
+++ /var/tmp/diff_new_pack.EtuxGI/_new  2020-05-19 14:46:54.051867350 +0200
@@ -36,6 +36,8 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-setuptools
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -55,16 +57,23 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/webassets
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 export LANG="en_US.UTF8"
 %pytest
 
+%post
+%python_install_alternative webassets
+
+%postun
+%python_uninstall_alternative webassets
+
 %files %{python_files}
 %license LICENSE
 %doc AUTHORS CHANGES README.rst
-%python3_only %{_bindir}/webassets
+%python_alternative %{_bindir}/webassets
 %{python_sitelib}/*
 
 %changelog


Reply via email to