Hello community,

here is the log from the commit of package dehydrated for openSUSE:Factory 
checked in at 2019-01-24 14:13:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dehydrated (Old)
 and      /work/SRC/openSUSE:Factory/.dehydrated.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dehydrated"

Thu Jan 24 14:13:30 2019 rev:10 rq:667788 version:0.6.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/dehydrated/dehydrated.changes    2018-04-27 
16:09:59.156830465 +0200
+++ /work/SRC/openSUSE:Factory/.dehydrated.new.28833/dehydrated.changes 
2019-01-24 14:13:30.751355717 +0100
@@ -1,0 +2,6 @@
+Tue Jan 22 11:52:00 UTC 2019 - Daniel Molkentin <[email protected]>
+
+- Remove RandomizedDelaySec attribute for distros with older systemd
+  (boo#1110697)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ dehydrated.spec ++++++
--- /var/tmp/diff_new_pack.0bpiVe/_old  2019-01-24 14:13:31.395354973 +0100
+++ /var/tmp/diff_new_pack.0bpiVe/_new  2019-01-24 14:13:31.399354969 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package dehydrated
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -90,6 +90,7 @@
 BuildRequires:  shadow
 %endif
 %if %{with systemd}
+BuildRequires:  systemd
 BuildRequires:  pkgconfig(systemd)
 %{?systemd_requires}
 %else #with_systemd
@@ -229,6 +230,10 @@
 sed "s,@POSTRUNHOOKS_DIR@,%{_postrunhooks},g" %{SOURCE6} > dehydrated.service
 install -D -m 644 dehydrated.service  
%{buildroot}%{_unitdir}/dehydrated.service
 install -D -m 644 %{SOURCE7}          %{buildroot}%{_unitdir}/dehydrated.timer
+if [ $(rpm -q --queryformat='%{VERSION}' systemd) -lt 229 ]; then
+# No support for this attribute in systemd < v229
+sed -i 's/^RandomizedDelaySec/#&/' %{buildroot}%{_unitdir}/dehydrated.timer 
+fi
 %if 0%{?suse_version}
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcdehydrated
 %endif



Reply via email to