Hello community,

here is the log from the commit of package python-libsass for 
openSUSE:Leap:15.2 checked in at 2020-05-28 20:10:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-libsass (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-libsass.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-libsass"

Thu May 28 20:10:57 2020 rev:13 rq:809595 version:0.19.4

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-libsass/python-libsass.changes  
2020-04-18 18:41:19.521990966 +0200
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-libsass.new.3606/python-libsass.changes    
    2020-05-28 20:10:58.275144568 +0200
@@ -1,0 +2,5 @@
+Mon May 25 06:50:36 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-libsass.spec ++++++
--- /var/tmp/diff_new_pack.1K85WQ/_old  2020-05-28 20:10:58.635145640 +0200
+++ /var/tmp/diff_new_pack.1K85WQ/_new  2020-05-28 20:10:58.639145652 +0200
@@ -36,6 +36,8 @@
 BuildRequires:  python-rpm-macros
 Requires:       python-setuptools
 Requires:       python-six
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 # Both are providing sassc binary with different parameters
 Conflicts:      sassc
 # SECTION test requirements
@@ -58,14 +60,24 @@
 %install
 export SYSTEM_SASS=true
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/sassc
+%python_clone -a %{buildroot}%{_bindir}/pysassc
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
 %pytest_arch sasstests.py
 
+%post
+%python_install_alternative sassc
+%python_install_alternative pysassc
+
+%postun
+%python_uninstall_alternative sassc
+%python_uninstall_alternative pysassc
+
 %files %{python_files}
-%python3_only %{_bindir}/pysassc
-%python3_only %{_bindir}/sassc
+%python_alternative %{_bindir}/pysassc
+%python_alternative %{_bindir}/sassc
 %{python_sitearch}/*
 
 %changelog


Reply via email to