fix build-depends in .spec
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
%define _topdir %(echo $PWD)/
|
%define _topdir %(echo $PWD)/
|
||||||
%define name maxscale
|
%define name maxscale
|
||||||
%define release ##RELEASE_TAG##
|
%define release 1
|
||||||
%define version ##VERSION_TAG##
|
%define version 0.7
|
||||||
%define install_path /usr/local/sbin/
|
%define install_path /usr/local/sbin/
|
||||||
|
|
||||||
BuildRoot: %{buildroot}
|
BuildRoot: %{buildroot}
|
||||||
@ -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 MariaDB-devel MariaDB-server
|
BuildRequires: gcc gcc-c++ ncurses-devel bison glibc-devel cmake libgcc perl make libtool openssl-devel libaio libaoi-devel MariaDB-devel MariaDB-server
|
||||||
|
|
||||||
%description
|
%description
|
||||||
MaxScale
|
MaxScale
|
||||||
@ -24,7 +24,7 @@ MaxScale
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
ln -s /lib64/libaio.so.1 /lib64/libaio.so
|
#ln -s /lib64/libaio.so.1 /lib64/libaio.so
|
||||||
make ROOT_PATH=`pwd` HOME="" $DEBUG_FLAG1 $DEBUG_FLAG2 clean
|
make ROOT_PATH=`pwd` HOME="" $DEBUG_FLAG1 $DEBUG_FLAG2 clean
|
||||||
make ROOT_PATH=`pwd` HOME="" $DEBUG_FLAG1 $DEBUG_FLAG2 depend
|
make ROOT_PATH=`pwd` HOME="" $DEBUG_FLAG1 $DEBUG_FLAG2 depend
|
||||||
make ROOT_PATH=`pwd` HOME="" $DEBUG_FLAG1 $DEBUG_FLAG2
|
make ROOT_PATH=`pwd` HOME="" $DEBUG_FLAG1 $DEBUG_FLAG2
|
||||||
|
Reference in New Issue
Block a user