本rpm的定制基于官方spec修改,系统环境为centos6.3X64,官方的spec在centos下面有问题
- %define mysql_old_vendor MySQL AB
- %define mysql_vendor_2 Sun Microsystems, Inc.
- %define mysql_vendor Oracle and/or its affiliates
- %define percona_server_vendor Percona, Inc
- %define mysql_version 5.5.28
- %define redhatversion %(lsb_release -rs | awk -F. '{ print $1}')
- %define majorversion 29
- %define minorversion 2
- %define distribution rhel%{redhatversion}
- %define percona_server_version rel%{majorversion}.%{minorversion}
- %define mysqld_user mysql
- %define mysqld_group mysql
- %define mysqldatadir /var/lib/mysql
- %define release rel%{majorversion}.%{minorversion}.%{distribution}
本文转自it你好 51CTO博客,原文链接:http://blog.51cto.com/itnihao/1127925,如需转载请自行联系原作者