diff --git a/cups.spec b/cups.spec index 4fe104a..edfd526 100644 --- a/cups.spec +++ b/cups.spec @@ -5,7 +5,7 @@ Summary: Common Unix Printing System Name: cups Version: 1.2.1 -Release: 9 +Release: 10 License: GPL Group: System Environment/Daemons Source: ftp://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2 @@ -285,6 +285,9 @@ exit 0 %postun if [ "$1" -ge "1" ]; then /sbin/service cups condrestart > /dev/null 2>&1 + # Remove old-style certs directory; new-style is /var/run + # (see bug #194581 for why this is necessary). + rm -rf /etc/cups/certs fi exit 0 @@ -389,6 +392,9 @@ rm -rf $RPM_BUILD_ROOT %{cups_serverbin}/daemon/cups-lpd %changelog +* Tue Jun 13 2006 Tim Waugh 1:1.2.1-10 +- Remove old-style certs directory after upgrade (bug #194581). + * Wed Jun 7 2006 Tim Waugh 1:1.2.1-9 - Prevent 'too many open files' error (STR #1736, bug #194368).