2007-01-15 23:31:46 +00:00
|
|
|
#
|
- updated to 1.405
[Bug fixes]
* INSERT now expands incomplete rows (Thanks to H.Merijn Brand)
Version 1.404, released May 23, 2013
-------------------------------------------------
[Bug fixes]
* re-enable cleanup test_output* after test done
* recommend Text::Soundex and do soundex-test only when have it,
because it's going to be removed from core for Perl 5.19 (thank Merijn)
Version 1.403, released May 22, 2013
-------------------------------------------------
[Bug fixes]
* fix documentation (rt#84889 - thanks Xavier Guimard and Florian,
rt#85257 - thanks Andreas Koenig)
Version 1.402, released December 19, 2012
-------------------------------------------------
[Misc]
* add Math::Complex 1.56 as recommendation (RT#81926, Sam Ferencik)
* add Math::BigInt 1.88 as recommendation (RT#81927, Sam Ferencik)
* clarify Test::Simple 1.90 is required for building (RT#81925, Sam Ferencik)
[Bug fixes]
* fix leaking reference to open tables outside SQL::Statement::execute
(fixes RT#81523)
* looks_like_number identifies 'nan' as number sometimes (add regex to
t/06virtual.t)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SQL-Statement?expand=0&rev=24
2013-06-18 09:43:31 +00:00
|
|
|
# spec file for package perl-SQL-Statement
|
2007-01-15 23:31:46 +00:00
|
|
|
#
|
2020-10-22 08:24:47 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2007-01-15 23:31:46 +00:00
|
|
|
#
|
2009-06-17 22:15:59 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2020-10-22 08:24:47 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:31:46 +00:00
|
|
|
#
|
|
|
|
|
- updated to 1.405
[Bug fixes]
* INSERT now expands incomplete rows (Thanks to H.Merijn Brand)
Version 1.404, released May 23, 2013
-------------------------------------------------
[Bug fixes]
* re-enable cleanup test_output* after test done
* recommend Text::Soundex and do soundex-test only when have it,
because it's going to be removed from core for Perl 5.19 (thank Merijn)
Version 1.403, released May 22, 2013
-------------------------------------------------
[Bug fixes]
* fix documentation (rt#84889 - thanks Xavier Guimard and Florian,
rt#85257 - thanks Andreas Koenig)
Version 1.402, released December 19, 2012
-------------------------------------------------
[Misc]
* add Math::Complex 1.56 as recommendation (RT#81926, Sam Ferencik)
* add Math::BigInt 1.88 as recommendation (RT#81927, Sam Ferencik)
* clarify Test::Simple 1.90 is required for building (RT#81925, Sam Ferencik)
[Bug fixes]
* fix leaking reference to open tables outside SQL::Statement::execute
(fixes RT#81523)
* looks_like_number identifies 'nan' as number sometimes (add regex to
t/06virtual.t)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SQL-Statement?expand=0&rev=24
2013-06-18 09:43:31 +00:00
|
|
|
|
2007-01-15 23:31:46 +00:00
|
|
|
Name: perl-SQL-Statement
|
2020-10-22 08:24:47 +00:00
|
|
|
Version: 1.414
|
- updated to 1.405
[Bug fixes]
* INSERT now expands incomplete rows (Thanks to H.Merijn Brand)
Version 1.404, released May 23, 2013
-------------------------------------------------
[Bug fixes]
* re-enable cleanup test_output* after test done
* recommend Text::Soundex and do soundex-test only when have it,
because it's going to be removed from core for Perl 5.19 (thank Merijn)
Version 1.403, released May 22, 2013
-------------------------------------------------
[Bug fixes]
* fix documentation (rt#84889 - thanks Xavier Guimard and Florian,
rt#85257 - thanks Andreas Koenig)
Version 1.402, released December 19, 2012
-------------------------------------------------
[Misc]
* add Math::Complex 1.56 as recommendation (RT#81926, Sam Ferencik)
* add Math::BigInt 1.88 as recommendation (RT#81927, Sam Ferencik)
* clarify Test::Simple 1.90 is required for building (RT#81925, Sam Ferencik)
[Bug fixes]
* fix leaking reference to open tables outside SQL::Statement::execute
(fixes RT#81523)
* looks_like_number identifies 'nan' as number sometimes (add regex to
t/06virtual.t)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SQL-Statement?expand=0&rev=24
2013-06-18 09:43:31 +00:00
|
|
|
Release: 0
|
2011-03-31 12:12:37 +00:00
|
|
|
%define cpan_name SQL-Statement
|
|
|
|
Summary: SQL parsing and processing engine
|
2020-10-22 08:24:47 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2011-03-31 12:12:37 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2020-10-22 08:24:47 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2017-04-08 06:12:48 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/%{cpan_name}-%{version}.tar.gz
|
2015-10-10 11:06:20 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:17:12 +02:00
|
|
|
Source100: README.md
|
2010-07-20 13:21:43 +00:00
|
|
|
BuildArch: noarch
|
2010-04-05 16:48:56 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: perl
|
2010-12-03 14:50:25 +00:00
|
|
|
BuildRequires: perl-macros
|
2010-02-10 23:53:09 +00:00
|
|
|
BuildRequires: perl(Clone) >= 0.30
|
2015-10-10 11:06:20 +00:00
|
|
|
BuildRequires: perl(Math::Base::Convert)
|
- updated to 1.405
[Bug fixes]
* INSERT now expands incomplete rows (Thanks to H.Merijn Brand)
Version 1.404, released May 23, 2013
-------------------------------------------------
[Bug fixes]
* re-enable cleanup test_output* after test done
* recommend Text::Soundex and do soundex-test only when have it,
because it's going to be removed from core for Perl 5.19 (thank Merijn)
Version 1.403, released May 22, 2013
-------------------------------------------------
[Bug fixes]
* fix documentation (rt#84889 - thanks Xavier Guimard and Florian,
rt#85257 - thanks Andreas Koenig)
Version 1.402, released December 19, 2012
-------------------------------------------------
[Misc]
* add Math::Complex 1.56 as recommendation (RT#81926, Sam Ferencik)
* add Math::BigInt 1.88 as recommendation (RT#81927, Sam Ferencik)
* clarify Test::Simple 1.90 is required for building (RT#81925, Sam Ferencik)
[Bug fixes]
* fix leaking reference to open tables outside SQL::Statement::execute
(fixes RT#81523)
* looks_like_number identifies 'nan' as number sometimes (add regex to
t/06virtual.t)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SQL-Statement?expand=0&rev=24
2013-06-18 09:43:31 +00:00
|
|
|
BuildRequires: perl(Math::Complex) >= 1.56
|
2015-10-10 11:06:20 +00:00
|
|
|
BuildRequires: perl(Module::Runtime)
|
2010-02-10 23:53:09 +00:00
|
|
|
BuildRequires: perl(Params::Util) >= 1.00
|
2015-10-10 11:06:20 +00:00
|
|
|
BuildRequires: perl(Test::Deep)
|
|
|
|
BuildRequires: perl(Test::More) >= 0.90
|
|
|
|
BuildRequires: perl(Text::Soundex) >= 3.04
|
2010-02-10 23:53:09 +00:00
|
|
|
Requires: perl(Clone) >= 0.30
|
2015-10-10 11:06:20 +00:00
|
|
|
Requires: perl(Module::Runtime)
|
2010-02-10 23:53:09 +00:00
|
|
|
Requires: perl(Params::Util) >= 1.00
|
2015-10-10 11:06:20 +00:00
|
|
|
Recommends: perl(Math::Base::Convert)
|
- updated to 1.405
[Bug fixes]
* INSERT now expands incomplete rows (Thanks to H.Merijn Brand)
Version 1.404, released May 23, 2013
-------------------------------------------------
[Bug fixes]
* re-enable cleanup test_output* after test done
* recommend Text::Soundex and do soundex-test only when have it,
because it's going to be removed from core for Perl 5.19 (thank Merijn)
Version 1.403, released May 22, 2013
-------------------------------------------------
[Bug fixes]
* fix documentation (rt#84889 - thanks Xavier Guimard and Florian,
rt#85257 - thanks Andreas Koenig)
Version 1.402, released December 19, 2012
-------------------------------------------------
[Misc]
* add Math::Complex 1.56 as recommendation (RT#81926, Sam Ferencik)
* add Math::BigInt 1.88 as recommendation (RT#81927, Sam Ferencik)
* clarify Test::Simple 1.90 is required for building (RT#81925, Sam Ferencik)
[Bug fixes]
* fix leaking reference to open tables outside SQL::Statement::execute
(fixes RT#81523)
* looks_like_number identifies 'nan' as number sometimes (add regex to
t/06virtual.t)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SQL-Statement?expand=0&rev=24
2013-06-18 09:43:31 +00:00
|
|
|
Recommends: perl(Math::Complex) >= 1.56
|
2015-10-10 11:06:20 +00:00
|
|
|
Recommends: perl(Text::Soundex) >= 3.04
|
2011-03-31 12:12:37 +00:00
|
|
|
%{perl_requires}
|
2007-01-15 23:31:46 +00:00
|
|
|
|
|
|
|
%description
|
2010-02-10 23:53:09 +00:00
|
|
|
The SQL::Statement module implements a pure Perl SQL parsing and execution
|
|
|
|
engine. While it by no means implements full ANSI standard, it does support
|
|
|
|
many features including column and table aliases, built-in and user-defined
|
2010-07-20 18:49:10 +00:00
|
|
|
functions, implicit and explicit joins, complex nested search conditions,
|
2010-02-10 23:53:09 +00:00
|
|
|
and other features.
|
2007-01-15 23:31:46 +00:00
|
|
|
|
2011-03-31 12:12:37 +00:00
|
|
|
SQL::Statement is a small embeddable Database Management System (DBMS).
|
|
|
|
This means that it provides all of the services of a simple DBMS except
|
|
|
|
that instead of a persistent storage mechanism, it has two things: 1) an
|
|
|
|
in-memory storage mechanism that allows you to prepare, execute, and fetch
|
|
|
|
from SQL statements using temporary tables and 2) a set of software sockets
|
|
|
|
where any author can plug in any storage mechanism.
|
|
|
|
|
|
|
|
There are three main uses for SQL::Statement. One or another (hopefully not
|
|
|
|
all) may be irrelevant for your needs: 1) to access and manipulate data in
|
|
|
|
CSV, XML, and other formats 2) to build your own DBD for a new data source
|
|
|
|
3) to parse and examine the structure of SQL statements.
|
2010-07-20 18:49:10 +00:00
|
|
|
|
2007-01-15 23:31:46 +00:00
|
|
|
%prep
|
2010-04-05 16:48:56 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2020-10-22 08:24:47 +00:00
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
2007-01-15 23:31:46 +00:00
|
|
|
|
|
|
|
%build
|
2020-10-22 08:24:47 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
2007-01-15 23:31:46 +00:00
|
|
|
|
2010-04-05 16:48:56 +00:00
|
|
|
%check
|
2020-10-22 08:24:47 +00:00
|
|
|
make test
|
2010-04-05 16:48:56 +00:00
|
|
|
|
2007-01-15 23:31:46 +00:00
|
|
|
%install
|
2010-02-10 23:53:09 +00:00
|
|
|
%perl_make_install
|
2011-03-31 12:12:37 +00:00
|
|
|
%perl_process_packlist
|
2010-02-10 23:53:09 +00:00
|
|
|
%perl_gen_filelist
|
|
|
|
|
2010-07-20 18:49:10 +00:00
|
|
|
%files -f %{name}.files
|
- updated to 1.405
[Bug fixes]
* INSERT now expands incomplete rows (Thanks to H.Merijn Brand)
Version 1.404, released May 23, 2013
-------------------------------------------------
[Bug fixes]
* re-enable cleanup test_output* after test done
* recommend Text::Soundex and do soundex-test only when have it,
because it's going to be removed from core for Perl 5.19 (thank Merijn)
Version 1.403, released May 22, 2013
-------------------------------------------------
[Bug fixes]
* fix documentation (rt#84889 - thanks Xavier Guimard and Florian,
rt#85257 - thanks Andreas Koenig)
Version 1.402, released December 19, 2012
-------------------------------------------------
[Misc]
* add Math::Complex 1.56 as recommendation (RT#81926, Sam Ferencik)
* add Math::BigInt 1.88 as recommendation (RT#81927, Sam Ferencik)
* clarify Test::Simple 1.90 is required for building (RT#81925, Sam Ferencik)
[Bug fixes]
* fix leaking reference to open tables outside SQL::Statement::execute
(fixes RT#81523)
* looks_like_number identifies 'nan' as number sometimes (add regex to
t/06virtual.t)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SQL-Statement?expand=0&rev=24
2013-06-18 09:43:31 +00:00
|
|
|
%defattr(-,root,root,755)
|
2017-04-08 06:12:48 +00:00
|
|
|
%doc Changes GPL-1 GPL-2.0 README README.md
|
|
|
|
%license ARTISTIC-1.0 LICENSE
|
2007-01-15 23:31:46 +00:00
|
|
|
|
2009-06-17 22:15:59 +00:00
|
|
|
%changelog
|