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
e0111753
Commit
e0111753
authored
Jun 02, 2010
by
Jonathan Perkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert Oracle Enterprise Linux changes.
parent
1d451c9f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
42 deletions
+23
-42
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+23
-42
No files found.
support-files/mysql.spec.sh
View file @
e0111753
...
...
@@ -121,24 +121,6 @@
%define distro_specific 0
%endif
%if %
{
distro_specific
}
%if %
(
test
-f
/etc/enterprise-release
&&
echo
1
||
echo
0
)
%define elver %
(
rpm
-qf
--qf
'%%{version}\\n'
/etc/enterprise-release |
sed
-e
's/^\\([0-9]*\\).*/\\1/g'
)
%if
"%elver"
==
"4"
%define distro_description Oracle Enterprise Linux 4
%define distro_releasetag el4
%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
"%elver"
==
"5"
%define distro_description Oracle Enterprise Linux 5
%define distro_releasetag el5
%define distro_buildreq gcc-c++ gperf ncurses-devel perl readline-devel
time
zlib-devel
%define distro_requires chkconfig coreutils
grep
procps shadow-utils
%else
%
{
error:Oracle Enterprise Linux %
{
elver
}
is unsupported
}
%endif
%endif
%else
%if %
(
test
-f
/etc/redhat-release
&&
echo
1
||
echo
0
)
%define rhelver %
(
rpm
-qf
--qf
'%%{version}\\n'
/etc/redhat-release |
sed
-e
's/^\\([0-9]*\\).*/\\1/g'
)
%if
"%rhelver"
==
"4"
...
...
@@ -178,7 +160,6 @@
%
{
error:Unsupported distribution
}
%endif
%endif
%endif
%else
%define generic_kernel %
(
uname
-r
|
cut
-d
.
-f1-2
)
%define distro_description Generic Linux
(
kernel %
{
generic_kernel
})
...
...
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