Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-manuel for openSUSE:Factory 
checked in at 2024-01-17 22:14:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-manuel (Old)
 and      /work/SRC/openSUSE:Factory/.python-manuel.new.16006 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-manuel"

Wed Jan 17 22:14:44 2024 rev:15 rq:1139133 version:1.12.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-manuel/python-manuel.changes      
2023-05-03 12:56:02.535397172 +0200
+++ /work/SRC/openSUSE:Factory/.python-manuel.new.16006/python-manuel.changes   
2024-01-17 22:14:47.333870730 +0100
@@ -1,0 +2,6 @@
+Tue Jan 16 10:31:24 UTC 2024 - Markéta Machová <mmach...@suse.com>
+
+- Add %{?sle15_python_module_pythons}
+- Don't build the docs in SLE-based projects
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-manuel.spec ++++++
--- /var/tmp/diff_new_pack.HNE7Va/_old  2024-01-17 22:14:47.865890268 +0100
+++ /var/tmp/diff_new_pack.HNE7Va/_new  2024-01-17 22:14:47.869890415 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-manuel
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 # Copyright (c) 2013-2018 LISA GmbH, Bingen, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,6 +17,7 @@
 #
 
 
+%{?sle15_python_module_pythons}
 Name:           python-manuel
 Version:        1.12.4
 Release:        0
@@ -34,11 +35,13 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
+%if 0%{?suse_version} >= 1600
 # SECTION Documentation requirements:
 BuildRequires:  python3-Sphinx
 BuildRequires:  python3-myst-parser
 BuildRequires:  python3-sphinxcontrib-copybutton
 # /SECTION
+%endif
 # SECTION Testing requirements:
 BuildRequires:  %{python_module zope.testing}
 # /SECTION
@@ -61,17 +64,21 @@
 
 %build
 %pyproject_wheel
+%if 0%{?suse_version} >= 1600
 sphinx-build -c sphinx/ -a src/manuel docs/
 rm docs/.buildinfo
+%endif
 
 %install
 %pyproject_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%if 0%{?suse_version} >= 1600
 %{python_expand #
-%fdupes %{buildroot}%{$python_sitelib}
 mkdir -p %{buildroot}%{_docdir}/%{$python_prefix}-manuel-doc
 cp -r docs/* %{buildroot}%{_docdir}/%{$python_prefix}-manuel-doc
 %fdupes %{buildroot}%{_docdir}/%{$python_prefix}-manuel-doc
 }
+%endif
 
 %check
 %pytest src/manuel/tests.py
@@ -82,6 +89,8 @@
 %{python_sitelib}/manuel
 %{python_sitelib}/manuel-%{version}.dist-info
 
+%if 0%{?suse_version} >= 1600
 %files %{python_files doc}
 %doc %{_docdir}/%{python_prefix}-manuel-doc
+%endif
 

Reply via email to