From bfcb5be0ce2113d943f63aaa1c298b67260964c6044a60271b867be95183cf30 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Sun, 18 Apr 2010 22:26:38 +0000 Subject: [PATCH 1/4] Accepting request 38075 from devel:languages:perl checked in (request 38075) OBS-URL: https://build.opensuse.org/request/show/38075 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-mysql?expand=0&rev=10 --- DBD-mysql-4.013.tar.bz2 | 3 ++ DBD-mysql-4.014.tar.bz2 | 3 -- perl-DBD-mysql.changes | 25 -------------- perl-DBD-mysql.spec | 76 +++++++++++++++++------------------------ 4 files changed, 35 insertions(+), 72 deletions(-) create mode 100644 DBD-mysql-4.013.tar.bz2 delete mode 100644 DBD-mysql-4.014.tar.bz2 diff --git a/DBD-mysql-4.013.tar.bz2 b/DBD-mysql-4.013.tar.bz2 new file mode 100644 index 0000000..622ea67 --- /dev/null +++ b/DBD-mysql-4.013.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a5eabdea3dfcdab29415616feb5bb990896b4c6966a240d6b3ca45fb2c69add2 +size 105286 diff --git a/DBD-mysql-4.014.tar.bz2 b/DBD-mysql-4.014.tar.bz2 deleted file mode 100644 index 822c9c0..0000000 --- a/DBD-mysql-4.014.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:00698dfce13b9107eff7e9adc1a66187569a3f908b514c2ed0604dfe829601f2 -size 107378 diff --git a/perl-DBD-mysql.changes b/perl-DBD-mysql.changes index 7d91d1f..f474065 100644 --- a/perl-DBD-mysql.changes +++ b/perl-DBD-mysql.changes @@ -1,28 +1,3 @@ -------------------------------------------------------------------- -Fri Apr 16 20:48:04 UTC 2010 - chris@computersalat.de - -- update to 4.014 - * BUG 30033 Fixed handling of comments to allow comments that - contain characters that might otherwise cause placeholder - detection to not work properly - * BUG 53844, Fix for memory leak in stats. (Gregory Burmistrov) - * BUG 49719, Fix for handling of NULLs in prepared statements - (Gert Pache) - * BUG 55627, Fix for testing failure due to strict mode (Yves) - * BUG 51784, Fix for mysqladmin on Windows in Makefile - (Zeeshan Muhammad) - * BUG 41630, Typo in Makefile - * Had to define true and false in dbdimp.h. Didn't work out of - the box on Linux -- cleanup spec - * recreated with cpanspec - * disabled old Provides/Obsoletes - mysqperl perl-Msql-Mysql-modules - * added eg to doc -- rpmlint - * file permission - o chmod a-x on several files - ------------------------------------------------------------------- Fri Jan 15 16:18:47 CET 2010 - anicka@suse.cz diff --git a/perl-DBD-mysql.spec b/perl-DBD-mysql.spec index 515684c..195e28b 100644 --- a/perl-DBD-mysql.spec +++ b/perl-DBD-mysql.spec @@ -1,5 +1,5 @@ # -# spec file for package perl-DBD-mysql (Version 4.014) +# spec file for package perl-DBD-mysql (Version 4.013) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,38 +19,25 @@ Name: perl-DBD-mysql -%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) -Summary: MySQL driver for the Perl5 Database Interface (DBI) -Version: 4.014 -Release: 1 +BuildRequires: mysql-devel perl-DBI perl-Data-ShowTable +Url: http://cpan.org/modules/by-module/DBD/ License: Artistic License .. Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/DBD-mysql -Source: %{cpan_name}-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: mysql-devel -BuildRequires: perl -%if 0%{?suse_version} < 1120 -BuildRequires: perl-macros -%endif -BuildRequires: perl(DBI) -BuildRequires: perl(Data::ShowTable) -# +Obsoletes: mysqperl perl-Msql-Mysql-modules +Provides: mysqperl perl-Msql-Mysql-modules +Requires: perl-DBI perl-Data-ShowTable 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 +AutoReqProv: on +Version: 4.013 +Release: 1 +Summary: Interface to the MySQL database +Group: Development/Libraries/Perl +Source: http://www.cpan.org/modules/by-module/Mysql/DBD-mysql-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%define _prefix /usr %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. :-) +A Perl5 Database Interface to the MySQL database @@ -59,31 +46,32 @@ Authors: Jochen Wiedmann %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 +%setup -q -n DBD-mysql-%{version} +chmod a-x ChangeLog README INSTALL.html %build -%{__perl} Makefile.PL INSTALLDIRS=vendor --cflags="-I%{_includedir}/mysql $RPM_OPT_FLAGS" -%{__make} %{?_smp_mflags} - -#check -#{__make} test +perl Makefile.PL --verbose +make %{?_smp_mflags} +#make test %install %perl_make_install %perl_process_packlist -%perl_gen_filelist +chmod a-x $RPM_BUILD_ROOT/%{perl_vendorarch}//Bundle/DBD/mysql.pm +chmod a-x $RPM_BUILD_ROOT/%{perl_vendorarch}/DBD/mysql.pm +chmod a-x $RPM_BUILD_ROOT/%{perl_vendorarch}/DBD/mysql/INSTALL.pod %clean -%{__rm} -rf $RPM_BUILD_ROOT +# Clear up the mess +[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT -%files -f %{name}.files +%files %defattr(-, root, root) -%doc ChangeLog README INSTALL.html TODO eg +%doc ChangeLog README INSTALL.html TODO +%doc %{_mandir}/man?/* +%{perl_vendorarch}/auto/DBD +%{perl_vendorarch}/Bundle/DBD +%{perl_vendorarch}/DBD +/var/adm/perl-modules/perl-DBD-mysql %changelog From bf16bbea443ab2e6d430a4b105b6c9c66aaae6ee1b33c2bd9585d339c217a203 Mon Sep 17 00:00:00 2001 From: Christian Wittmer Date: Sat, 17 Jul 2010 15:52:56 +0000 Subject: [PATCH 2/4] Accepting request 43174 from home:computersalat:devel:perl Copy from home:computersalat:devel:perl/perl-DBD-mysql via accept of submit request 43174 revision 2. Request was accepted with message: self accept OBS-URL: https://build.opensuse.org/request/show/43174 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-mysql?expand=0&rev=11 --- DBD-mysql-4.013.tar.bz2 | 3 -- DBD-mysql-4.016.tar.bz2 | 3 ++ perl-DBD-mysql.changes | 42 +++++++++++++++++++++++ perl-DBD-mysql.spec | 76 ++++++++++++++++++++++------------------- 4 files changed, 85 insertions(+), 39 deletions(-) delete mode 100644 DBD-mysql-4.013.tar.bz2 create mode 100644 DBD-mysql-4.016.tar.bz2 diff --git a/DBD-mysql-4.013.tar.bz2 b/DBD-mysql-4.013.tar.bz2 deleted file mode 100644 index 622ea67..0000000 --- a/DBD-mysql-4.013.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a5eabdea3dfcdab29415616feb5bb990896b4c6966a240d6b3ca45fb2c69add2 -size 105286 diff --git a/DBD-mysql-4.016.tar.bz2 b/DBD-mysql-4.016.tar.bz2 new file mode 100644 index 0000000..9a23129 --- /dev/null +++ b/DBD-mysql-4.016.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:684b8edade5ddf037ca5aa73301c840c5901575c80e02be8e69501303474afd2 +size 108441 diff --git a/perl-DBD-mysql.changes b/perl-DBD-mysql.changes index f474065..953c8b9 100644 --- a/perl-DBD-mysql.changes +++ b/perl-DBD-mysql.changes @@ -1,3 +1,45 @@ +------------------------------------------------------------------- +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 (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 + +- update to 4.014 + * BUG 30033 Fixed handling of comments to allow comments that + contain characters that might otherwise cause placeholder + detection to not work properly + * BUG 53844, Fix for memory leak in stats. (Gregory Burmistrov) + * BUG 49719, Fix for handling of NULLs in prepared statements + (Gert Pache) + * BUG 55627, Fix for testing failure due to strict mode (Yves) + * BUG 51784, Fix for mysqladmin on Windows in Makefile + (Zeeshan Muhammad) + * BUG 41630, Typo in Makefile + * Had to define true and false in dbdimp.h. Didn't work out of + the box on Linux +- cleanup spec + * recreated with cpanspec + * disabled old Provides/Obsoletes + mysqperl perl-Msql-Mysql-modules + * added eg to doc +- rpmlint + * file permission + o chmod a-x on several files + ------------------------------------------------------------------- Fri Jan 15 16:18:47 CET 2010 - anicka@suse.cz diff --git a/perl-DBD-mysql.spec b/perl-DBD-mysql.spec index 195e28b..7e7c91c 100644 --- a/perl-DBD-mysql.spec +++ b/perl-DBD-mysql.spec @@ -1,5 +1,5 @@ # -# spec file for package perl-DBD-mysql (Version 4.013) +# spec file for package perl-DBD-mysql (Version 4.016) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,61 +17,65 @@ # norootforbuild - Name: perl-DBD-mysql -BuildRequires: mysql-devel perl-DBI perl-Data-ShowTable -Url: http://cpan.org/modules/by-module/DBD/ -License: Artistic License .. -Group: Development/Libraries/Perl -Obsoletes: mysqperl perl-Msql-Mysql-modules -Provides: mysqperl perl-Msql-Mysql-modules -Requires: perl-DBI perl-Data-ShowTable -Requires: perl = %{perl_version} -AutoReqProv: on -Version: 4.013 +%define cpan_name DBD-mysql +Summary: MySQL driver for the Perl5 Database Interface (DBI) +Version: 4.016 Release: 1 -Summary: Interface to the MySQL database +License: GPL+ or Artistic Group: Development/Libraries/Perl -Source: http://www.cpan.org/modules/by-module/Mysql/DBD-mysql-%{version}.tar.bz2 +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 -%define _prefix /usr +BuildRequires: mysql-devel +BuildRequires: perl +%if 0%{?suse_version} < 1120 +BuildRequires: perl-macros +%endif +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(DBI) >= 1.08 +Requires: perl = %{perl_version} +Requires: perl(Data::Dumper) +Requires: perl(DBI) >= 1.08 %description -A Perl5 Database Interface to the MySQL database - - +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: -------- Jochen Wiedmann %prep -%setup -q -n DBD-mysql-%{version} -chmod a-x ChangeLog README INSTALL.html +%setup -q -n %{cpan_name}-%{version} +# rpmlint: executable-docs, +# spurious-executable-perm +# script-without-shebang +find -type f -exec %{__chmod} 0644 {} \; %build -perl Makefile.PL --verbose -make %{?_smp_mflags} -#make test +%{__perl} Makefile.PL INSTALLDIRS=vendor --cflags="-I%{_includedir}/mysql $RPM_OPT_FLAGS" + +%{__make} %{?_smp_mflags} + +%check +%{__make} test %install %perl_make_install %perl_process_packlist -chmod a-x $RPM_BUILD_ROOT/%{perl_vendorarch}//Bundle/DBD/mysql.pm -chmod a-x $RPM_BUILD_ROOT/%{perl_vendorarch}/DBD/mysql.pm -chmod a-x $RPM_BUILD_ROOT/%{perl_vendorarch}/DBD/mysql/INSTALL.pod +%perl_gen_filelist %clean -# Clear up the mess -[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT +%{__rm} -rf $RPM_BUILD_ROOT -%files -%defattr(-, root, root) -%doc ChangeLog README INSTALL.html TODO -%doc %{_mandir}/man?/* -%{perl_vendorarch}/auto/DBD -%{perl_vendorarch}/Bundle/DBD -%{perl_vendorarch}/DBD -/var/adm/perl-modules/perl-DBD-mysql +%files -f %{name}.files +%defattr(-,root,root,-) +%doc ChangeLog eg INSTALL.html README TODO %changelog From 2bc0193d5c4ca05c36cbbb13bb69263139acac478555051b420135116ec8f81c Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Mon, 19 Jul 2010 18:44:41 +0000 Subject: [PATCH 3/4] 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 --- DBD-mysql-4.014.tar.bz2 | 3 +++ DBD-mysql-4.016.tar.bz2 | 3 --- perl-DBD-mysql.changes | 17 ------------ perl-DBD-mysql.spec | 58 +++++++++++++++++++++++------------------ 4 files changed, 36 insertions(+), 45 deletions(-) create mode 100644 DBD-mysql-4.014.tar.bz2 delete mode 100644 DBD-mysql-4.016.tar.bz2 diff --git a/DBD-mysql-4.014.tar.bz2 b/DBD-mysql-4.014.tar.bz2 new file mode 100644 index 0000000..822c9c0 --- /dev/null +++ b/DBD-mysql-4.014.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:00698dfce13b9107eff7e9adc1a66187569a3f908b514c2ed0604dfe829601f2 +size 107378 diff --git a/DBD-mysql-4.016.tar.bz2 b/DBD-mysql-4.016.tar.bz2 deleted file mode 100644 index 9a23129..0000000 --- a/DBD-mysql-4.016.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:684b8edade5ddf037ca5aa73301c840c5901575c80e02be8e69501303474afd2 -size 108441 diff --git a/perl-DBD-mysql.changes b/perl-DBD-mysql.changes index 953c8b9..7d91d1f 100644 --- a/perl-DBD-mysql.changes +++ b/perl-DBD-mysql.changes @@ -1,20 +1,3 @@ -------------------------------------------------------------------- -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 (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 diff --git a/perl-DBD-mysql.spec b/perl-DBD-mysql.spec index 7e7c91c..515684c 100644 --- a/perl-DBD-mysql.spec +++ b/perl-DBD-mysql.spec @@ -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 From 12ab9f23307283e6eea75e5c6e5c2b4714c7e468a1814a61eacaed8c7971fb1f Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Mon, 19 Jul 2010 18:44:42 +0000 Subject: [PATCH 4/4] Updating link to change in openSUSE:Factory/perl-DBD-mysql revision 19.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-mysql?expand=0&rev=254a97656c3c0b94dc8d76123639aac5 --- DBD-mysql-4.014.tar.bz2 | 3 --- DBD-mysql-4.016.tar.bz2 | 3 +++ perl-DBD-mysql.changes | 17 ++++++++++++ perl-DBD-mysql.spec | 57 ++++++++++++++++++----------------------- 4 files changed, 45 insertions(+), 35 deletions(-) delete mode 100644 DBD-mysql-4.014.tar.bz2 create mode 100644 DBD-mysql-4.016.tar.bz2 diff --git a/DBD-mysql-4.014.tar.bz2 b/DBD-mysql-4.014.tar.bz2 deleted file mode 100644 index 822c9c0..0000000 --- a/DBD-mysql-4.014.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:00698dfce13b9107eff7e9adc1a66187569a3f908b514c2ed0604dfe829601f2 -size 107378 diff --git a/DBD-mysql-4.016.tar.bz2 b/DBD-mysql-4.016.tar.bz2 new file mode 100644 index 0000000..9a23129 --- /dev/null +++ b/DBD-mysql-4.016.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:684b8edade5ddf037ca5aa73301c840c5901575c80e02be8e69501303474afd2 +size 108441 diff --git a/perl-DBD-mysql.changes b/perl-DBD-mysql.changes index 7d91d1f..953c8b9 100644 --- a/perl-DBD-mysql.changes +++ b/perl-DBD-mysql.changes @@ -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 (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 diff --git a/perl-DBD-mysql.spec b/perl-DBD-mysql.spec index 515684c..aeb873b 100644 --- a/perl-DBD-mysql.spec +++ b/perl-DBD-mysql.spec @@ -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