add more BuildRequires and proper parameters for make command
This commit is contained in:
parent
993f3375fa
commit
422d6faa9d
@ -14,7 +14,7 @@ Source: %{name}-%{version}-%{release}.tar.gz
|
||||
Prefix: /
|
||||
Group: Development/Tools
|
||||
#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
|
||||
MaxScale
|
||||
@ -25,9 +25,9 @@ MaxScale
|
||||
|
||||
%build
|
||||
ln -s /lib64/libaio.so.1 /lib64/libaio.so
|
||||
make ROOT_PATH=`pwd` depend
|
||||
make ROOT_PATH=`pwd`
|
||||
make DEST=`pwd`/binaries ROOT_PATH=`pwd` MARIADB_SRC_PATH=$MARIADB_SRC_PATH install
|
||||
make ROOT_PATH=`pwd` HOME="" depend
|
||||
make ROOT_PATH=`pwd` HOME=""
|
||||
make DEST=`pwd`/binaries ROOT_PATH=`pwd` HOME="" ERRMSG="/usr/share/mysql/english" install
|
||||
|
||||
%post
|
||||
ln -s /lib64/libaio.so.1 /lib64/libaio.so
|
||||
|
Loading…
x
Reference in New Issue
Block a user