Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package apcupsd for openSUSE:Factory checked in at 2023-03-29 23:26:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/apcupsd (Old) and /work/SRC/openSUSE:Factory/.apcupsd.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apcupsd" Wed Mar 29 23:26:59 2023 rev:73 rq:1074971 version:3.14.14 Changes: -------- --- /work/SRC/openSUSE:Factory/apcupsd/apcupsd.changes 2022-03-26 22:31:21.205977250 +0100 +++ /work/SRC/openSUSE:Factory/.apcupsd.new.31432/apcupsd.changes 2023-03-29 23:27:13.607465590 +0200 @@ -1,0 +2,6 @@ +Tue Mar 28 09:54:06 UTC 2023 - Michal Suchanek <[email protected]> + +- Require wall utility from util-linux-tty-tools - fixes build in Factory +- Use autosetup + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ apcupsd.spec ++++++ --- /var/tmp/diff_new_pack.NrXkua/_old 2023-03-29 23:27:15.387475102 +0200 +++ /var/tmp/diff_new_pack.NrXkua/_new 2023-03-29 23:27:15.395475145 +0200 @@ -1,7 +1,7 @@ # # spec file for package apcupsd # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -60,6 +60,16 @@ BuildRequires: systemd-rpm-macros BuildRequires: tcpd-devel BuildRequires: pkgconfig(gdlib) +Requires: mailx +Requires(post): %fillup_prereq +Requires(post): grep +Requires(post): sed +Recommends: logrotate +%{?systemd_requires} +%if 0%{?suse_version} > 1500 +BuildRequires: util-linux-tty-tools +Requires: util-linux-tty-tools +%endif %if %{with gapcmon} BuildRequires: update-desktop-files BuildRequires: pkgconfig(gconf-2.0) @@ -68,12 +78,6 @@ BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(x11) %endif -Requires: mailx -Requires(post): %fillup_prereq -Requires(post): grep -Requires(post): sed -Recommends: logrotate -%{?systemd_requires} %description Controls and monitors the status of an APC UPS under Linux. Allows your @@ -109,19 +113,15 @@ %endif %prep -%setup -q +%autosetup -p1 cp -a %{SOURCE2} %{SOURCE4} . -%patch0 -%patch2 -%patch11 -p1 -%patch13 -p1 %build %configure \ --sysconfdir=%{_sysconfdir}/%{name} \ --with-libwrap \ --with-lock-dir=%{_localstatedir}/lock \ - SHUTDOWN=/usr/sbin/shutdown \ + SHUTDOWN=%{_sbindir}/shutdown \ %if %{with gapcmon} --enable-gapcmon \ %else @@ -135,7 +135,7 @@ %if 0%{?suse_version} --with-distname=suse \ %endif - %nil + %{nil} make %{?_smp_mflags} %install ++++++ apcupsd-hibernate.patch ++++++ --- /var/tmp/diff_new_pack.NrXkua/_old 2023-03-29 23:27:15.439475380 +0200 +++ /var/tmp/diff_new_pack.NrXkua/_new 2023-03-29 23:27:15.443475401 +0200 @@ -1,5 +1,5 @@ ---- platforms/apccontrol.in -+++ platforms/apccontrol.in +--- a/platforms/apccontrol.in ++++ b/platforms/apccontrol.in @@ -20,6 +20,7 @@ APCPID=@PIDDIR@/apcupsd.pid ++++++ apcupsd-suse.patch ++++++ --- /var/tmp/diff_new_pack.NrXkua/_old 2023-03-29 23:27:15.467475529 +0200 +++ /var/tmp/diff_new_pack.NrXkua/_new 2023-03-29 23:27:15.471475551 +0200 @@ -1,5 +1,5 @@ ---- platforms/suse/Makefile -+++ platforms/suse/Makefile +--- a/platforms/suse/Makefile ++++ b/platforms/suse/Makefile @@ -11,14 +11,8 @@ # unlink old rc script (if not doing a DESTDIR install) $(call CHKCFG,del,/etc/rc.d/apcupsd)
