From e4cb880aa321321c3d71edeb9750da57493bdee4 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Tue, 26 Aug 2014 09:59:32 -0600 Subject: [PATCH 1/2] Quiet systemctl if cups-browsed.service is not installed --- firewalld.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firewalld.spec b/firewalld.spec index dc8705b..fc8898a 100644 --- a/firewalld.spec +++ b/firewalld.spec @@ -81,7 +81,7 @@ desktop-file-install --delete-original \ # on upgrade allow ipp-client service in active home/internal/work # if cups-browsed service is enabled to not break someones printing (RHBZ#1105639) -systemctl -q is-enabled cups-browsed +systemctl -q is-enabled cups-browsed &>/dev/null if [[ "$?" -eq 0 && "$1" -eq 2 ]]; then ZONES=( 'home' 'internal' 'work' ) N_ZONES=${#ZONES[@]} From 1c3b179dfb49eadee0cef7f5009d1f24761781d6 Mon Sep 17 00:00:00 2001 From: Jiri Popelka Date: Wed, 27 Aug 2014 10:40:20 +0200 Subject: [PATCH 2/2] Quiet systemctl if cups-browsed.service is not installed --- firewalld.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/firewalld.spec b/firewalld.spec index fc8898a..1dd3ba3 100644 --- a/firewalld.spec +++ b/firewalld.spec @@ -1,7 +1,7 @@ Summary: A firewall daemon with D-Bus interface providing a dynamic firewall Name: firewalld Version: 0.3.11 -Release: 2%{?dist} +Release: 3%{?dist} URL: http://fedorahosted.org/firewalld License: GPLv2+ Source0: https://fedorahosted.org/released/firewalld/%{name}-%{version}.tar.bz2 @@ -192,6 +192,9 @@ fi %{_mandir}/man1/firewall-config*.1* %changelog +* Wed Aug 27 2014 Jiri Popelka - 0.3.11-3 +- Quiet systemctl if cups-browsed.service is not installed + * Mon Aug 25 2014 Jiri Popelka - 0.3.11-2 - add few Requires to spec (RHBZ#1133167)