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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
4b55bf78
Commit
4b55bf78
authored
Apr 12, 2010
by
Jonathan Perkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More fixes/cleanups.
parent
8b02b392
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+15
-15
No files found.
support-files/mysql.spec.sh
View file @
4b55bf78
...
@@ -33,9 +33,15 @@
...
@@ -33,9 +33,15 @@
%define release 1
%define release 1
# Macros we use which are not available in all versions of RPM
#
%if 0%
{
defined
expand
}
# Macros we use which are not available in all supported versions of RPM
#
# - defined/undefined are missing on RHEL4
#
%if %
{
expand
:%
{
?defined:0
}
%
{!
?defined:1
}}
%define defined
()
%
{
expand
:%%
{
?%
{
1
}
:1
}
%%
{!
?%
{
1
}
:0
}}
%define defined
()
%
{
expand
:%%
{
?%
{
1
}
:1
}
%%
{!
?%
{
1
}
:0
}}
%endif
%if %
{
expand
:%
{
?undefined:0
}
%
{!
?undefined:1
}}
%define undefined
()
%
{
expand
:%%
{
?%
{
1
}
:0
}
%%
{!
?%
{
1
}
:1
}}
%define undefined
()
%
{
expand
:%%
{
?%
{
1
}
:0
}
%%
{!
?%
{
1
}
:1
}}
%endif
%endif
...
@@ -99,6 +105,13 @@
...
@@ -99,6 +105,13 @@
%define compilation_comment_release MySQL Community Server
(
GPL
)
%define compilation_comment_release MySQL Community Server
(
GPL
)
%endif
%endif
# ----------------------------------------------------------------------------
# Server suffix and package name
# ----------------------------------------------------------------------------
%if %
{
undefined server_suffix
}
%define server_suffix %
{
nil
}
%endif
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# Distribution support
# Distribution support
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
...
@@ -143,19 +156,6 @@
...
@@ -143,19 +156,6 @@
%define distro_requires coreutils
grep
procps /sbin/chkconfig /usr/sbin/useradd /usr/sbin/groupadd
%define distro_requires coreutils
grep
procps /sbin/chkconfig /usr/sbin/useradd /usr/sbin/groupadd
%endif
%endif
# ----------------------------------------------------------------------------
# Build with yaSSL support (off by default)
# ----------------------------------------------------------------------------
%
{
?_with_yassl:%define YASSL_BUILD 1
}
%
{!
?_with_yassl:%define YASSL_BUILD 0
}
# ----------------------------------------------------------------------------
# Build using the bundled zlib (on by default)
# ----------------------------------------------------------------------
%
{!
?_with_bundled_zlib:%
{!
?_without_bundled_zlib:%define WITH_BUNDLED_ZLIB 1
}}
%
{
?_with_bundled_zlib:%define WITH_BUNDLED_ZLIB 1
}
%
{
?_without_bundled_zlib:%define WITH_BUNDLED_ZLIB 0
}
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# Support optional "tcmalloc" library (experimental)
# Support optional "tcmalloc" library (experimental)
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
...
...
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