Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package borgbackup for openSUSE:Factory 
checked in at 2022-04-04 19:26:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/borgbackup (Old)
 and      /work/SRC/openSUSE:Factory/.borgbackup.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "borgbackup"

Mon Apr  4 19:26:19 2022 rev:35 rq:966652 version:1.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/borgbackup/borgbackup.changes    2021-07-17 
23:37:28.133585749 +0200
+++ /work/SRC/openSUSE:Factory/.borgbackup.new.1900/borgbackup.changes  
2022-04-04 19:26:44.876292711 +0200
@@ -1,0 +2,104 @@
+Sun Apr  3 12:26:03 UTC 2022 - Hans-Peter Jansen <[email protected]>
+
+- Note removal of borgbackup-1.1.17-old-sphinx-api.patch
+- Adjust copyright years
+
+-------------------------------------------------------------------
+Sat Apr  2 16:11:09 UTC 2022 - Andreas Prittwitz <[email protected]>
+
+- revert changes to copyright header 
+
+-------------------------------------------------------------------
+Wed Mar 30 10:44:18 UTC 2022 - Andreas Prittwitz <[email protected]>
+
+- Update to 1.2.0
+  Compatibility notes:
+   * dropped support / testing for older Pythons, minimum
+     requirement is 3.8. In case your OS does not provide Python >=
+     3.8, consider using our binary, which does not need an
+     external Python interpreter. Or continue using borg 1.1.x,
+     which is still supported.
+   * freeing repository space only happens when "borg compact" is
+     invoked.
+   * mount: the default for --numeric-ids is False now (same as
+     borg extract)
+   * borg create --noatime is deprecated. Not storing atime is the
+     default behaviour now (use --atime if you want to store the 
+     atime).
+   * list: corrected mix-up of "isomtime" and "mtime" formats.
+     Previously, "isomtime" was the default but produced a verbose
+     human format, while "mtime" produced a ISO-8601-like format.
+     The behaviours have been swapped (so "mtime" is human,
+     "isomtime" is ISO-like), and the default is now "mtime".
+     "isomtime" is now a real ISO-8601 format ("T" between date and
+     time, not a space).
+   * create/recreate --list: file status for all files used to get
+     announced AFTER the file (with borg < 1.2). Now, file status
+     is announced BEFORE the file contents are processed. If the
+     file status changes later (e.g. due to an error or a content
+     change), the updated/final file status will be printed again.
+   * removed deprecated-since-long stuff (deprecated since):
+     command "borg change-passphrase" (2017-02), use "borg key ..."
+     option "--keep-tag-files" (2017-01), use "--keep-exclude-tags"
+     option "--list-format" (2017-10), use "--format"
+     option "--ignore-inode" (2017-09), use "--files-cache" w/o "inode"
+     option "--no-files-cache" (2017-09), use "--files-cache=disabled"
+   * removed BORG_HOSTNAME_IS_UNIQUE env var. to use borg you must
+     implement one of these 2 scenarios:
+     the combination of FQDN and result of uuid.getnode() must be
+     unique and stable (this should be the case for almost
+     everybody, except when having duplicate FQDN and MAC address
+     or all-zero MAC address) if you are aware that 1) is not the
+     case for you, you must set BORG_HOST_ID env var to something
+     unique.
+   * exit with 128 + signal number, #5161. if you have scripts
+     expecting rc == 2 for a signal exit, you need to update them
+     to check for >= 128.
+
+  Fixes:
+   * diff: reduce memory consumption, fix is_hardlink_master, #6295
+   * compact: fix / improve freeable / freed space log output
+   * derive really freed space from quota use before/after, #5679
+     do not say "freeable", but "maybe freeable" (based on hint,
+     unsure)
+   * fix race conditions in internal SaveFile function, #6306 #6028
+   * implement internal safe_unlink (was: truncate_and_unlink)
+     function more safely: usually it does not truncate any more,
+     only under "disk full" circumstances and only if there is only
+     one hardlink.
+     see: https://github.com/borgbackup/borg/discussions/6286
+
+  Other changes:
+   * info: use a pre12-meta cache to accelerate stats for borg
+     < 1.2 archives. the first time borg info is invoked on a
+     borg 1.1 repo, it can take a rather long time computing and
+     caching some stats values for 1.1 archives, which borg 1.2
+     archives have in their archive metadata structure. be patient,
+     esp. if you have lots of old archives. following invocations
+     are much faster due to the cache. related change: add archive
+     name to calc_stats progress display.
+   * docs:
+   * add borg 1.2 upgrade notes, #6217
+   * link to borg placeholders and borg patterns help
+   * init: explain the encryption modes better
+   * clarify usage of patternfile roots
+   * put import-tar docs into same file as export-tar docs
+   * explain the difference between a path that ends with or
+     without a slash, #6297
+
+- Full changelog at
+  
https://github.com/borgbackup/borg/blob/1.2.0/docs/changes.rst#version-120-2022-02-22-220222--
+
+- change BuildRequires to python >= 3.8
+- supports msgpack up to 1.0.3
+- add %define for required borgbackup prefixes
+- Add BuildRequires: python3-msgpack, it ist not included with
+  borgbackup v 1.2.0 anymore
+- Add BuildRequires: python3-dateutil, otherwise borgbackup will
+  not build.
+- Add python3-pyfuse3 as a Requirement because upstream recommends
+  this if pyfuse3 is available on the system. Otherwise we are not
+  able to mount archives with borgbackup
+- change path for msgpack license copy. 
+
+-------------------------------------------------------------------

Old:
----
  borgbackup-1.1.17-old-sphinx-api.patch
  borgbackup-1.1.17.tar.gz
  borgbackup-1.1.17.tar.gz.asc

New:
----
  borgbackup-1.2.0.tar.gz
  borgbackup-1.2.0.tar.gz.asc

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

Other differences:
------------------
++++++ borgbackup.spec ++++++
--- /var/tmp/diff_new_pack.p6I5xU/_old  2022-04-04 19:26:45.532285190 +0200
+++ /var/tmp/diff_new_pack.p6I5xU/_new  2022-04-04 19:26:45.536285144 +0200
@@ -1,8 +1,8 @@
 #
 # spec file for package borgbackup
 #
-# Copyright (c) 2021 SUSE LLC
-# Copyright (c) 2016-2021 LISA GmbH, Bingen, Germany.
+# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2016-2022 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
@@ -17,6 +17,11 @@
 #
 
 
+# define variables needed to build/install borgbackup >= 1.2.0
+%define borg_openssl_prefix BORG_OPENSSL_PREFIX=%{_prefix}/lib:%{_libdir}
+# needed when building without the packaged algorithms
+%define borg_liblz4_prefix BORG_LIBLZ4_PREFIX=%{_includedir}
+%define borg_libzstd_prefix BORG_LIBZSTD_PREFIX=%{_includedir}
 %if 0%{?suse_version} >= 1500
 # use new compression libs (lz4, zstd)
 %bcond_without  borg_newcompr
@@ -29,23 +34,14 @@
 %bcond_with     borg_test
 %bcond_with     borg_guzzle
 %endif
-
 # libb2 is available since Leap 15.2
 %if ( 0%{?sle_version} >= 150200 && 0%{?is_opensuse} ) || ( 0%{?suse_version} 
> 1500 )
 %bcond_without borg_sysblake2
 %else
 %bcond_with     borg_sysblake2
 %endif
-
-# old sphinx api, necessary before Leap 15.3
-%if ( 0%{?sle_version} >= 150300 && 0%{?is_opensuse} ) || ( 0%{?suse_version} 
> 1500 )
-%bcond_with     borg_old_sphinx_api
-%else
-%bcond_without  borg_old_sphinx_api
-%endif
-
 Name:           borgbackup
-Version:        1.1.17
+Version:        1.2.0
 Release:        0
 Summary:        Deduplicating backup program with compression and 
authenticated encryption
 License:        BSD-3-Clause
@@ -58,58 +54,56 @@
 # 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.17-old-sphinx-api.patch
-
 # build dependencies
 BuildRequires:  bash
-%if 0%{?suse_version} == 1320 || 0%{?sle_version} == 120200
-BuildRequires:  bash-completion
-%endif
 BuildRequires:  fdupes
 BuildRequires:  fish
 BuildRequires:  gcc-c++
 BuildRequires:  libacl-devel
-%if %{with borg_sysblake2}
-BuildRequires:  libb2-devel
-%endif
-%if %{with borg_newcompr}
-BuildRequires:  liblz4-devel >= 1.7.0
-BuildRequires:  libzstd-devel >= 1.3.0
-%endif
 BuildRequires:  openssl-devel >= 1.0.0
-BuildRequires:  python3 >= 3.5
+BuildRequires:  pkgconfig
+# ver >= 1.2.0 requires python3 >= 3.8
+BuildRequires:  python3 >= 3.8
 BuildRequires:  python3-Cython
+# docs requirements
+BuildRequires:  python3-Sphinx
+# New requirements as of borg version >= 1.2.0
+BuildRequires:  python3-dateutil
+BuildRequires:  python3-devel
+# msgpack is not included with borg version >= 1.2.0 anymore
+BuildRequires:  python3-msgpack
 BuildRequires:  python3-setuptools
 BuildRequires:  python3-setuptools_scm
 BuildRequires:  python3-sphinx_rtd_theme
 BuildRequires:  zsh
-%if ( 0%{?sle_version} >= 150300 && 0%{?is_opensuse} ) || ( 0%{?suse_version} 
> 1500 )
 BuildRequires:  pkgconfig(libxxhash)
-%else
-BuildRequires:  xxhash-devel
+Requires:       python3-setuptools
+%if 0%{?suse_version} == 1320 || 0%{?sle_version} == 120200
+BuildRequires:  bash-completion
+%endif
+%if %{with borg_sysblake2}
+BuildRequires:  libb2-devel
+%endif
+%if %{with borg_newcompr}
+BuildRequires:  liblz4-devel >= 1.7.0
+BuildRequires:  libzstd-devel >= 1.3.0
 %endif
-
-# docs requirements
-BuildRequires:  python3-Sphinx
-BuildRequires:  python3-devel
 %if %{with borg_guzzle}
 BuildRequires:  python3-guzzle_sphinx_theme
 %endif
-
 # testing requirements
 %if %{with borg_test}
 BuildRequires:  python3-pytest
+BuildRequires:  python3-pytest-benchmark
+BuildRequires:  python3-pytest-cov
+BuildRequires:  python3-pytest-xdist
 %endif
-
-Requires:       python3-setuptools
 %if 0%{?suse_version} > 1500
-# upstream use pyfuse3 >= 3.1.1
-# suse has 3.2.0 but ">= 3.1.1" does not work in suse. Why?
-Recommends:     python3-pyfuse3
+# upstream recommends a "Requires" if pyfuse3 is available
+Requires:       python3-pyfuse3 >= 3.1.1
 %else
 Recommends:     python3-llfuse
 %endif
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 BorgBackup is a deduplicating backup program which stores deltas. It
@@ -135,7 +129,7 @@
 Group:          Productivity/Archiving/Backup
 Requires:       %{name} = %{version}
 Requires:       bash-completion
-Supplements:    packageand(borgbackup:bash)
+Supplements:    (borgbackup and bash)
 BuildArch:      noarch
 
 %description bash-completion
@@ -151,7 +145,7 @@
 Group:          Productivity/Archiving/Backup
 Requires:       %{name} = %{version}
 Requires:       zsh
-Supplements:    packageand(borgbackup:zsh)
+Supplements:    (borgbackup and zsh)
 BuildArch:      noarch
 
 %description zsh-completion
@@ -167,7 +161,7 @@
 Group:          Productivity/Archiving/Backup
 Requires:       %{name} = %{version}
 Requires:       fish
-Supplements:    packageand(borgbackup:fish)
+Supplements:    (borgbackup and fish)
 BuildArch:      noarch
 
 %description fish-completion
@@ -183,9 +177,6 @@
 %if ! %{with borg_guzzle}
 %patch0 -p1
 %endif
-%if %{with borg_old_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
@@ -194,18 +185,16 @@
 %endif
 # remove precompiled Cython code
 find src/ -name '*.pyx' | sed -e 's/.pyx/.c/g' | xargs rm -f
-# bundled msgpack is C++ based
-find src/ -name '*.pyx' | sed -e 's/.pyx/.cpp/g' | xargs rm -f
 # better name for msgpack license
-cp -a docs/3rd_party/msgpack/COPYING LICENSE.msgpack
+cp -a %{_datadir}/licenses/python38-msgpack/COPYING LICENSE.msgpack
 
 %build
-CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" python3 setup.py build
+%{borg_openssl_prefix} %{borg_libzstd_prefix} %{borg_liblz4_prefix} 
CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" python3 setup.py build
 export PYTHONPATH=$(pwd)/build/lib.linux-$(uname -m)-%{py3_ver}
-make -C docs html man && rm docs/_build/html/.buildinfo
+%make_build -C docs html man && rm docs/_build/html/.buildinfo
 
 %install
-python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%{borg_openssl_prefix} %{borg_liblz4_prefix} %{borg_libzstd_prefix} python3 
setup.py install --prefix=%{_prefix} --root=%{buildroot}
 # install all man pages
 mkdir -p %{buildroot}%{_mandir}/man1
 install -m 0644 docs/man/borg*.1 %{buildroot}%{_mandir}/man1
@@ -231,29 +220,24 @@
 %endif
 
 %files
-%defattr(-,root,root,-)
 %doc CHANGES.rst README.rst
 %license LICENSE LICENSE.msgpack
 %{python3_sitearch}/borg/
 %{python3_sitearch}/borgbackup-%{version}-py%{py3_ver}.egg-info
 %{_bindir}/borg
 %{_bindir}/borgfs
-%{_mandir}/man1/borg*.1%{ext_man}
+%{_mandir}/man1/borg*.1%{?ext_man}
 
 %files doc
-%defattr(-,root,root,-)
 %doc docs/_build/html
 
 %files bash-completion
-%defattr(-,root,root,-)
 %{_datadir}/bash-completion/completions/borg
 
 %files zsh-completion
-%defattr(-,root,root,-)
 %{_datadir}/zsh/site-functions/_borg
 
 %files fish-completion
-%defattr(-,root,root,-)
 %{_datadir}/fish/vendor_completions.d/borg.fish
 
 %changelog

++++++ borgbackup-1.1.17.tar.gz -> borgbackup-1.2.0.tar.gz ++++++
++++ 171304 lines of diff (skipped)

Reply via email to