BUG#28144933 - MYSQL-SERVER RPM DOES NOT INSTALL PERL-DATA-DUMPER AS A DEPENDENCY

    - Added Perl Data dumper as a dependency for server and test sub packages.
parent 56b5d428
...@@ -145,8 +145,8 @@ ...@@ -145,8 +145,8 @@
%if "%elver" == "6" || "%elver" == "7" %if "%elver" == "6" || "%elver" == "7"
%define distro_description Oracle Linux %elver %define distro_description Oracle Linux %elver
%define distro_releasetag el%elver %define distro_releasetag el%elver
%define distro_buildreq gcc-c++ ncurses-devel perl readline-devel time zlib-devel cmake libaio-devel %define distro_buildreq gcc-c++ ncurses-devel perl perl(Data::Dumper) readline-devel time zlib-devel cmake libaio-devel
%define distro_requires chkconfig coreutils grep procps shadow-utils net-tools %define distro_requires chkconfig coreutils grep perl(Data::Dumper) procps shadow-utils net-tools
%else %else
%{error:Oracle Linux %{elver} is unsupported} %{error:Oracle Linux %{elver} is unsupported}
%endif %endif
...@@ -168,8 +168,8 @@ ...@@ -168,8 +168,8 @@
%if "%rhelver" == "6" %if "%rhelver" == "6"
%define distro_description Red Hat Enterprise Linux 6 %define distro_description Red Hat Enterprise Linux 6
%define distro_releasetag rhel6 %define distro_releasetag rhel6
%define distro_buildreq gcc-c++ ncurses-devel perl readline-devel time zlib-devel cmake libaio-devel %define distro_buildreq gcc-c++ ncurses-devel perl perl(Data::Dumper) readline-devel time zlib-devel cmake libaio-devel
%define distro_requires chkconfig coreutils grep procps shadow-utils net-tools %define distro_requires chkconfig coreutils grep perl(Data::Dumper) procps shadow-utils net-tools
%else %else
%{error:Red Hat Enterprise Linux %{rhelver} is unsupported} %{error:Red Hat Enterprise Linux %{rhelver} is unsupported}
%endif %endif
...@@ -203,8 +203,8 @@ ...@@ -203,8 +203,8 @@
%define generic_kernel %(uname -r | cut -d. -f1-2) %define generic_kernel %(uname -r | cut -d. -f1-2)
%define distro_description Generic Linux (kernel %{generic_kernel}) %define distro_description Generic Linux (kernel %{generic_kernel})
%define distro_releasetag 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_buildreq gcc-c++ gperf ncurses-devel perl perl(Data::Dumper) readline-devel time zlib-devel
%define distro_requires coreutils grep procps /sbin/chkconfig /usr/sbin/useradd /usr/sbin/groupadd %define distro_requires coreutils grep perl(Data::Dumper) procps /sbin/chkconfig /usr/sbin/useradd /usr/sbin/groupadd
%endif %endif
# Avoid debuginfo RPMs, leaves binaries unstripped # Avoid debuginfo RPMs, leaves binaries unstripped
...@@ -362,6 +362,7 @@ Obsoletes: MySQL-test-classic MySQL-test-community MySQL-test-enterprise ...@@ -362,6 +362,7 @@ Obsoletes: MySQL-test-classic MySQL-test-community MySQL-test-enterprise
Obsoletes: MySQL-test-advanced-gpl MySQL-test-enterprise-gpl Obsoletes: MySQL-test-advanced-gpl MySQL-test-enterprise-gpl
Provides: mysql-test = %{version}-%{release} Provides: mysql-test = %{version}-%{release}
Provides: mysql-test%{?_isa} = %{version}-%{release} Provides: mysql-test%{?_isa} = %{version}-%{release}
Requires: perl(Data::Dumper)
AutoReqProv: no AutoReqProv: no
%description -n MySQL-test%{product_suffix} %description -n MySQL-test%{product_suffix}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment