add more BuildRequires and proper parameters for make command
This commit is contained in:
@ -14,7 +14,7 @@ Source: %{name}-%{version}-%{release}.tar.gz
|
|||||||
Prefix: /
|
Prefix: /
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
#Requires:
|
#Requires:
|
||||||
BuildRequires: gcc gcc-c++ ncurses-devel bison glibc-devel cmake libgcc perl make libtool openssl-devel libaio
|
BuildRequires: gcc gcc-c++ ncurses-devel bison glibc-devel cmake libgcc perl make libtool openssl-devel libaio MariaDB-devel MariaDB-server
|
||||||
|
|
||||||
%description
|
%description
|
||||||
MaxScale
|
MaxScale
|
||||||
@ -25,9 +25,9 @@ MaxScale
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
ln -s /lib64/libaio.so.1 /lib64/libaio.so
|
ln -s /lib64/libaio.so.1 /lib64/libaio.so
|
||||||
make ROOT_PATH=`pwd` depend
|
make ROOT_PATH=`pwd` HOME="" depend
|
||||||
make ROOT_PATH=`pwd`
|
make ROOT_PATH=`pwd` HOME=""
|
||||||
make DEST=`pwd`/binaries ROOT_PATH=`pwd` MARIADB_SRC_PATH=$MARIADB_SRC_PATH install
|
make DEST=`pwd`/binaries ROOT_PATH=`pwd` HOME="" ERRMSG="/usr/share/mysql/english" install
|
||||||
|
|
||||||
%post
|
%post
|
||||||
ln -s /lib64/libaio.so.1 /lib64/libaio.so
|
ln -s /lib64/libaio.so.1 /lib64/libaio.so
|
||||||
|
|||||||
Reference in New Issue
Block a user