From a5354785ab9b6eeac426ff409e12b4bd24907fc0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 25 Jun 2010 18:57:37 +0200 Subject: MySQL 5.1.48-1.1 (fix useradd issue on old fedora version and EL) --- mysql.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mysql.spec b/mysql.spec index 06b8729..9f648d6 100644 --- a/mysql.spec +++ b/mysql.spec @@ -1,6 +1,6 @@ Name: mysql Version: 5.1.48 -Release: 1%{?dist} +Release: 1%{?dist}.1 Summary: MySQL client programs and shared libraries Group: Applications/Databases URL: http://www.mysql.com @@ -393,7 +393,8 @@ echo -e "You should consider upgrading to a supported release.\n" %pre server /usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || : -/usr/sbin/useradd -M -N -g mysql -o -r -d /var/lib/mysql -s /bin/bash \ +# -N options used on Fedora not available on EL and fedora <= 8 and EL <= 5 +/usr/sbin/useradd -M -g mysql -o -r -d /var/lib/mysql -s /bin/bash \ -c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || : %post libs @@ -606,6 +607,9 @@ fi %changelog +* Fri Jun 25 2010 Remi Collet - 5.1.48-1.1 +- fix useradd command (-N not supported everywhere) + * Thu Jun 17 2010 Remi Collet - 5.1.48-1 - sync with rawhide - Update to MySQL 5.1.48 Community Server GA -- cgit