Hello community, here is the log from the commit of package borgbackup for openSUSE:Factory checked in at 2020-03-11 22:03:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/borgbackup (Old) and /work/SRC/openSUSE:Factory/.borgbackup.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "borgbackup" Wed Mar 11 22:03:35 2020 rev:24 rq:784047 version:1.1.10 Changes: -------- --- /work/SRC/openSUSE:Factory/borgbackup/borgbackup.changes 2019-10-31 22:43:59.573750363 +0100 +++ /work/SRC/openSUSE:Factory/.borgbackup.new.3160/borgbackup.changes 2020-03-11 22:04:49.261992426 +0100 @@ -1,0 +2,5 @@ +Wed Mar 11 17:52:25 UTC 2020 - Paolo Stivanin <[email protected]> + +- fix building with python3 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ borgbackup.spec ++++++ --- /var/tmp/diff_new_pack.9232mi/_old 2020-03-11 22:04:50.957993375 +0100 +++ /var/tmp/diff_new_pack.9232mi/_new 2020-03-11 22:04:50.961993378 +0100 @@ -1,7 +1,7 @@ # # spec file for package borgbackup # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2016-2019 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -36,7 +36,7 @@ Summary: Deduplicating backup program with compression and authenticated encryption License: BSD-3-Clause Group: Productivity/Archiving/Backup -Url: https://github.com/borgbackup/borg +URL: https://github.com/borgbackup/borg Source0: https://github.com/borgbackup/borg/releases/download/%{version}/borgbackup-%{version}.tar.gz Source1: https://github.com/borgbackup/borg/releases/download/%{version}/borgbackup-%{version}.tar.gz.asc Source2: %{name}.keyring @@ -164,7 +164,7 @@ %build CFLAGS="%{optflags}" python3 setup.py build -pyvenv --system-site-packages --without-pip borg-env +python3 -m venv --system-site-packages --without-pip borg-env source borg-env/bin/activate python3 setup.py install PYTHONPATH=$(pwd)/build/lib.linux-$(uname -m)-%{py3_ver} @@ -186,7 +186,7 @@ # it to behave in our build system (offline mode, use site packages). OTOH, without the # venv, we face problems with setuptools (borg uses pkg_resources to locate the installed # package), while py.test relies on the usual module handling. <[email protected]> -pyvenv --system-site-packages --without-pip borg-env +python3 -m venv --system-site-packages --without-pip borg-env source borg-env/bin/activate python3 setup.py install cd build/lib.linux-$(uname -m)-%{py3_ver}
