Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package apcupsd for openSUSE:Factory checked in at 2022-03-16 20:21:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/apcupsd (Old) and /work/SRC/openSUSE:Factory/.apcupsd.new.25692 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apcupsd" Wed Mar 16 20:21:38 2022 rev:71 rq:962206 version:3.14.14 Changes: -------- --- /work/SRC/openSUSE:Factory/apcupsd/apcupsd.changes 2021-01-01 21:13:51.543396318 +0100 +++ /work/SRC/openSUSE:Factory/.apcupsd.new.25692/apcupsd.changes 2022-03-16 20:21:55.725033371 +0100 @@ -1,0 +2,10 @@ +Tue Feb 22 11:09:55 UTC 2022 - Franck Bui <f...@suse.com> + +- Drop build requirements on systemd packages + + This was done for figuring out the path of shutdown(8) (which is provided now + by systemd itself on Factory but still by systemd-sysvinit on SLE) but OTOH + shutdown(8) is not used at all when apcupsd is running on Linux systems. Hence + let's hard code the path and drop the build requirements. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ apcupsd.spec ++++++ --- /var/tmp/diff_new_pack.hcCiDS/_old 2022-03-16 20:21:56.413033866 +0100 +++ /var/tmp/diff_new_pack.hcCiDS/_new 2022-03-16 20:21:56.417033869 +0100 @@ -1,7 +1,7 @@ # # spec file for package apcupsd # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -53,7 +53,6 @@ BuildRequires: ncurses-devel BuildRequires: pkgconfig BuildRequires: systemd-rpm-macros -BuildRequires: systemd-sysvinit BuildRequires: tcpd-devel BuildRequires: update-desktop-files BuildRequires: pkgconfig(gconf-2.0) @@ -61,7 +60,6 @@ BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gtk+-2.0) -BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(x11) Requires: mailx Requires(post): %fillup_prereq @@ -114,6 +112,7 @@ --sysconfdir=%{_sysconfdir}/%{name} \ --with-libwrap \ --with-lock-dir=%{_localstatedir}/lock \ + SHUTDOWN=/usr/sbin/shutdown \ --enable-gapcmon \ --enable-cgi \ --enable-usb \ @@ -200,8 +199,8 @@ %{_sbindir}/smtp %{_sbindir}/rc%{name} %{_unitdir}/%{name}.service -%{_prefix}/lib/systemd/system-shutdown/%{name}_shutdown -%{_prefix}/lib/systemd/system-sleep/%{name}.sh +%{_systemd_util_dir}/system-shutdown/ +%{_systemd_util_dir}/system-sleep/ %dir %{_sysconfdir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}/changeme %config(noreplace) %{_sysconfdir}/%{name}/commfailure