rpms/cups/F-9 cups.spec,1.442,1.443
Tim Waugh
twaugh at fedoraproject.org
Mon Apr 27 15:57:44 UTC 2009
Author: twaugh
Update of /cvs/pkgs/rpms/cups/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5238
Modified Files:
cups.spec
Log Message:
Better grep pattern for ServerAlias.
Index: cups.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cups/F-9/cups.spec,v
retrieving revision 1.442
retrieving revision 1.443
diff -u -r1.442 -r1.443
--- cups.spec 27 Apr 2009 15:47:13 -0000 1.442
+++ cups.spec 27 Apr 2009 15:57:14 -0000 1.443
@@ -7,7 +7,7 @@
Summary: Common Unix Printing System
Name: cups
Version: 1.3.10
-Release: 3%{?svn:.svn%{svn}}%{?dist}
+Release: 4%{?svn:.svn%{svn}}%{?dist}
License: GPLv2
Group: System Environment/Daemons
Source: ftp://ftp.easysw.com/pub/cups/test//cups-%{version}%{?svn:svn-r%{svn}}-source.tar.bz2
@@ -341,7 +341,7 @@
%triggerpostun -- %{name} < 1:1.3.10-3
if [ "$1" -gt 0 ]; then
CONF=%{_sysconfdir}/cups/cupsd.conf
- if ! grep -q ServerAlias "$CONF"; then
+ if ! grep -qiw ServerAlias "$CONF"; then
cp -a "$CONF" "$CONF".rpmorig
cat <<"EOF" >> "$CONF"
@@ -476,7 +476,7 @@
%{cups_serverbin}/daemon/cups-lpd
%changelog
-* Mon Apr 27 2009 Tim Waugh <twaugh at redhat.com> 1:1.3.10-3
+* Mon Apr 27 2009 Tim Waugh <twaugh at redhat.com> 1:1.3.10-4
- Adjust cupsd.conf by adding "ServerAlias *" automatically on upgrade
(part of bug #497301). The default cupsd.conf now includes this
line as well.
More information about the fedora-extras-commits
mailing list