Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mdadm for openSUSE:Factory checked in at 2025-08-16 20:36:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mdadm (Old) and /work/SRC/openSUSE:Factory/.mdadm.new.1085 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mdadm" Sat Aug 16 20:36:55 2025 rev:158 rq:1299453 version:4.4 Changes: -------- --- /work/SRC/openSUSE:Factory/mdadm/mdadm.changes 2025-08-14 11:36:21.412166157 +0200 +++ /work/SRC/openSUSE:Factory/.mdadm.new.1085/mdadm.changes 2025-08-16 20:38:26.641904658 +0200 @@ -1,0 +2,7 @@ +Thu Aug 14 09:08:19 UTC 2025 - Martin Wilck <mwi...@suse.com> + +- Fix systemd unit file handling in spec file (boo#1207266) + * make all units known to systemd + * restart only timers and mdmonitor.service + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mdadm.spec ++++++ --- /var/tmp/diff_new_pack.ajZN3J/_old 2025-08-16 20:38:27.333933314 +0200 +++ /var/tmp/diff_new_pack.ajZN3J/_new 2025-08-16 20:38:27.333933314 +0200 @@ -1,7 +1,7 @@ # # spec file for package mdadm # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -88,21 +88,29 @@ ln -s %{_sbindir}/mdmon %{buildroot}/sbin/mdmon %endif -%define services mdmonitor.service mdcheck_start.service mdcheck_continue.service mdmonitor-oneshot.service +# We need to register all (non-instiatated) systemd units with systemd. +# The services (except mdmonitor) just wait for the kernel-side check to +# finish and need not be restarted. +# Restarting the timers isn't problematic because they all use OnCalendar. +%define timers mdcheck_start.timer mdcheck_continue.timer mdmonitor-oneshot.timer +%define norestart_services mdcheck_start.service mdcheck_continue.service mdmonitor-oneshot.service +%define restart_services mdmonitor.service %pre -%service_add_pre %services +%service_add_pre %restart_services %norestart_services %timers %post -%service_add_post %services +%service_add_post %restart_services %norestart_services %timers %{?regenerate_initrd_post} %fillup_only %preun -%service_del_preun %services +%service_del_preun %restart_services %norestart_services %timers %postun -%service_del_postun %services +%service_del_postun_without_restart %norestart_services +%service_del_postun %timers %restart_services + %{?regenerate_initrd_post} %posttrans