summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorKent Boortz <kent.boortz@sun.com>2009-12-30 23:06:14 +0100
committerKent Boortz <kent.boortz@sun.com>2009-12-30 23:06:14 +0100
commit71061de025de2e9bffaaecdd182ad7f7ccd924d0 (patch)
treebf26a1603114b634d85f7364acd4da0212697581 /support-files
parent6d69089845ed4c50df0ca8136a2cdacb8f2e1380 (diff)
downloadmariadb-git-71061de025de2e9bffaaecdd182ad7f7ccd924d0.tar.gz
Removed unwanted Perl DBI dependency
Diffstat (limited to 'support-files')
-rw-r--r--support-files/mysql.spec.sh15
1 files changed, 14 insertions, 1 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh
index 8209c4560c6..b6d822d8719 100644
--- a/support-files/mysql.spec.sh
+++ b/support-files/mysql.spec.sh
@@ -65,6 +65,19 @@
# See BUG#998 for details.
%define _unpackaged_files_terminate_build 0
+# ------------------------------------------------------------------------------
+# RPM build tools now automatically detects Perl module dependencies. This
+# detection gives problems as it is broken in some versions, and it also
+# give unwanted dependencies from mandatory scripts in our package.
+# Might not be possible to disable in all RPM tool versions, but here we
+# try. We keep the "AutoReqProv: no" for the "test" sub package, as disabling
+# here might fail, and that package has the most problems.
+# See http://fedoraproject.org/wiki/Packaging/Perl#Filtering_Requires:_and_Provides
+# http://www.wideopen.com/archives/rpm-list/2002-October/msg00343.html
+# ------------------------------------------------------------------------------
+%undefine __perl_provides
+%undefine __perl_requires
+
%define see_base For a description of MySQL see the base MySQL RPM or http://www.mysql.com
# On SuSE 9 no separate "debuginfo" package is built. To enable basic
@@ -205,7 +218,7 @@ They should be used with caution.
%endif
%package test
-Requires: %{name}-client perl-DBI perl
+Requires: %{name}-client perl
Summary: MySQL - Test suite
Group: Applications/Databases
Provides: mysql-test