8
0

Accepting request 43312 from devel:languages:perl

checked in (request 43312)

OBS-URL: https://build.opensuse.org/request/show/43312
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-mysql?expand=0&rev=12
This commit is contained in:
OBS User autobuild
2010-07-19 18:44:41 +00:00
committed by Git OBS Bridge
parent bf16bbea44
commit 2bc0193d5c
4 changed files with 36 additions and 45 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package perl-DBD-mysql (Version 4.016)
# spec file for package perl-DBD-mysql (Version 4.014)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -17,15 +17,15 @@
# norootforbuild
Name: perl-DBD-mysql
%define cpan_name DBD-mysql
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: MySQL driver for the Perl5 Database Interface (DBI)
Version: 4.016
Version: 4.014
Release: 1
License: GPL+ or Artistic
License: Artistic License ..
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/DBD-mysql/
#Source: http://www.cpan.org/modules/by-module/DBD/DBD-mysql-%{version}.tar.gz
Url: http://search.cpan.org/dist/DBD-mysql
Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: mysql-devel
@@ -33,19 +33,26 @@ BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(DBI) >= 1.08
BuildRequires: perl(DBI)
BuildRequires: perl(Data::ShowTable)
#
Requires: perl = %{perl_version}
Requires: perl(Data::Dumper)
Requires: perl(DBI) >= 1.08
Requires: perl(DBI)
Requires: perl(Data::ShowTable)
## FIXME: is this really still needed
# then enable again
#Provides: mysqperl perl-Msql-Mysql-modules
#Obsoletes: mysqperl perl-Msql-Mysql-modules
%description
DBD::mysql is the Perl5 Database Interface driver for the MySQL database.
In other words: DBD::mysql is an interface between the Perl programming
language and the MySQL programming API that comes with the MySQL relational
database management system. Most functions provided by this programming API
are supported. Some rarely used functions are missing, mainly because noone
ever requested them. :-)
DBD::mysql is the Perl5 Database Interface driver for the MySQL
database. In other words: DBD::mysql is an interface between the Perl
programming language and the MySQL programming API that comes with
the MySQL relational database management system. Most functions
provided by this programming API are supported. Some rarely used
functions are missing, mainly because noone ever requested them. :-)
Authors:
--------
@@ -53,18 +60,19 @@ Authors:
%prep
%setup -q -n %{cpan_name}-%{version}
# rpmlint: executable-docs,
# spurious-executable-perm
# script-without-shebang
find -type f -exec %{__chmod} 0644 {} \;
## rpmlint
# fix file permission
chmod a-x ChangeLog README INSTALL.html eg/*
chmod a-x lib/Bundle/DBD/mysql.pm
chmod a-x lib/DBD/mysql.pm
chmod a-x lib/DBD/mysql/INSTALL.pod
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor --cflags="-I%{_includedir}/mysql $RPM_OPT_FLAGS"
%{__make} %{?_smp_mflags}
%check
%{__make} test
#check
#{__make} test
%install
%perl_make_install
@@ -75,7 +83,7 @@ find -type f -exec %{__chmod} 0644 {} \;
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root,-)
%doc ChangeLog eg INSTALL.html README TODO
%defattr(-, root, root)
%doc ChangeLog README INSTALL.html TODO eg
%changelog