diff options
author | Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> | 2014-08-06 09:56:37 +0200 |
---|---|---|
committer | Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> | 2014-08-06 09:56:37 +0200 |
commit | 77a5517c93ddca99a49d051a24bd31501d4c67ce (patch) | |
tree | 4ccf300c617145e4e920f092630ccfdb053ce401 /support-files | |
parent | 07668e6751fef106d1859a9e6f292e47b6d01253 (diff) | |
parent | 0bd28ebe2d1bb32c431c111c776a584a8ab7543f (diff) | |
download | mariadb-git-77a5517c93ddca99a49d051a24bd31501d4c67ce.tar.gz |
- Merge from mysql-5.5.39-ol7-release branch
- Reverted version variable
Diffstat (limited to 'support-files')
-rw-r--r-- | support-files/mysql.spec.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh index 082d1fcfef1..9469a8d8769 100644 --- a/support-files/mysql.spec.sh +++ b/support-files/mysql.spec.sh @@ -142,9 +142,9 @@ %else %if %(test -f /etc/oracle-release && echo 1 || echo 0) %define elver %(rpm -qf --qf '%%{version}\\n' /etc/oracle-release | sed -e 's/^\\([0-9]*\\).*/\\1/g') - %if "%elver" == "6" - %define distro_description Oracle Linux 6 - %define distro_releasetag el6 + %if "%elver" == "6" || "%elver" == "7" + %define distro_description Oracle Linux %elver + %define distro_releasetag el%elver %define distro_buildreq gcc-c++ ncurses-devel perl readline-devel time zlib-devel cmake libaio-devel %define distro_requires chkconfig coreutils grep procps shadow-utils net-tools %else |