Replace "BuildRequires: gcc" by "BuildRequires: gcc-c++"
This commit is contained in:
parent
3142192823
commit
13ed0b5835
@ -11,8 +11,7 @@ Patch1: kyotocabinet-1.2.76-8-byte-atomics.patch
|
|||||||
Patch2: kyotocabinet-1.2.76-tr1_hashtable.patch
|
Patch2: kyotocabinet-1.2.76-tr1_hashtable.patch
|
||||||
Patch3: kyotocabinet-1.2.76-gcc6.patch
|
Patch3: kyotocabinet-1.2.76-gcc6.patch
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc-c++, zlib-devel, lzo-devel, xz-devel
|
||||||
BuildRequires: zlib-devel, lzo-devel, xz-devel
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Kyoto Cabinet is a library of routines for managing a database. The
|
Kyoto Cabinet is a library of routines for managing a database. The
|
||||||
@ -70,7 +69,6 @@ applications that use Kyoto Cabinet.
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
|
make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
|
||||||
|
|
||||||
# Don't install any static .a file
|
# Don't install any static .a file
|
||||||
|
Loading…
Reference in New Issue
Block a user