Hello community, here is the log from the commit of package borgmatic for openSUSE:Factory checked in at 2020-05-26 17:50:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/borgmatic (Old) and /work/SRC/openSUSE:Factory/.borgmatic.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "borgmatic" Tue May 26 17:50:00 2020 rev:19 rq:808835 version:1.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/borgmatic/borgmatic.changes 2020-05-04 18:44:27.393538445 +0200 +++ /work/SRC/openSUSE:Factory/.borgmatic.new.2738/borgmatic.changes 2020-05-26 17:50:02.167974675 +0200 @@ -1,0 +2,13 @@ +Mon May 25 17:13:21 UTC 2020 - Antonio Larrosa <[email protected]> + +- Comment the LogRateLimitIntervalSec option in the systemd service + when building for SLE/Leap since systemd < 240 doesn't support it. + +------------------------------------------------------------------- +Mon May 25 16:58:20 UTC 2020 - Antonio Larrosa <[email protected]> + +- Remove unneeded build dependency python-black and python-devel +- Reduce the required python-colorama version since a newer + version is not really needed. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ borgmatic.spec ++++++ --- /var/tmp/diff_new_pack.YggrQL/_old 2020-05-26 17:50:02.983976464 +0200 +++ /var/tmp/diff_new_pack.YggrQL/_new 2020-05-26 17:50:02.987976472 +0200 @@ -34,11 +34,9 @@ BuildRequires: python3-appdirs BuildRequires: python3-atomicwrites BuildRequires: python3-attrs -BuildRequires: python3-black BuildRequires: python3-click BuildRequires: python3-colorama BuildRequires: python3-coverage -BuildRequires: python3-devel BuildRequires: python3-docopt BuildRequires: python3-flake8 BuildRequires: python3-flexmock @@ -78,6 +76,11 @@ %setup -q %patch0 -p1 +sed -i -e "s/colorama>=0.4.1,<0.5/colorama>=0.3.9/" setup.py +%if 0%{?suse_version} <= 1500 +sed -i -e "s/^LogRateLimitIntervalSec=/#LogRateLimitIntervalSec=/" sample/systemd/borgmatic.service +%endif + # Make sample files use the borgmatic command on /usr/bin, not /usr/local/bin perl -pi -e "s,PATH=\\$PATH:/usr/local/bin /root/.local/bin/borgmatic,/usr/bin/borgmatic," sample/cron/borgmatic perl -pi -e "s,/root/.local/bin/borgmatic,/usr/bin/borgmatic," sample/systemd/borgmatic.service
