Accepting request 41005 from home:computersalat:devel:perl

Copy from home:computersalat:devel:perl/perl-DBI via accept of submit request 41005 revision 3.
Request was accepted with message:
self accept

OBS-URL: https://build.opensuse.org/request/show/41005
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=10
This commit is contained in:
Christian Wittmer 2010-06-02 14:50:02 +00:00 committed by Git OBS Bridge
parent 5a576712e3
commit 58b7fc607d
5 changed files with 61 additions and 19 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:41d460d85b6fdcde3c0a63e68845625ab3ddd767a26355a5f5d5fbaf8b68d43c oid sha256:2395e7142117eb8d7e852277f1ecefa99a550e73caa101ef109fd93943d2761f
size 414346 size 414527

3
DBI-1.611.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:25d0905a7227b565818a3dd122f20cef093a570b60de526077d0510dcccf085c
size 430922

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Wed Jun 2 14:25:00 UTC 2010 - chris@computersalat.de
- update to 1.611
* Fixed selectcol_arrayref MaxRows attribute to count rows not values
thanks to Vernon Lyon.
* Fixed DBI->trace(0, *STDERR); (H.Merijn Brand)
which tried to open a file named "*main::STDERR" in perl-5.10.x
* Fixes in DBD::DBM for use under threads (Jens Rehsack)
* Changed "Issuing rollback() due to DESTROY without explicit disconnect"
warning to not be issued if ReadOnly set for that dbh.
* Added f_lock and f_encoding support to DBD::File (H.Merijn Brand)
* Added ChildCallbacks => { ... } to Callbacks as a way to
specify Callbacks for child handles.
With tests added by David E. Wheeler.
* Added DBI::sql_type_cast($value, $type, $flags) to cast a string value
to an SQL type. e.g. SQL_INTEGER effectively does $value += 0;
Has other options plus an internal interface for drivers.
- recreated spec by cpanspec 1.78
- stay on 1.609 for suse_version < 1120
* cause 1.611 requires Test::Simple >= 0.84
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de

1
perl-DBI.rpmlintrc Normal file
View File

@ -0,0 +1 @@
addFilter("devel-file-in-non-devel-package")

View File

@ -1,5 +1,5 @@
# #
# spec file for package perl-DBI (Version 1.609) # spec file for package perl-DBI (Version 1.611)
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -17,39 +17,55 @@
# norootforbuild # norootforbuild
Name: perl-DBI Name: perl-DBI
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) %define cpan_name DBI
Summary: The Perl Database Interface Summary: Database independent interface for Perl
%if 0%{suse_version} > 1110
Version: 1.611
%else
Version: 1.609 Version: 1.609
Release: 3 %endif
AutoReqProv: on Release: 1
License: GPLv2+ License: GPLv2+
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://cpan.org/modules/by-module/DBI/ Url: http://search.cpan.org/dist/DBI/
#Source: http://www.cpan.org/modules/by-module/DBI/DBI-1.611.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2 Source: %{cpan_name}-%{version}.tar.bz2
Source1: %{name}.rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros BuildRequires: perl-macros
%endif
%if 0%{suse_version} > 1110
BuildRequires: perl(Test::Simple) >= 0.84
%else
BuildRequires: perl(Test::Simple) >= 0.40 BuildRequires: perl(Test::Simple) >= 0.40
%endif
BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 1.04 BuildRequires: perl(Test::Pod::Coverage) >= 1.04
BuildRequires: perl(Storable) >= 1 BuildRequires: perl(Storable) >= 1
BuildRequires: perl(File::Spec) BuildRequires: perl(File::Spec)
BuildRequires: perl(Scalar::Util) BuildRequires: perl(Scalar::Util)
#BuildRequires: perl(Curses)
Requires: perl = %{perl_version} Requires: perl = %{perl_version}
Requires: perl(Storable) >= 1 Requires: perl(Storable) >= 1
Requires: perl(File::Spec) Requires: perl(File::Spec)
Requires: perl(Scalar::Util) Requires: perl(Scalar::Util)
Requires: perl-PlRPC Requires: perl-PlRPC
Obsoletes: perl_dbi # dont think it is needed any more
Provides: perl_dbi DBI DBDI #Obsoletes: perl_dbi
#Provides: perl_dbi DBI DBDI
%description %description
The Perl Database Interface by Tim Bunce. The DBI is a database access module for the Perl programming language.
It defines a set of methods, variables, and conventions that provide a
consistent database interface, independent of the actual database
being used.
Authors:
Authors:
--------
Tim Bunce <Tim.Bunce@pobox.com> Tim Bunce <Tim.Bunce@pobox.com>
<dbi-users@isc.org> <dbi-users@isc.org>
@ -58,7 +74,7 @@ The Perl Database Interface by Tim Bunce.
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%{__make} %{?_smp_mflags} %{__make} %{?_smp_mflags}
%check %check
@ -73,7 +89,7 @@ perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%{__rm} -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root) %defattr(-,root,root,-)
%doc Changes README %doc Changes Driver.xst README TODO_2005.txt TODO_gofer.txt ex
%changelog %changelog