Accepting request 43312 from devel:languages:perl

Copy from devel:languages:perl/perl-DBD-mysql based on submit request 43312 from user computersalat

OBS-URL: https://build.opensuse.org/request/show/43312
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBD-mysql?expand=0&rev=19
This commit is contained in:
OBS User autobuild 2010-07-19 18:44:42 +00:00 committed by Git OBS Bridge
commit 6d80d99918
4 changed files with 45 additions and 35 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:00698dfce13b9107eff7e9adc1a66187569a3f908b514c2ed0604dfe829601f2
size 107378

3
DBD-mysql-4.016.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:684b8edade5ddf037ca5aa73301c840c5901575c80e02be8e69501303474afd2
size 108441

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Fri Jul 16 13:31:55 UTC 2010 - chris@computersalat.de
- update to 4.016
* Disabled mysql_bind_type_guessing due to one performance issue
querying on a indexed character column unquoted will mean the index
is not used
* Fixed int types that should be bools
- 2010-07-09 Patrick Galbraith <patg@patg.net> (4.015)
* BUG #56664 fixed t/40blobs.t skip_all logic (W. Phillip Moore)
* BUG #57253 Fixed iteration past end of string (crash). (Chris Butler)
* Added a new parameter for old behavior- mysql_bind_comment_placeholders which
will make it possible to have placeholders bound for those who really
want that behavior.
* Fixed bind_type_guessing - always on now
- recreated by cpanspec 1.78
-------------------------------------------------------------------
Fri Apr 16 20:48:04 UTC 2010 - chris@computersalat.de

View File

@ -1,5 +1,5 @@
#
# spec file for package perl-DBD-mysql (Version 4.014)
# spec file for package perl-DBD-mysql (Version 4.016)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -19,13 +19,14 @@
Name: perl-DBD-mysql
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
%define cpan_name DBD-mysql
Summary: MySQL driver for the Perl5 Database Interface (DBI)
Version: 4.014
Version: 4.016
Release: 1
License: Artistic License ..
License: GPL+ or Artistic
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/DBD-mysql
Url: http://search.cpan.org/dist/DBD-mysql/
#Source: http://www.cpan.org/modules/by-module/DBD/DBD-mysql-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: mysql-devel
@ -33,26 +34,19 @@ BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(DBI)
BuildRequires: perl(Data::ShowTable)
#
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(DBI) >= 1.08
Requires: perl = %{perl_version}
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
Requires: perl(Data::Dumper)
Requires: perl(DBI) >= 1.08
%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:
--------
@ -60,19 +54,18 @@ Authors:
%prep
%setup -q -n %{cpan_name}-%{version}
## 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
# rpmlint: executable-docs,
# spurious-executable-perm
# script-without-shebang
find -type f -exec %{__chmod} 0644 {} \;
%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
@ -83,7 +76,7 @@ chmod a-x lib/DBD/mysql/INSTALL.pod
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-, root, root)
%doc ChangeLog README INSTALL.html TODO eg
%defattr(-,root,root,-)
%doc ChangeLog eg INSTALL.html README TODO
%changelog