Hello community,

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

Package is "python-watchdog"

Tue May 19 14:46:43 2020 rev:7 rq:806805 version:0.10.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-watchdog/python-watchdog.changes  
2020-03-10 13:26:03.186388769 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-watchdog.new.2738/python-watchdog.changes    
    2020-05-19 14:46:44.475846891 +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.qRj6C3/_old  2020-05-19 14:46:45.251848549 +0200
+++ /var/tmp/diff_new_pack.qRj6C3/_new  2020-05-19 14:46:45.255848558 +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