From f645662ad36fdeef56e1c49643c275dbc837ea0e8627c35c4dd6589f21ca1a28 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 19 Sep 2014 12:31:16 +0000 Subject: [PATCH] update OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-SQLite?expand=0&rev=41 --- DBD-SQLite-1.40.tar.gz | 3 -- DBD-SQLite-1.42.tar.gz | 3 ++ perl-DBD-SQLite.changes | 55 ++++++++++++++++++++++++ perl-DBD-SQLite.spec | 94 ++++++++++++++++++++--------------------- 4 files changed, 104 insertions(+), 51 deletions(-) delete mode 100644 DBD-SQLite-1.40.tar.gz create mode 100644 DBD-SQLite-1.42.tar.gz diff --git a/DBD-SQLite-1.40.tar.gz b/DBD-SQLite-1.40.tar.gz deleted file mode 100644 index 13790e7..0000000 --- a/DBD-SQLite-1.40.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:21fb65e740b6265512c82232b4ad8f75c19ac84c216830112656274eb8e375fb -size 1571899 diff --git a/DBD-SQLite-1.42.tar.gz b/DBD-SQLite-1.42.tar.gz new file mode 100644 index 0000000..0b03726 --- /dev/null +++ b/DBD-SQLite-1.42.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab3b653c1ab4dd316f06be40b49ccc612e9670c40b34654353e837c4b464a993 +size 1629815 diff --git a/perl-DBD-SQLite.changes b/perl-DBD-SQLite.changes index 72da239..923ebc8 100644 --- a/perl-DBD-SQLite.changes +++ b/perl-DBD-SQLite.changes @@ -1,3 +1,58 @@ +------------------------------------------------------------------- +Fri Sep 19 12:15:51 UTC 2014 - coolo@suse.com + +- updated to 1.42 + - Switched to a production version. (ISHIGAKI) + + 1.41_07 2014-03-13 + - Updated to SQLite 3.8.4.1, which fixed several obscure bugs on + "ORDER BY" or "DISTINCT". (ISHIGAKI) + + 1.41_06 2014-02-12 + - Updated to SQLite 3.8.3.1, which fixed a SQLite bug in 3.8.2 + (bundled in DBD::SQLite 1.41_04/5) that could cause queries to + omit valid out rows. (ISHIGAKI) + + 1.41_05 2014-01-22 + - Resolved #92322: Failure under heavily parallelized tests + (ISHIGAKI) + - Disabled Test::NoWarnings in a test + + 1.41_04 2014-01-12 + - Updated to SQLite 3.8.2 (ISHIGAKI) + - Resolved #90211: Error in documentation (Felix Li) + - Resolved #89351: DBD-SQLite won't compile on Cygwin 64 bit + (Warren Young++) (ISHIGAKI) + - Tweaked sqlite_see_if_its_a_number not to guess data types of + bind values with explicit type specification (via bind_param() + etc) (mje++, ilmari++) (ISHIGAKI) + + 1.41_03 2013-09-05 + - Updated to SQLite 3.8.0.2 (ISHIGAKI) + + 1.41_02 2013-08-30 + - Updated to SQLite 3.8.0.1 to resolve #88228 (RIBASUSHI++) + (ISHIGAKI) + + 1.41_01 2013-08-27 + *** NOTICE ON NEXT GENERATION QUERY PLANNER *** + - As of SQLite 3.8.0, SQLite's query planner has been rewritten. + According to the author, the new query planner should give + exactly the same result (though perhaps with a little less CPU + time spent planning) for simple queries, and for complex + queries, it can in many cases provide a much faster answer. + See http://www.sqlite.org/queryplanner-ng.html for details. + + *** NOTICE ON PARTIAL INDICES *** + - Database files created by SQLite 3.8.0 are still readable and + writable by prior versions, but if you use partial indices + introduced in SQLite 3.8.0, those files become unreadable and + unwritable by older versions of (DBD::)SQLite. They'll be + readable/writable again by dropping partial indices. + + - Resolved #87435: PATCH: statistics_info perldoc (DDICK) + - Resolved #87297: URI filenames in DBD::SQLite (ISHIGAKI) + ------------------------------------------------------------------- Sun Jul 28 20:18:35 UTC 2013 - coolo@suse.com diff --git a/perl-DBD-SQLite.spec b/perl-DBD-SQLite.spec index 61d2163..af84a3b 100644 --- a/perl-DBD-SQLite.spec +++ b/perl-DBD-SQLite.spec @@ -1,7 +1,7 @@ # # spec file for package perl-DBD-SQLite # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,50 +17,64 @@ Name: perl-DBD-SQLite +Version: 1.42 +Release: 0 %define cpan_name DBD-SQLite Summary: Self-contained RDBMS in a DBI Driver -License: GPL-1.0+ or Artistic-1.0 +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -Version: 1.40 -Release: 0 Url: http://search.cpan.org/dist/DBD-SQLite/ Source: http://www.cpan.org/authors/id/I/IS/ISHIGAKI/%{cpan_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(DBI) >= 1.57 -BuildRequires: perl(File::Spec) >= 0.82 -BuildRequires: perl(Test::More) >= 0.47 -BuildRequires: perl(Tie::Hash) +BuildRequires: perl(Test::Builder) >= 0.86 Requires: perl(DBI) >= 1.57 -Requires: perl(Tie::Hash) - -%description -SQLite is a small fast embedded SQL database engine. - -DBD::SQLite embeds that database engine into a DBD driver, so -if you want a relational database for your project, but don`t -want to install a large RDBMS system like MySQL or PostgreSQL, -then DBD::SQLite may be just what you need. - -It supports quite a lot of features, such as transactions (atomic -commit and rollback), indexes, DBA-free operation, a large subset -of SQL92 supported, and more. - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries/Perl +Requires: perl(Test::Builder) >= 0.86 %{perl_requires} -%description devel -This package contains sqlite3.c / sqlite3.h files for development. +%description +SQLite is a public domain file-based relational database engine that you +can find at the http://www.sqlite.org/ manpage. + +*DBD::SQLite* is a Perl DBI driver for SQLite, that includes the entire +thing in the distribution. So in order to get a fast transaction capable +RDBMS working for your perl project you simply have to install this module, +and *nothing* else. + +SQLite supports the following features: + +* Implements a large subset of SQL92 + + See the http://www.sqlite.org/lang.html manpage for details. + +* A complete DB in a single disk file + + Everything for your database is stored in a single disk file, making it + easier to move things around than with the DBD::CSV manpage. + +* Atomic commit and rollback + + Yes, *DBD::SQLite* is small and light, but it supports full transactions! + +* Extensible + + User-defined aggregate or regular functions can be registered with the + SQL parser. + +There's lots more to it, so please refer to the docs on the SQLite web +page, listed above, for SQL details. Also refer to the DBI manpage for +details on how to use DBI itself. The API works like every DBI module does. +However, currently many statement attributes are not implemented or are +limited by the typeless nature of the SQLite database. %prep %setup -q -n %{cpan_name}-%{version} +find . -type f -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %{__make} %{?_smp_mflags} %check @@ -69,26 +83,10 @@ This package contains sqlite3.c / sqlite3.h files for development. %install %perl_make_install %perl_process_packlist +%perl_gen_filelist -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} - -%files -%defattr(-,root,root,-) -%doc Changes LICENSE README -%dir %{perl_vendorarch}/DBD -%{perl_vendorarch}/DBD/SQLite.pm -%dir %{perl_vendorarch}/DBD/SQLite -%doc %{perl_vendorarch}/DBD/SQLite/Cookbook.pod -%dir %{perl_vendorarch}/auto/DBD -%{perl_vendorarch}/auto/DBD/SQLite -%doc %{perl_man3dir}/DBD::SQLite.%{perl_man3ext}%{ext_man} -%doc %{perl_man3dir}/DBD::SQLite::*.%{perl_man3ext}%{ext_man} - -%files devel -%defattr(-,root,root) -%dir %{perl_vendorarch}/auto/share -%dir %{perl_vendorarch}/auto/share/dist -%{perl_vendorarch}/auto/share/dist/DBD-SQLite +%files -f %{name}.files +%defattr(-,root,root,755) +%doc Changes LICENSE README util %changelog