--- rpms/e-smith-mysql/sme7/e-smith-mysql.spec 2008/12/02 15:20:11 1.4 +++ rpms/e-smith-mysql/sme7/e-smith-mysql.spec 2010/06/09 23:05:16 1.7 @@ -1,16 +1,16 @@ -# $Id: e-smith-mysql.spec,v 1.3 2008/10/07 18:44:56 slords Exp $ +# $Id: e-smith-mysql.spec,v 1.6 2010/06/07 14:38:16 filippocarletti Exp $ Summary: e-smith specific mysql configuration and templates. %define name e-smith-mysql Name: %{name} %define version 2.0.0 -%define release 2 +%define release 4 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.gz -Patch0: e-smith-mysql-2.0.0-FixErrorLogDetectionAlgorithm.patch +Patch0: e-smith-mysql-2.0.0-fixLogging.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: mysql-server @@ -21,6 +21,12 @@ BuildRequires: e-smith-devtools >= 1.13. AutoReqProv: no %changelog +* Mon Jun 7 2010 Filippo Carletti 2.0.0-4.sme +- Fix %postun typo [SME: 6043] + +* Mon Feb 23 2009 Jonathan Martens 2.0.0-3.sme +- Rework log-error logic [SME: 4807] + * Tue Dec 2 2008 Jonathan Martens 2.0.0-2.sme - Fix log-error detection algorithm [SME: 4807] @@ -715,7 +721,7 @@ rm -rf $RPM_BUILD_ROOT %postun if [ "$1" == 0 ]; then - [ -l /etc/rc.d/init.d/mysqld ] && rm /etc/rc.d/init.d/mysqld + [ -L /etc/rc.d/init.d/mysqld ] && rm /etc/rc.d/init.d/mysqld || : fi %files -f %{name}-%{version}-filelist