diff options
author | Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> | 2014-08-04 15:56:19 +0200 |
---|---|---|
committer | Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> | 2014-08-04 15:56:19 +0200 |
commit | 1a1e9040044c63580ffc9ac5a9cae7c495d92df4 (patch) | |
tree | 7ec38b8b3decb11334fb0d6e13b5aa84f89ecf6a /support-files | |
parent | f51622c660b2e44f5febde4aac9801c8eb4277c2 (diff) | |
download | mariadb-git-1a1e9040044c63580ffc9ac5a9cae7c495d92df4.tar.gz |
Updated for el7 regular rpms
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 7908e1b5d50..db75d1a8191 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 |