Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-watchdog for openSUSE:Factory
checked in at 2023-06-12 15:25:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-watchdog (Old)
and /work/SRC/openSUSE:Factory/.python-watchdog.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-watchdog"
Mon Jun 12 15:25:28 2023 rev:20 rq:1092189 version:3.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-watchdog/python-watchdog.changes
2023-03-27 18:17:58.799644752 +0200
+++
/work/SRC/openSUSE:Factory/.python-watchdog.new.15902/python-watchdog.changes
2023-06-12 15:26:13.554971948 +0200
@@ -1,0 +2,8 @@
+Sun Jun 11 09:16:06 UTC 2023 - ecsos <[email protected]>
+
+- Add %{?sle15_python_module_pythons}
+- Fix build error for Leap
+ Generate doc only for Leap because it rise up an syntax error in
+ version.py
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-watchdog.spec ++++++
--- /var/tmp/diff_new_pack.4iRpyu/_old 2023-06-12 15:26:14.702978739 +0200
+++ /var/tmp/diff_new_pack.4iRpyu/_new 2023-06-12 15:26:14.742978977 +0200
@@ -16,8 +16,8 @@
#
-%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
+%{?sle15_python_module_pythons}
Name: python-watchdog
Version: 3.0.0
Release: 0
@@ -45,11 +45,14 @@
%description
Python API and shell utilities to monitor file system events.
+# doc only for Tumblweed because Leap rise up an systax error in version.py
+%if 0%{?suse_version} > 1500
%package doc
Summary: Documentation and examples for %{name}
%description doc
This package contains documentation and examples for %{name}.
+%endif
%prep
%setup -q -n watchdog-%{version}
@@ -59,7 +62,9 @@
%build
%python_build
+%if 0%{?suse_version} > 1500
cd docs && make html && rm -r build/html/.buildinfo build/html/objects.inv #
Build HTML docs
+%endif
%install
%python_install
@@ -86,7 +91,9 @@
%{python_sitelib}/watchdog
%{python_sitelib}/watchdog-%{version}-py%{python_version}.egg-info
+%if 0%{?suse_version} > 1500
%files %{python_files doc}
%doc docs/build/html
+%endif
%changelog