Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package watchman for openSUSE:Factory 
checked in at 2022-01-17 22:34:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/watchman (Old)
 and      /work/SRC/openSUSE:Factory/.watchman.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "watchman"

Mon Jan 17 22:34:25 2022 rev:8 rq:947014 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/watchman/watchman.changes        2022-01-14 
23:14:50.874693959 +0100
+++ /work/SRC/openSUSE:Factory/.watchman.new.1892/watchman.changes      
2022-01-17 22:35:19.726294703 +0100
@@ -2,5 +1,0 @@
-Mon Jan 10 16:16:16 UTC 2022 - o...@aepfle.de
-
-- remove instance units from post scripts, they can not be reloaded
-
--------------------------------------------------------------------

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

Other differences:
------------------
++++++ watchman.spec ++++++
--- /var/tmp/diff_new_pack.3y7ldQ/_old  2022-01-17 22:35:20.182295005 +0100
+++ /var/tmp/diff_new_pack.3y7ldQ/_new  2022-01-17 22:35:20.186295008 +0100
@@ -220,13 +220,27 @@
 # python bindings, actually
 %{_bindir}/watchman-*
 
+%pre
+%service_add_pre %{name}@.socket %{name}@.service
+
 %post
-%service_add_post
+# NOTE: when updating a warning is printed:
+#
+# Failed to try-restart watchman@s*: Unit name watchman@s* is not valid
+#
+# A similar warning is emitted during uninstall
+#
+# This seems to be an error in the generic systemd macros, they're not dealing
+# correctly with template unit files.
+%service_add_post %{name}@.socket %{name}@.service
 # to initially create the statedir without reboot
 # NOTE: This macro is not available in older versions of systemd-rpm-macros,
 %tmpfiles_create %{tmpfile_conf}
 
+%preun
+%service_del_preun %{name}@.socket %{name}@.service
+
 %postun
-%service_del_postun
+%service_del_postun %{name}@.socket %{name}@.service
 
 %changelog

Reply via email to