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
7f6e6db7
Commit
7f6e6db7
authored
Apr 13, 2010
by
Jonathan Perkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
3425182e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
27 deletions
+27
-27
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+27
-27
No files found.
support-files/mysql.spec.sh
View file @
7f6e6db7
...
...
@@ -133,44 +133,44 @@
%define distro_buildreq gcc-c++ gperf ncurses-devel perl readline-devel
time
zlib-devel
%define distro_requires chkconfig coreutils
grep
procps shadow-utils
%else
%if %redhatver
==
5
%define distro_description
Red Hat Enterprise Linux 5
%define distro_releasetag
rhel5
%define distro_buildreq
gcc-c++ gperf ncurses-devel perl readline-devel
time
zlib-devel
%define distro_requires
chkconfig coreutils
grep
procps shadow-utils
%endif
%if %redhatver
==
5
%define distro_description
Red Hat Enterprise Linux 5
%define distro_releasetag
rhel5
%define distro_buildreq
gcc-c++ gperf ncurses-devel perl readline-devel
time
zlib-devel
%define distro_requires
chkconfig coreutils
grep
procps shadow-utils
%endif
%endif
%else
%if %
(
test
-f
/etc/SuSE-release
&&
echo
1
||
echo
0
)
%define susever %
(
rpm
-qf
--qf
'%%{version}'
/etc/SuSE-release
)
%
{
echo
:Found SuSE version %
{
susever
}}
%if %susever
==
10
%define distro_description SUSE Linux Enterprise Server 10
%define distro_releasetag sles10
%define distro_buildreq gcc-c++ gdbm-devel gperf ncurses-devel openldap2-client readline-devel zlib-devel
%define distro_requires aaa_base coreutils
grep
procps pwdutils
%else
%if %susever
==
11
%define distro_description SUSE Linux Enterprise Server 11
%define distro_releasetag sles11
%define distro_buildreq gcc-c++ gdbm-devel gperf ncurses-devel openldap2-client procps pwdutils readline-devel zlib-devel
%define distro_requires aaa_base coreutils
grep
procps pwdutils
%endif
%if %
(
test
-f
/etc/SuSE-release
&&
echo
1
||
echo
0
)
%define susever %
(
rpm
-qf
--qf
'%%{version}'
/etc/SuSE-release
)
%
{
echo
:Found SuSE version %
{
susever
}}
%if %susever
==
10
%define distro_description SUSE Linux Enterprise Server 10
%define distro_releasetag sles10
%define distro_buildreq gcc-c++ gdbm-devel gperf ncurses-devel openldap2-client readline-devel zlib-devel
%define distro_requires aaa_base coreutils
grep
procps pwdutils
%else
%if %susever
==
11
%define distro_description SUSE Linux Enterprise Server 11
%define distro_releasetag sles11
%define distro_buildreq gcc-c++ gdbm-devel gperf ncurses-devel openldap2-client procps pwdutils readline-devel zlib-devel
%define distro_requires aaa_base coreutils
grep
procps pwdutils
%endif
%endif
%endif
%endif
%endif
%if %
{
undefined distro_description
}
%
{
error:Unsupported distribution
}
%endif
%else
%define generic_kernel %
(
uname
-r
|
cut
-d
.
-f1-2
)
%define distro_description
Generic Linux %
{
generic_kernel
}
%define distro_releasetag linux%
{
generic_kernel
}
%define distro_buildreq gcc-c++ gperf ncurses-devel perl readline-devel
time
zlib-devel
%define distro_requires coreutils
grep
procps /sbin/chkconfig /usr/sbin/useradd /usr/sbin/groupadd
%define distro_description
Generic Linux
(
kernel %
{
generic_kernel
})
%define distro_releasetag
linux%
{
generic_kernel
}
%define distro_buildreq
gcc-c++ gperf ncurses-devel perl readline-devel
time
zlib-devel
%define distro_requires
coreutils
grep
procps /sbin/chkconfig /usr/sbin/useradd /usr/sbin/groupadd
%endif
%
{
echo
:Building
for
%
{
distro_description
}
%
{
echo
:Building
for
%
{
distro_description
}
}
# ----------------------------------------------------------------------------
# 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