[svn] r6322 - trunk/rpms/perl-DBD-mysql

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Thu May 15 11:26:34 CEST 2008


Author: dries
Date: 2008-05-15 10:26:33 +0100 (Thu, 15 May 2008)
New Revision: 6322

Modified:
   trunk/rpms/perl-DBD-mysql/perl-DBD-mysql.spec
Log:
added obsoletes/conflicts for perl-DBD-MySQL

Modified: trunk/rpms/perl-DBD-mysql/perl-DBD-mysql.spec
===================================================================
--- trunk/rpms/perl-DBD-mysql/perl-DBD-mysql.spec	2008-05-14 23:38:25 UTC (rev 6321)
+++ trunk/rpms/perl-DBD-mysql/perl-DBD-mysql.spec	2008-05-15 09:26:33 UTC (rev 6322)
@@ -18,8 +18,12 @@
 Source: http://www.cpan.org/modules/by-module/DBD/DBD-mysql-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
-BuildRequires: perl
+BuildRequires: perl, mysql-devel
 
+# rhel/centos contains the perl module DBD-mysql in a package named perl-DBD-MySQL
+Obsoletes: perl-DBD-MySQL <= %{version}-%{release}
+Provides: perl-DBD-MySQL = %{version}-%{release}
+
 %description
 perl-DBD-mysql is a Perl module that implements a MySQL driver for DBI.
 




More information about the commits mailing list