forked from pool/mariadb
fix
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=170
This commit is contained in:
parent
a321e573df
commit
476e720435
@ -21,10 +21,10 @@ export CXXFLAGS="$CFLAGS -felide-constructors"
|
|||||||
-DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci \
|
-DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci \
|
||||||
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
|
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
|
||||||
-DWITH_PERFSCHEMA_STORAGE_ENGINE=1 \
|
-DWITH_PERFSCHEMA_STORAGE_ENGINE=1 \
|
||||||
%if %{with oqgraph}
|
%if 0%{with_oqgraph} > 0
|
||||||
-DWITH_OQGRAPH_STORAGE_ENGINE=1 \
|
-DWITH_OQGRAPH_STORAGE_ENGINE=1 \
|
||||||
%endif
|
%endif
|
||||||
%if %{with cassandra}
|
%if 0%{with_cassandra} > 0
|
||||||
-DWITH_CASSANDRA_STORAGE_ENGINE=1 \
|
-DWITH_CASSANDRA_STORAGE_ENGINE=1 \
|
||||||
%endif
|
%endif
|
||||||
-DWITH_XTRADB_STORAGE_ENGINE=1 \
|
-DWITH_XTRADB_STORAGE_ENGINE=1 \
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:aaffd991c9c98217463e452d3cb2eba69dd40465831119c57c892f4ec08e0d8b
|
oid sha256:4aa62499d5bcff38f7c077245fc896160539eef671aa1588bd7d65defd6bbe78
|
||||||
size 222
|
size 219
|
||||||
|
20
mariadb.spec
20
mariadb.spec
@ -26,10 +26,14 @@
|
|||||||
%define _rundir %{_localstatedir}/run
|
%define _rundir %{_localstatedir}/run
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{use_extra_provides} > 0
|
%if 0 > 0
|
||||||
%bcond_with jemalloc
|
%define_with_jemalloc 1
|
||||||
%bcond_with oqgraph
|
%define_with_oqgraph 1
|
||||||
%bcond_with cassandra
|
%define_with_cassandra 1
|
||||||
|
%else
|
||||||
|
%define_with_jemalloc 0
|
||||||
|
%define_with_oqgraph 0
|
||||||
|
%define_with_cassandra 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: mariadb
|
Name: mariadb
|
||||||
@ -56,23 +60,23 @@ Source15: rc.mysql.sysvinit
|
|||||||
Source16: rc.mysql.systemd
|
Source16: rc.mysql.systemd
|
||||||
Source17: mysql.service
|
Source17: mysql.service
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
%if %{with oqgraph} || %{with cassandra}
|
%if 0%{with_oqgraph} > 0 || 0%{with_cassandra} > 0
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
%if %{with jemalloc}
|
%if 0%{with_jemalloc} > 0
|
||||||
BuildRequires: jemalloc-devel
|
BuildRequires: jemalloc-devel
|
||||||
%endif
|
%endif
|
||||||
%if %{with oqgraph}
|
%if 0%{with_oqgraph} > 0
|
||||||
BuildRequires: judy-devel
|
BuildRequires: judy-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: libaio-devel
|
BuildRequires: libaio-devel
|
||||||
BuildRequires: libbz2-devel
|
BuildRequires: libbz2-devel
|
||||||
BuildRequires: libedit-devel
|
BuildRequires: libedit-devel
|
||||||
BuildRequires: libevent-devel
|
BuildRequires: libevent-devel
|
||||||
%if %{with cassandra}
|
%if 0%{with_cassandra} > 0
|
||||||
BuildRequires: libthrift-devel
|
BuildRequires: libthrift-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
Loading…
Reference in New Issue
Block a user