Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
2b97f19f
Commit
2b97f19f
authored
Aug 24, 2009
by
Jonathan Perkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add conditionals for bundled zlib and innodb plugin
parent
4a76122f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+24
-0
No files found.
support-files/mysql.spec.sh
View file @
2b97f19f
...
@@ -31,6 +31,20 @@
...
@@ -31,6 +31,20 @@
%
{
?_with_yassl:%define YASSL_BUILD 1
}
%
{
?_with_yassl:%define YASSL_BUILD 1
}
%
{!
?_with_yassl:%define YASSL_BUILD 0
}
%
{!
?_with_yassl:%define YASSL_BUILD 0
}
# ----------------------------------------------------------------------
# use "rpmbuild --with bundled_zlib" or "rpm --define '_with_bundled_zlib 1'"
# (for RPM 3.x) to build using the bundled zlib (off by default)
# ----------------------------------------------------------------------
%
{
?_with_bundled_zlib:%define WITH_BUNDLED_ZLIB 1
}
%
{!
?_with_bundled_zlib:%define WITH_BUNDLED_ZLIB 0
}
# ----------------------------------------------------------------------
# use "rpmbuild --without innodb_plugin" or "rpm --define '_without_innodb_plugin 1'"
# (for RPM 3.x) to not build the innodb plugin (on by default with innodb builds)
# ----------------------------------------------------------------------
%
{
?_without_innodb_plugin:%define WITHOUT_INNODB_PLUGIN 1
}
%
{!
?_without_innodb_plugin:%define WITHOUT_INNODB_PLUGIN 0
}
# use "rpmbuild --with cluster" or "rpm --define '_with_cluster 1'" (for RPM 3.x)
# use "rpmbuild --with cluster" or "rpm --define '_with_cluster 1'" (for RPM 3.x)
# to build with cluster support (off by default)
# to build with cluster support (off by default)
%
{
?_with_cluster:%define CLUSTER_BUILD 1
}
%
{
?_with_cluster:%define CLUSTER_BUILD 1
}
...
@@ -292,6 +306,9 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
...
@@ -292,6 +306,9 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
--enable-thread-safe-client
\
--enable-thread-safe-client
\
--with-readline
\
--with-readline
\
--with-innodb
\
--with-innodb
\
%if %{WITHOUT_INNODB_PLUGIN}
--without-plugin-innodb_plugin
\
%endif
%if %{CLUSTER_BUILD}
%if %{CLUSTER_BUILD}
--with-ndbcluster
\
--with-ndbcluster
\
%else
%else
...
@@ -305,6 +322,9 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
...
@@ -305,6 +322,9 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
--without-plugin-example
\
--without-plugin-example
\
--with-partition
\
--with-partition
\
--with-big-tables
\
--with-big-tables
\
%if %{WITH_BUNDLED_ZLIB}
--with-zlib-dir=bundled
\
%endif
--enable-shared
\
--enable-shared
\
"
"
make
make
...
@@ -853,6 +873,10 @@ fi
...
@@ -853,6 +873,10 @@ fi
# itself - note that they must be ordered by date (important when
# itself - note that they must be ordered by date (important when
# merging BK trees)
# merging BK trees)
%changelog
%changelog
*
Mon Aug 24 2009 Jonathan Perkin <jperkin@sun.com>
- Add conditionals
for
bundled zlib and innodb plugin
*
Fri Aug 21 2009 Jonathan Perkin <jperkin@sun.com>
*
Fri Aug 21 2009 Jonathan Perkin <jperkin@sun.com>
- Install plugin libraries
in
appropriate packages.
- Install plugin libraries
in
appropriate packages.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment