Hello community, here is the log from the commit of package python-manuel for openSUSE:Factory checked in at 2020-12-05 20:35:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-manuel (Old) and /work/SRC/openSUSE:Factory/.python-manuel.new.5913 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-manuel" Sat Dec 5 20:35:28 2020 rev:9 rq:853080 version:1.10.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-manuel/python-manuel.changes 2019-11-04 17:10:48.356543137 +0100 +++ /work/SRC/openSUSE:Factory/.python-manuel.new.5913/python-manuel.changes 2020-12-05 20:35:35.710612116 +0100 @@ -1,0 +2,7 @@ +Thu Dec 3 23:06:12 UTC 2020 - Benjamin Greiner <c...@bnavigator.de> + +- Fix Sphinx build with primary python3 flavor for + gh#openSUSE/python-rpm-macros#66 +- Reorganize BuildRequires + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-manuel.spec ++++++ --- /var/tmp/diff_new_pack.9R9XNL/_old 2020-12-05 20:35:36.410612826 +0100 +++ /var/tmp/diff_new_pack.9R9XNL/_new 2020-12-05 20:35:36.414612830 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-manuel # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2013-2018 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -27,15 +27,18 @@ Source: https://files.pythonhosted.org/packages/source/m/manuel/manuel-%{version}.tar.gz # add fixed sphinx config <h...@urpla.net> Source1: conf.py -# Documentation requirements: -BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} -# Testing requirements: -BuildRequires: %{python_module zope.testing} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-six BuildArch: noarch +# SECTION Documentation requirements: +BuildRequires: python3-Sphinx +# /SECTION +# SECTION Testing requirements: +BuildRequires: %{python_module zope.testing} +# /SECTION %python_subpackages %description @@ -56,8 +59,12 @@ %build %python_build -%{_python_use_flavor python3} -python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo +%{python_expand # build docs only one time with primary python3 flavor +if [ $(which $python) -ef $(which python3) ]; then + $python setup.py build_sphinx + rm build/sphinx/html/.buildinfo +fi +} %install %python_install @@ -69,7 +76,8 @@ %files %{python_files} %license LICENSE.rst %doc CHANGES.rst COPYRIGHT.rst PKG-INFO README.rst -%{python_sitelib}/* +%{python_sitelib}/manuel +%{python_sitelib}/manuel-%{version}*-info %files %{python_files doc} %doc build/sphinx/html _______________________________________________ openSUSE Commits mailing list -- commit@lists.opensuse.org To unsubscribe, email commit-le...@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/commit@lists.opensuse.org