forked from pool/perl-SQL-Statement
Accepting request 36930 from devel:languages:perl
Copy from devel:languages:perl/perl-SQL-Statement based on submit request 36930 from user computersalat OBS-URL: https://build.opensuse.org/request/show/36930 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-SQL-Statement?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
6bfa3d6d9b
commit
f6c2c05b21
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e4f25ae272a09e747c857500ab526b771cc1071ac7bf173f57243fe7b879b371
|
|
||||||
size 104645
|
|
||||||
3
SQL-Statement-1.25.tar.bz2
Normal file
3
SQL-Statement-1.25.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:92cde7a2ccd36205a9c948487d2ce1f21c90ba80c5aa1b68597b9ceae8c01f46
|
||||||
|
size 90221
|
||||||
@@ -1,3 +1,51 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Apr 4 21:30:32 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
- update to 1.25
|
||||||
|
- [Bug fixes]
|
||||||
|
* Keep org_table_names with schema information to allow derived
|
||||||
|
table classes to handle as it seems reasonable there
|
||||||
|
* Separate columns with "\0" in multi-column aggregation to be
|
||||||
|
able to difference between ('1','1foo') and ('11','foo')
|
||||||
|
- [Misc]
|
||||||
|
* More resources added to META.yml
|
||||||
|
- Version 1.24, release March 15th, 2010
|
||||||
|
- [Misc]
|
||||||
|
* Ignore *.rej in MANIFEST.SKIP (fixes RT #52081 reported by
|
||||||
|
Lars Thegler)
|
||||||
|
- [Bug fixes]
|
||||||
|
* Add missing import of _INSTANCE in
|
||||||
|
SQL::Statement::Function::NumericEval
|
||||||
|
fixes RT #52356 - reported by Detlef Pilzecker)
|
||||||
|
* Fix wrongly discarded DISTINCT clause (RT#53186)
|
||||||
|
- [Improvements]
|
||||||
|
* Fix parsing errors of plain numbers (RT#16931)
|
||||||
|
* Fix parsing errors of nested calculation / functions
|
||||||
|
(RT#16931, RT#52356)
|
||||||
|
* Rewrite result calculation of aggregation functions
|
||||||
|
(simplify code, speed up)
|
||||||
|
* Upgrade Makefile.PL (patch from Alexandr Ciornii) to handle
|
||||||
|
different EU::MM versions and abilities properly
|
||||||
|
* Update documentation to show how 'column_defs' and
|
||||||
|
SQL::Statement::Term instances shall be used
|
||||||
|
* Introduce SQL::Dialect::Role providing ini-style data access
|
||||||
|
to SQL::Dialects (patch from Michael Schwern)
|
||||||
|
- [Things that may break your code]
|
||||||
|
* SQL::Parser now didn't deliver a struct containing
|
||||||
|
'column_names', 'computed_columns' and 'set_functions' - it's
|
||||||
|
combined into one member 'column_defs'.
|
||||||
|
* Minimum required perl version is now 5.8 - upcoming next
|
||||||
|
version of DBI requires perl 5.8, too - and I could simplify
|
||||||
|
some code that's why
|
||||||
|
- cleanup spec
|
||||||
|
o cpan_name
|
||||||
|
o sort TAGS
|
||||||
|
o modified deps
|
||||||
|
- added perl-macros
|
||||||
|
- added Test::Pod,.. DBD::CSV for testsuite
|
||||||
|
o removed self obsoletes/provides p_sqlst
|
||||||
|
o macros
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 9 16:41:27 UTC 2010 - coolo@novell.com
|
Tue Feb 9 16:41:27 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-SQL-Statement (Version 1.23)
|
# spec file for package perl-SQL-Statement (Version 1.25)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@@ -19,30 +19,45 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-SQL-Statement
|
Name: perl-SQL-Statement
|
||||||
|
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||||
Summary: SQL parsing and processing engine
|
Summary: SQL parsing and processing engine
|
||||||
Version: 1.23
|
Version: 1.25
|
||||||
Release: 1
|
Release: 1
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Source: http://www.cpan.org/authors/id/R/RE/REHSACK/SQL-Statement-%{version}.tar.gz
|
|
||||||
Url: http://search.cpan.org/dist/SQL-Statement/
|
Url: http://search.cpan.org/dist/SQL-Statement/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
#Source: http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/SQL-Statement-1.25.tar.gz
|
||||||
Provides: p_sqlst
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
Obsoletes: p_sqlst
|
|
||||||
Requires: perl = %{perl_version}
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: dos2unix
|
||||||
|
BuildRequires: perl
|
||||||
|
%if 0%{?suse_version} < 1120
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
%endif
|
||||||
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
|
BuildRequires: perl(DBD::File) >= 0.37
|
||||||
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
|
||||||
|
BuildRequires: perl(Test::Pod) >= 1.00
|
||||||
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
|
||||||
|
BuildRequires: perl(DBD::CSV)
|
||||||
|
#
|
||||||
|
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
|
Requires: perl(DBD::File) >= 0.37
|
||||||
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)
|
||||||
|
# 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
|
||||||
@@ -52,23 +67,28 @@ functions, implicit and explicit joins, complexly nested search conditions,
|
|||||||
and other features.
|
and other features.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n SQL-Statement-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
# rpmlint wrong-file-end-of-line-encoding
|
||||||
|
dos2unix README
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||||
make %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
chmod a-x Changes Todo
|
chmod a-x Changes Todo
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%check
|
# fix file perm
|
||||||
make test
|
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,-)
|
||||||
|
|||||||
Reference in New Issue
Block a user