Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-sphinxcontrib-copybutton for openSUSE:Factory checked in at 2021-08-30 13:55:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-copybutton (Old)
and /work/SRC/openSUSE:Factory/.python-sphinxcontrib-copybutton.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinxcontrib-copybutton"
Mon Aug 30 13:55:03 2021 rev:2 rq:914693 version:0.4.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sphinxcontrib-copybutton/python-sphinxcontrib-copybutton.changes 2021-08-18 08:56:43.178917920 +0200
+++ /work/SRC/openSUSE:Factory/.python-sphinxcontrib-copybutton.new.1899/python-sphinxcontrib-copybutton.changes 2021-08-30 13:55:16.073826995 +0200
@@ -1,0 +2,6 @@
+Fri Aug 27 21:20:10 UTC 2021 - Matej Cepl
+
+- Add building documentation as a test for whole package.
+- Switch off building for Python 3.6.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sphinxcontrib-copybutton.spec ++++++
--- /var/tmp/diff_new_pack.8ZGexa/_old 2021-08-30 13:55:17.885829321 +0200
+++ /var/tmp/diff_new_pack.8ZGexa/_new 2021-08-30 13:55:17.889829326 +0200
@@ -18,6 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global skip_python2 1
+%global skip_python36 1
Name: python-sphinxcontrib-copybutton
Version: 0.4.0
Release: 0
@@ -26,7 +27,10 @@
Group: Development/Languages/Python
URL: https://github.com/executablebooks/sphinx-copybutton
Source: https://files.pythonhosted.org/packages/source/s/sphinx-copybutton/sphinx-copybutton-%{version}.tar.gz
+BuildRequires: %{python_module Sphinx}
+BuildRequires: %{python_module ipython}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module sphinx-book-theme}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Sphinx >= 0.6
@@ -41,13 +45,19 @@
%build
%python_build
+%{python_expand export PYTHONPATH=build/lib
+sphinx-build -n -b html docs/ docs/_build
+rm -r docs/_build/.{buildinfo,doctrees}
+}
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+mv -v docs/_build documentation/
+%fdupes documentation/
%files %{python_files}
-%doc README.md
+%doc README.md documentation
%license LICENSE
%{python_sitelib}/sphinx_copybutton*