Michal Hrusecky (old before rename to _miska_) 2015-04-14 10:29:38 +00:00 committed by Git OBS Bridge
parent a321e573df
commit 476e720435
3 changed files with 16 additions and 12 deletions

View File

@ -21,10 +21,10 @@ export CXXFLAGS="$CFLAGS -felide-constructors"
-DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci \
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DWITH_PERFSCHEMA_STORAGE_ENGINE=1 \
%if %{with oqgraph}
%if 0%{with_oqgraph} > 0
-DWITH_OQGRAPH_STORAGE_ENGINE=1 \
%endif
%if %{with cassandra}
%if 0%{with_cassandra} > 0
-DWITH_CASSANDRA_STORAGE_ENGINE=1 \
%endif
-DWITH_XTRADB_STORAGE_ENGINE=1 \

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aaffd991c9c98217463e452d3cb2eba69dd40465831119c57c892f4ec08e0d8b
size 222
oid sha256:4aa62499d5bcff38f7c077245fc896160539eef671aa1588bd7d65defd6bbe78
size 219

View File

@ -26,10 +26,14 @@
%define _rundir %{_localstatedir}/run
%endif
%if %{use_extra_provides} > 0
%bcond_with jemalloc
%bcond_with oqgraph
%bcond_with cassandra
%if 0 > 0
%define_with_jemalloc 1
%define_with_oqgraph 1
%define_with_cassandra 1
%else
%define_with_jemalloc 0
%define_with_oqgraph 0
%define_with_cassandra 0
%endif
Name: mariadb
@ -56,23 +60,23 @@ Source15: rc.mysql.sysvinit
Source16: rc.mysql.systemd
Source17: mysql.service
BuildRequires: bison
%if %{with oqgraph} || %{with cassandra}
%if 0%{with_oqgraph} > 0 || 0%{with_cassandra} > 0
BuildRequires: boost-devel
%endif
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc-c++
%if %{with jemalloc}
%if 0%{with_jemalloc} > 0
BuildRequires: jemalloc-devel
%endif
%if %{with oqgraph}
%if 0%{with_oqgraph} > 0
BuildRequires: judy-devel
%endif
BuildRequires: libaio-devel
BuildRequires: libbz2-devel
BuildRequires: libedit-devel
BuildRequires: libevent-devel
%if %{with cassandra}
%if 0%{with_cassandra} > 0
BuildRequires: libthrift-devel
%endif
BuildRequires: libtool