From 5c009e81661eac81a47c1e9c6eb8c0253772d35e Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Mar 24 2017 19:18:58 +0000 Subject: Depend on /usr/bin/wall directly. --- diff --git a/apcupsd.spec b/apcupsd.spec index 0c5b6ef..922b16c 100644 --- a/apcupsd.spec +++ b/apcupsd.spec @@ -1,6 +1,6 @@ Name: apcupsd Version: 3.14.14 -Release: 3%{?dist} +Release: 4%{?dist} Summary: APC UPS Power Control Daemon License: GPLv2 @@ -18,7 +18,9 @@ Patch0: apcupsd-3.14.9-fixgui.patch BuildRequires: glibc-devel, gd-devel BuildRequires: net-snmp-devel, tcp_wrappers-devel, libusb-devel BuildRequires: gtk2-devel, gnome-vfs2-devel, desktop-file-utils -Requires: /bin/mail +# This is part of util-linux in Fedora, but on EL7 it's in sysvinit-tools. +BuildRequires: /usr/bin/wall +Requires: /bin/mail /usr/bin/wall Requires(post): systemd-units Requires(preun): systemd-units Requires(postun): systemd-units @@ -160,6 +162,9 @@ rm examples/*.in %changelog +* Fri Mar 24 2017 Jason L Tibbitts III - 3.14.14-4 +- Depend on /usr/bin/wall to accommodate EL7. + * Fri Feb 10 2017 Fedora Release Engineering - 3.14.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild