commit python-ncclient for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-ncclient for openSUSE:Factory checked in at 2021-01-31 16:52:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ncclient (Old) and /work/SRC/openSUSE:Factory/.python-ncclient.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-ncclient" Sun Jan 31 16:52:11 2021 rev:13 rq:867995 version:0.6.9 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ncclient/python-ncclient.changes 2020-08-10 15:06:00.600254285 +0200 +++ /work/SRC/openSUSE:Factory/.python-ncclient.new.28504/python-ncclient.changes 2021-01-31 16:52:12.500719680 +0100 @@ -1,0 +2,6 @@ +Thu Jan 28 21:19:07 UTC 2021 - Matej Cepl <mcepl@suse.com> + +- Add allow_old_sphinx.patch allowing building of documentation + on Leap 15 (bsc#1181270). + +------------------------------------------------------------------- New: ---- allow_old_sphinx.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ncclient.spec ++++++ --- /var/tmp/diff_new_pack.YBJ2to/_old 2021-01-31 16:52:13.084720523 +0100 +++ /var/tmp/diff_new_pack.YBJ2to/_new 2021-01-31 16:52:13.088720529 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-ncclient # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,9 @@ Group: Development/Languages/Python URL: http://ncclient.org Source: https://github.com/ncclient/ncclient/archive/v%{version}.tar.gz#/ncclient-%{version}.tar.gz +# PATCH-FIX-OPENSUSE allow_old_sphinx.patch mcepl@suse.com +# Allow build with old Sphinx (< 2.0) on Leap +Patch0: allow_old_sphinx.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -62,6 +65,10 @@ %prep %setup -q -n ncclient-%{version} +%if 0%{?suse_version} < 1550 +%patch0 -p1 +%endif + find examples/ -name "*.py" -exec sed -i 's|#!/usr/bin/env python$|#!/usr/bin/python|g' {} \; # drop shebang find ncclient/operations/third_party/ -name "*.py" -exec sed -i '/^#!\//, 1d' {} \; ++++++ allow_old_sphinx.patch ++++++ --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -19,7 +19,7 @@ import sys, os sys.path.insert(0, os.path.abspath("../..")) # -- General configuration ----------------------------------------------------- -needs_sphinx = '2.0' +# needs_sphinx = '2.0' # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
participants (1)
-
Source-Sync