Hello community,

here is the log from the commit of package python-watchdog for 
openSUSE:Leap:15.2 checked in at 2020-05-23 16:08:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-watchdog (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-watchdog.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-watchdog"

Sat May 23 16:08:26 2020 rev:13 rq:808367 version:0.10.2

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-watchdog/python-watchdog.changes        
2020-03-10 17:14:52.197443585 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-watchdog.new.2738/python-watchdog.changes  
    2020-05-23 16:08:29.153190173 +0200
@@ -1,0 +2,5 @@
+Mon May 18 07:25:34 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-watchdog.spec ++++++
--- /var/tmp/diff_new_pack.BgZkqZ/_old  2020-05-23 16:08:29.605191142 +0200
+++ /var/tmp/diff_new_pack.BgZkqZ/_new  2020-05-23 16:08:29.605191142 +0200
@@ -34,6 +34,8 @@
 Requires:       python-PyYAML
 Requires:       python-argh
 Requires:       python-pathtools >= 0.1.1
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -58,6 +60,7 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/watchmedo
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -65,10 +68,16 @@
 export LANG=en_US.UTF-8
 %pytest
 
+%post
+%python_install_alternative watchmedo
+
+%postun
+%python_uninstall_alternative watchmedo
+
 %files %{python_files}
 %license COPYING LICENSE
 %doc AUTHORS changelog.rst MANIFEST.in README.rst
-%python3_only %{_bindir}/watchmedo
+%python_alternative %{_bindir}/watchmedo
 %{python_sitelib}/watchdog
 %{python_sitelib}/watchdog-%{version}-py%{python_version}.egg-info
 


Reply via email to