Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package borgbackup for openSUSE:Factory 
checked in at 2021-07-03 20:50:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/borgbackup (Old)
 and      /work/SRC/openSUSE:Factory/.borgbackup.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "borgbackup"

Sat Jul  3 20:50:42 2021 rev:33 rq:903758 version:1.1.16

Changes:
--------
--- /work/SRC/openSUSE:Factory/borgbackup/borgbackup.changes    2021-05-16 
23:44:13.365114166 +0200
+++ /work/SRC/openSUSE:Factory/.borgbackup.new.2625/borgbackup.changes  
2021-07-03 20:50:58.816708069 +0200
@@ -1,0 +2,6 @@
+Fri Jul  2 10:55:47 UTC 2021 - Hans-Peter Jansen <[email protected]>
+
+- Fix documentation generation with
+  borgbackup-1.1.16-fix-sphinx-api.patch for Leap >= 15.3
+
+-------------------------------------------------------------------

New:
----
  borgbackup-1.1.16-fix-sphinx-api.patch

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

Other differences:
------------------
++++++ borgbackup.spec ++++++
--- /var/tmp/diff_new_pack.eFTMLq/_old  2021-07-03 20:50:59.356703916 +0200
+++ /var/tmp/diff_new_pack.eFTMLq/_new  2021-07-03 20:50:59.360703886 +0200
@@ -2,7 +2,7 @@
 # spec file for package borgbackup
 #
 # Copyright (c) 2021 SUSE LLC
-# Copyright (c) 2016-2019 LISA GmbH, Bingen, Germany.
+# Copyright (c) 2016-2021 LISA GmbH, Bingen, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -37,6 +37,13 @@
 %bcond_with     borg_sysblake2
 %endif
 
+# new sphinx api, available since Leap 15.3
+%if ( 0%{?sle_version} >= 150300 && 0%{?is_opensuse} ) || ( 0%{?suse_version} 
> 1500 )
+%bcond_without  borg_new_sphinx_api
+%else
+%bcond_with     borg_new_sphinx_api
+%endif
+
 Name:           borgbackup
 Version:        1.1.16
 Release:        0
@@ -51,6 +58,7 @@
 # python3-guzzle_sphinx_theme isn't available everywhere,
 # fall back to Sphinx default theme for older distributions
 Patch0:         borgbackup-1.1.4-sphinx-default-theme.patch
+Patch1:         borgbackup-1.1.16-fix-sphinx-api.patch
 
 # build dependencies
 BuildRequires:  bash
@@ -171,6 +179,9 @@
 %if ! %{with borg_guzzle}
 %patch0 -p1
 %endif
+%if %{with borg_new_sphinx_api}
+%patch1 -p1
+%endif
 # remove bundled libraries, that we don't want to be included
 rm -rf src/borg/algorithms/{lz4,zstd}
 # remove bundled blake2 library, if appropriate

++++++ borgbackup-1.1.16-fix-sphinx-api.patch ++++++
Index: b/docs/conf.py
===================================================================
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -113,7 +113,7 @@ def set_rst_settings(app):
 
 
 def setup(app):
-    app.add_stylesheet('css/borg.css')
+    app.add_css_file('css/borg.css')
     app.connect('builder-inited', set_rst_settings)
 
 # Theme options are theme-specific and customize the look and feel of a theme

Reply via email to