Hello community, here is the log from the commit of package python-Yapsy for openSUSE:Leap:15.2 checked in at 2020-04-21 19:07:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-Yapsy (Old) and /work/SRC/openSUSE:Leap:15.2/.python-Yapsy.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Yapsy" Tue Apr 21 19:07:07 2020 rev:12 rq:796038 version:1.12.2 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-Yapsy/python-Yapsy.changes 2020-03-09 18:01:54.640714609 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-Yapsy.new.2738/python-Yapsy.changes 2020-04-21 19:08:37.300123053 +0200 @@ -1,0 +2,6 @@ +Mon Apr 20 07:00:48 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Disable doc build as it used py2 Sphinx and new py3 one does not + seem to work + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Yapsy.spec ++++++ --- /var/tmp/diff_new_pack.GoJrKv/_old 2020-04-21 19:08:37.696123860 +0200 +++ /var/tmp/diff_new_pack.GoJrKv/_new 2020-04-21 19:08:37.700123868 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-Yapsy # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,24 +22,15 @@ Release: 0 Summary: Yet another plugin system License: BSD-2-Clause -Group: Development/Languages/Python -Url: http://yapsy.sourceforge.net +URL: http://yapsy.sourceforge.net Source: https://files.pythonhosted.org/packages/source/Y/Yapsy/Yapsy-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -# SECTION docs -BuildRequires: python-Sphinx -# /SECTION Provides: python-yapsy -Suggests: %{name}-doc +Obsoletes: %{name}-doc BuildArch: noarch - -%{python_subpackages} - -%package -n %{name}-doc -Summary: Documentation for %{name} -Group: Documentation/HTML +%python_subpackages %description Yapsy is a small library implementing the core mechanisms needed to @@ -49,34 +40,23 @@ least version 2.3) and to implement only the basic functionalities needed to detect, load and keep track of several plugins. -%description -n %{name}-doc -HTML documentation files for %{name}. - %prep %setup -q -n Yapsy-%{version} %build -%{python_build} +%python_build find yapsy/ -name "*.py" -exec sed -i -e '/^#!\s\?\/usr\/bin\/\(env\s\)\?python$/d' {} ';' -pushd doc -make html -#rm _build/html/.buildinfo -popd %install -%{python_install} -%{python_expand %fdupes %{buildroot}%{$python_sitelib}} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%{python_exec setup.py test} +%python_exec setup.py test %files %{python_files} %{python_sitelib}/* %doc CHANGELOG.txt README.txt %license LICENSE.txt -%files -n %{name}-doc -%doc doc/_build/html -%doc artwork - %changelog