Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package borgmatic for openSUSE:Factory checked in at 2022-08-23 14:29:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/borgmatic (Old) and /work/SRC/openSUSE:Factory/.borgmatic.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "borgmatic" Tue Aug 23 14:29:58 2022 rev:32 rq:998782 version:1.5.24 Changes: -------- --- /work/SRC/openSUSE:Factory/borgmatic/borgmatic.changes 2022-03-21 20:11:56.468435198 +0100 +++ /work/SRC/openSUSE:Factory/.borgmatic.new.2083/borgmatic.changes 2022-08-23 14:30:24.807708767 +0200 @@ -1,0 +2,31 @@ +Mon Aug 15 19:52:42 UTC 2022 - Dirk M??ller <[email protected]> + +- update to 1.5.24: + * #431: Add "working_directory" option to support source directories with relative paths. + * #444: When loading a configuration file that is unreadable due to file permissions, warn instead + of erroring. This supports running borgmatic as a non-root user with configuration in ~/.config + even if there is an unreadable global configuration file in /etc. + * #469: Add "repositories" context to "before_" and "after_" command action hooks. See the + documentation for more information: + https://torsion.org/borgmatic/docs/how-to/add-preparation-and-cleanup-steps-to-backups/ + * #486: Fix handling of "patterns_from" and "exclude_from" options to error instead of warning when + referencing unreadable files and "create" action is run. + * #507: Fix Borg usage error in the "compact" action when running "borgmatic --dry-run". Now, skip + "compact" entirely during a dry run. + * #394: Compact repository segments and free space with new "borgmatic compact" action. Borg 1.2+ + only. Also run "compact" by default when no actions are specified, as "prune" in Borg 1.2 no + longer frees up space unless "compact" is run. + * #394: When using the "atime", "bsd_flags", "numeric_owner", or "remote_rate_limit" options, + tailor the flags passed to Borg depending on the Borg version. + * #480, #482: Fix traceback when a YAML validation error occurs. + * #288: Add database dump hook for MongoDB. + * #470: Move mysqldump options to the beginning of the command due to MySQL bug 30994. + * #471: When command-line configuration override produces a parse error, error cleanly instead of + tracebacking. + * #476: Fix unicode error when restoring particular MySQL databases. + Drop support for Python 3.6, which has been end-of-lifed. + Add support for Python 3.10. +- avoid bashism in post scripts (bsc#1195391) +- light modernization of spec file + +------------------------------------------------------------------- Old: ---- borgmatic-1.5.21.tar.gz New: ---- borgmatic-1.5.24.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ borgmatic.spec ++++++ --- /var/tmp/diff_new_pack.VLue8U/_old 2022-08-23 14:30:25.423710055 +0200 +++ /var/tmp/diff_new_pack.VLue8U/_new 2022-08-23 14:30:25.431710072 +0200 @@ -17,7 +17,7 @@ Name: borgmatic -Version: 1.5.21 +Version: 1.5.24 Release: 0 Summary: Automation tool for borgbackup License: GPL-3.0-only @@ -29,6 +29,7 @@ BuildRequires: borgbackup # To create the manpage BuildRequires: pandoc +BuildRequires: pkgconfig BuildRequires: python3 >= 3.6 BuildRequires: python3-PyYAML BuildRequires: python3-appdirs @@ -106,8 +107,8 @@ install -m 0644 sample/systemd/borgmatic* %{buildroot}%{_unitdir}/ install -D -m 0644 borgmatic.1 %{buildroot}%{_mandir}/man1/borgmatic.1 -mkdir -p %{buildroot}/usr/sbin -ln -s /usr/sbin/service %{buildroot}/usr/sbin/rcborgmatic +mkdir -p %{buildroot}%{_sbindir} +ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcborgmatic %check # testing the build is a little awkward, since the original testsuite is based on tox and @@ -123,13 +124,13 @@ %post %service_add_post borgmatic.service -if [ "$1" == 1 -a ! -f "/etc/borgmatic/config.yaml" ]; then - /usr/bin/generate-borgmatic-config -elif [ "$1" == 2 ]; then - if [ -f "/etc/borgmatic/config" -a ! -f "/etc/borgmatic/config.yaml" ]; then - echo "The configuration files have changed. /usr/bin/upgrade-borgmatic-config will be run now to upgrade the configuration to the new format." +if [ "$1" = 1 -a ! -f "%{_sysconfdir}/borgmatic/config.yaml" ]; then + %{_bindir}/generate-borgmatic-config +elif [ "$1" = 2 ]; then + if [ -f "%{_sysconfdir}/borgmatic/config" -a ! -f "%{_sysconfdir}/borgmatic/config.yaml" ]; then + echo "The configuration files have changed. %{_bindir}/upgrade-borgmatic-config will be run now to upgrade the configuration to the new format." echo "" - /usr/bin/upgrade-borgmatic-config + %{_bindir}/upgrade-borgmatic-config fi fi ++++++ borgmatic-1.5.21.tar.gz -> borgmatic-1.5.24.tar.gz ++++++ ++++ 4829 lines of diff (skipped)
