forked from pool/perl-SQL-Statement
Accepting request 43509 from home:computersalat:devel:perl
Copy from home:computersalat:devel:perl/perl-SQL-Statement via accept of submit request 43509 revision 2. Request was accepted with message: self accept OBS-URL: https://build.opensuse.org/request/show/43509 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SQL-Statement?expand=0&rev=13
This commit is contained in:
committed by
Git OBS Bridge
parent
cd337742a9
commit
29178d6296
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:92cde7a2ccd36205a9c948487d2ce1f21c90ba80c5aa1b68597b9ceae8c01f46
|
|
||||||
size 90221
|
|
||||||
3
SQL-Statement-1.28.tar.bz2
Normal file
3
SQL-Statement-1.28.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e15f390724ff9c29a64b5cb81e6189f94f63e392014350236d1785ec56dd7892
|
||||||
|
size 97242
|
||||||
@@ -1,3 +1,62 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 20 13:07:15 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
- update to 1.28
|
||||||
|
- [Improvements]
|
||||||
|
* Introduce new "capability" method for SQL::Statement and SQL::Eval::Table
|
||||||
|
+ Add capability for "insert_new_row" to allow DBD::DBM to fix PK
|
||||||
|
constrain on INSERT statements.
|
||||||
|
* Performance of IMPORT feature improved (thanks to Sven Probst, RT#57322)
|
||||||
|
- [Bug fixes]
|
||||||
|
* expect every table object being derived from SQL::Eval::Table
|
||||||
|
* rewrite DELETE and UPDATE command based on table capabilities
|
||||||
|
* add abstract methods for all methods derived classes must override
|
||||||
|
(this means, open_table for SQL::Statement deriveds must be overridden
|
||||||
|
and all data access methods of tables - see SQL::Eval::Table for details)
|
||||||
|
* Tests are fixed to use TEMP TABLES explicitely when required
|
||||||
|
* check for invalid column names fixed
|
||||||
|
* Don't let depreciated parser structures stay alive in SQL::Statement when
|
||||||
|
reusing the Parser
|
||||||
|
- [Documentation]
|
||||||
|
* Method documentation of SQL::Statement and SQL::Eval::Table are improved
|
||||||
|
* Add a Roadmap describing future plans for SQL::Statement (in addition to
|
||||||
|
DBD::File::Roadmap).
|
||||||
|
* POD spelling fixes provided by H.Merijn Brand and Pod::Spell::CommonMistakes
|
||||||
|
(thanks Tux)
|
||||||
|
* POD grammar fixes and reasonable sentences created by Martin Evans
|
||||||
|
- [Things that may break your code]
|
||||||
|
* SQL::Statement 1.28 is expected not to work proper in combination with
|
||||||
|
DBI 1.611 and below
|
||||||
|
* SQL::Statement::ColumnValue expects now every table being derived from
|
||||||
|
SQL::Eval::Table
|
||||||
|
- recreated by cpanspec 1.78
|
||||||
|
- added Authors
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 3 15:37:47 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
- update to 1.27
|
||||||
|
- [Bug fixes]
|
||||||
|
* use originally given table name for open_table() on SELECT, too
|
||||||
|
(all other command still use the originally given name)
|
||||||
|
* warn/die -> carp/croak
|
||||||
|
* fix delete_one_row & update_one_row ability using
|
||||||
|
- [Documentation]
|
||||||
|
* Apply spelling fix patch from Ansgar Burchardt (RT#56475)
|
||||||
|
- Version 1.26, release April 09th, 2010
|
||||||
|
- [Bug fixes]
|
||||||
|
* Handle NULL columns in concatenation as empty strings
|
||||||
|
- [Improvements]
|
||||||
|
* Change regex's in parser to use \p{Word} instead of \w to allow unicode
|
||||||
|
support
|
||||||
|
- [Documentation]
|
||||||
|
* Make clear, that identifiers are handled case insensetive and there is
|
||||||
|
a real good solution provided by DBI which allows to live great with
|
||||||
|
that behaviour.
|
||||||
|
- fix build Cycle DBD-CSV
|
||||||
|
* only needed for testsuite
|
||||||
|
- noarch package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun May 23 16:57:52 UTC 2010 - coolo@novell.com
|
Sun May 23 16:57:52 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-SQL-Statement (Version 1.25)
|
# spec file for package perl-SQL-Statement (Version 1.28)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@@ -17,17 +17,19 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
%bcond_with testsuite
|
||||||
|
|
||||||
Name: perl-SQL-Statement
|
Name: perl-SQL-Statement
|
||||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
%define cpan_name SQL-Statement
|
||||||
Summary: SQL parsing and processing engine
|
Summary: SQL parsing and processing engine
|
||||||
Version: 1.25
|
Version: 1.28
|
||||||
Release: 2
|
Release: 1
|
||||||
License: GPLv2+
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/SQL-Statement/
|
Url: http://search.cpan.org/dist/SQL-Statement/
|
||||||
#Source: http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/SQL-Statement-1.25.tar.gz
|
#Source: http://www.cpan.org/modules/by-module/SQL/SQL-Statement-%{version}.tar.gz
|
||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
@@ -37,60 +39,73 @@ BuildRequires: perl-macros
|
|||||||
BuildRequires: perl(Carp)
|
BuildRequires: perl(Carp)
|
||||||
BuildRequires: perl(Clone) >= 0.30
|
BuildRequires: perl(Clone) >= 0.30
|
||||||
BuildRequires: perl(Data::Dumper)
|
BuildRequires: perl(Data::Dumper)
|
||||||
BuildRequires: perl(DBD::File) >= 0.37
|
# means perl-DBI >= 1.612
|
||||||
|
BuildRequires: perl(DBD::File) >= 0.39
|
||||||
|
BuildRequires: perl(DBI::DBD::SqlEngine) >= 0.01
|
||||||
BuildRequires: perl(Params::Util) >= 1.00
|
BuildRequires: perl(Params::Util) >= 1.00
|
||||||
BuildRequires: perl(Scalar::Util) >= 1.0
|
BuildRequires: perl(Scalar::Util) >= 1.0
|
||||||
# for testsuite
|
# for testsuite
|
||||||
|
%if %{with testsuite}
|
||||||
BuildRequires: perl(Test::Pod) >= 1.00
|
BuildRequires: perl(Test::Pod) >= 1.00
|
||||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
|
||||||
BuildRequires: perl(DBD::CSV)
|
BuildRequires: perl(DBD::CSV)
|
||||||
|
%endif
|
||||||
#
|
#
|
||||||
Requires: perl = %{perl_version}
|
Requires: perl = %{perl_version}
|
||||||
Requires: perl(Carp)
|
Requires: perl(Carp)
|
||||||
Requires: perl(Clone) >= 0.30
|
Requires: perl(Clone) >= 0.30
|
||||||
Requires: perl(Data::Dumper)
|
Requires: perl(Data::Dumper)
|
||||||
Requires: perl(DBD::File) >= 0.37
|
# means perl-DBI >= 1.612
|
||||||
|
Requires: perl(DBD::File) >= 0.39
|
||||||
|
Requires: perl(DBI::DBD::SqlEngine) >= 0.01
|
||||||
Requires: perl(Params::Util) >= 1.00
|
Requires: perl(Params::Util) >= 1.00
|
||||||
Requires: perl(Scalar::Util) >= 1.0
|
Requires: perl(Scalar::Util) >= 1.0
|
||||||
#
|
#
|
||||||
Recommends: perl(DBD::CSV)
|
Recommends: perl(DBD::CSV)
|
||||||
# rpmlint: self-obsoletion p_sqlst obsoletes p_sqlst
|
|
||||||
#Provides: p_sqlst
|
|
||||||
#Obsoletes: p_sqlst
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The SQL::Statement module implements a pure Perl SQL parsing and execution
|
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
|
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
|
many features including column and table aliases, built-in and user-defined
|
||||||
functions, implicit and explicit joins, complexly nested search conditions,
|
functions, implicit and explicit joins, complex nested search conditions,
|
||||||
and other features.
|
and other features.
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Jochen Wiedmann (original module as an XS (C) extension in 1998)
|
||||||
|
Jeff Zucker (since 2001)
|
||||||
|
Jens Rehsack (since 2008) <rehsackATcpan.org>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
# rpmlint wrong-file-end-of-line-encoding
|
# rpmlint wrong-file-end-of-line-encoding
|
||||||
dos2unix README
|
dos2unix README
|
||||||
|
# rpmlint: spurious-executable-perm
|
||||||
|
%{__chmod} a-x Changes README
|
||||||
|
# rpmlint: script-without-shebang
|
||||||
|
find -name "*.pm" -exec %{__chmod} 0644 {} \;
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
chmod a-x Changes Todo
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
# do not perl_process_packlist (noarch)
|
||||||
|
# remove .packlist file
|
||||||
|
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
||||||
|
# remove perllocal.pod file
|
||||||
|
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
# fix file perm
|
|
||||||
find $RPM_BUILD_ROOT -name "*.pm" -exec chmod 644 {} \;
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__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 Todo
|
%doc Changes README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user