Accepting request 297345 from devel:languages:perl:autoupdate
- updated to 0.36 see /usr/share/doc/packages/perl-DBD-SQLite2/Changes - remove obsolete patches perl-DBD-SQLite2-no-return-in-nonvoid-function.patch perl-DBD-SQLite2-fetchrow.patch OBS-URL: https://build.opensuse.org/request/show/297345 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-SQLite2?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
0c97f8482a
commit
07b46d6fb4
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a2b493916adc76bd152916c0d9a28ef41cd251e5ba88b43ce3e9a5789b44e6b4
|
|
||||||
size 363277
|
|
3
DBD-SQLite2-0.36.tar.gz
Normal file
3
DBD-SQLite2-0.36.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1715f8e6dfd6e1fe34ae5c8d8b15e3d856b29e5416d6b02d5575ff55f4411e60
|
||||||
|
size 371022
|
20
cpanspec.yml
Normal file
20
cpanspec.yml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
#preamble: |-
|
||||||
|
# BuildRequires: gcc-c++
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
#license: SUSE-NonFree
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: -
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
@@ -1,19 +0,0 @@
|
|||||||
Author: Niko Tyni <ntyni@iki.fi>
|
|
||||||
Description: Fix segfault when fetchrow() is called again after it has
|
|
||||||
returned an empty list once. (#317453)
|
|
||||||
If there is a reason upstream has commented out the check
|
|
||||||
for an active handle, he's not telling it. (CPAN #16451)
|
|
||||||
--- a/dbdimp.c
|
|
||||||
+++ b/dbdimp.c
|
|
||||||
@@ -473,11 +473,9 @@ sqlite2_st_fetch (SV *sth, imp_sth_t *im
|
|
||||||
/* warn("current_entry == %d\nnumFields == %d\nnrow == %d",
|
|
||||||
current_entry, numFields, imp_sth->nrow); */
|
|
||||||
|
|
||||||
- /*
|
|
||||||
if (!DBIc_ACTIVE(imp_sth)) {
|
|
||||||
return Nullav;
|
|
||||||
}
|
|
||||||
- */
|
|
||||||
|
|
||||||
if ((imp_sth->retval == SQLITE_DONE) || (imp_sth->retval == SQLITE_ERROR)) {
|
|
||||||
sqlite2_st_finish(sth, imp_sth);
|
|
@@ -1,12 +0,0 @@
|
|||||||
Index: DBD-SQLite2-0.33/dbdimp.c
|
|
||||||
===================================================================
|
|
||||||
--- DBD-SQLite2-0.33.orig/dbdimp.c
|
|
||||||
+++ DBD-SQLite2-0.33/dbdimp.c
|
|
||||||
@@ -459,6 +459,7 @@ sqlite2_bind_ph (SV *sth, imp_sth_t *imp
|
|
||||||
else {
|
|
||||||
av_store(imp_sth->params, SvIV(param) - 1, SvREFCNT_inc(value));
|
|
||||||
}
|
|
||||||
+ return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
AV *
|
|
@@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 16 19:40:28 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.36
|
||||||
|
see /usr/share/doc/packages/perl-DBD-SQLite2/Changes
|
||||||
|
- remove obsolete patches
|
||||||
|
perl-DBD-SQLite2-no-return-in-nonvoid-function.patch
|
||||||
|
perl-DBD-SQLite2-fetchrow.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 7 17:51:46 UTC 2012 - lars@linux-schulserver.de
|
Thu Jun 7 17:51:46 UTC 2012 - lars@linux-schulserver.de
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-DBD-SQLite2
|
# spec file for package perl-DBD-SQLite2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,49 +17,48 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-DBD-SQLite2
|
Name: perl-DBD-SQLite2
|
||||||
Version: 0.33
|
Version: 0.36
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name DBD-SQLite2
|
%define cpan_name DBD-SQLite2
|
||||||
Summary: Self Contained RDBMS in a DBI Driver (sqlite 2.x)
|
Summary: Self Contained RDBMS in a DBI Driver (sqlite 2.x)
|
||||||
License: GPL-1.0+ or Artistic-1.0
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/DBD-SQLite2/
|
Url: http://search.cpan.org/dist/DBD-SQLite2/
|
||||||
#Source: http://www.cpan.org/authors/id/M/MS/MSERGEANT/DBD-SQLite2-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/R/RU/RURBAN/%{cpan_name}-%{version}.tar.gz
|
||||||
Source: %{cpan_name}-%{version}.tar.gz
|
Source1: cpanspec.yml
|
||||||
Patch0: %{name}-fetchrow.patch
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Patch1: %{name}-no-return-in-nonvoid-function.patch
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: sqlite2-devel
|
BuildRequires: perl(DBI) >= 1.625
|
||||||
BuildRequires: perl(DBI) >= 1.21
|
Requires: perl(DBI) >= 1.625
|
||||||
BuildRequires: perl(Test::More)
|
Recommends: perl(DBD::SQLite) >= 1.37
|
||||||
Requires: perl(DBI) >= 1.21
|
Recommends: perl(DBI) >= 1.625
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
SQLite is a public domain RDBMS database engine that you can find at
|
SQLite is a public domain RDBMS database engine that you can find at
|
||||||
http://www.hwaci.com/sw/sqlite/.
|
http://www.sqlite.org/.
|
||||||
|
|
||||||
Rather than ask you to install SQLite first, because SQLite is public
|
Rather than ask you to install SQLite first, because SQLite is public
|
||||||
domain, DBD::SQLite2 includes the entire thing in the distribution. So in
|
domain, DBD::SQLite2 includes the entire thing in the distribution. So in
|
||||||
order to get a fast transaction capable RDBMS working for your perl project
|
order to get a fast transaction capable RDBMS working for your perl project
|
||||||
you simply have to install this module, and *nothing* else.
|
you simply have to install this module, and *nothing* else.
|
||||||
|
|
||||||
SQLite supports the following features:
|
For real work please use the updated the DBD::SQLite manpage driver with
|
||||||
|
the up-to-date sqlite3 backend. SQLite2 supports the following features:
|
||||||
|
|
||||||
* Implements a large subset of SQL92
|
* Implements a large subset of SQL92
|
||||||
|
|
||||||
See http://www.hwaci.com/sw/sqlite/lang.html for details.
|
See http://www.sqlite.org/lang.html for details.
|
||||||
|
|
||||||
* A complete DB in a single disk file
|
* A complete DB in a single disk file
|
||||||
|
|
||||||
Everything for your database is stored in a single disk file, making it
|
Everything for your database is stored in a single disk file, making it
|
||||||
easier to move things around than with DBD::CSV.
|
easier to move things around than with the DBD::CSV manpage.
|
||||||
|
|
||||||
* Atomic commit and rollback
|
* Atomic commit and rollback
|
||||||
|
|
||||||
Yes, DBD::SQLite2 is small and light, but it supports full transactions!
|
Yes, DBD::SQLite2 is small and light, but it supports full transactions
|
||||||
|
|
||||||
* Extensible
|
* Extensible
|
||||||
|
|
||||||
@@ -72,8 +71,6 @@ details on how to use DBI itself.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%patch0 -p1
|
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
@@ -87,11 +84,8 @@ details on how to use DBI itself.
|
|||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(644,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user