From e85854414a9a7d5a398fda63cc5932f3e374a3f3 Mon Sep 17 00:00:00 2001 From: xiaoweiwei Date: Tue, 21 Jan 2020 11:24:54 +0800 Subject: [PATCH] modify print err when install --- cups-filters.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/cups-filters.spec b/cups-filters.spec index ea8b032..4987137 100644 --- a/cups-filters.spec +++ b/cups-filters.spec @@ -2,7 +2,7 @@ Summary: OpenPrinting CUPS filters, backends, and cups-browsed Name: cups-filters Version: 1.26.1 -Release: 1 +Release: 2 License: GPLv2 and GPLv2+ and GPLv3 and GPLv3+ and LGPLv2+ and MIT and BSD with advertising Url: http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters Source0: http://www.openprinting.org/download/cups-filters/cups-filters-%{version}.tar.xz @@ -83,7 +83,7 @@ if [ $1 -eq 1 ] ; then OUT=%{_sysconfdir}/cups/cups-browsed.conf keyword=BrowsePoll if [ -f "$OUT" ]; then - echo -e "\n + echo -e "\n# NOTE: This file is not part of CUPS.\n# You need to enable cups-browsed service\n# and allow ipp-client service in firewall." >> "$OUT" fi if [ -f "$IN" ] && grep -iq ^$keyword "$IN"; then @@ -93,7 +93,7 @@ EOF ) || : (grep -i ^$keyword "$IN" >> "$OUT") || : fi - sed -i -e "s,^$keyword, + sed -i -e "s,^$keyword,#$keyword directive moved to cups-browsed.conf\n#$keyword,i" "$IN" || : fi fi @@ -158,6 +158,12 @@ fi %{_mandir}/man8/cups-browsed.8.gz %changelog +* Tue Jan 21 2020 openEuler Buildteam - 1.26.1-2 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC: modify print err info when install + * Tue Nov 12 2019 caomeng - 1.26.1-1 - Update version to 1.26.1