From 05db9d0734576a03dc7e7ad8e7e932a9ce0856a1587bc8d9e6e5b056e4df607d Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Tue, 20 Jul 2010 18:49:09 +0000 Subject: [PATCH] Accepting request 43510 from devel:languages:perl checked in (request 43510) OBS-URL: https://build.opensuse.org/request/show/43510 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SQL-Statement?expand=0&rev=14 --- SQL-Statement-1.27.tar.bz2 | 3 +++ SQL-Statement-1.28.tar.bz2 | 3 --- perl-SQL-Statement.changes | 34 ------------------------------ perl-SQL-Statement.spec | 43 +++++++++++++++++--------------------- 4 files changed, 22 insertions(+), 61 deletions(-) create mode 100644 SQL-Statement-1.27.tar.bz2 delete mode 100644 SQL-Statement-1.28.tar.bz2 diff --git a/SQL-Statement-1.27.tar.bz2 b/SQL-Statement-1.27.tar.bz2 new file mode 100644 index 0000000..4326692 --- /dev/null +++ b/SQL-Statement-1.27.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27d53891523bcdbb5a2c642742ff3a8e6326a5d36db472e3b2dfa4ff902ccc2f +size 91096 diff --git a/SQL-Statement-1.28.tar.bz2 b/SQL-Statement-1.28.tar.bz2 deleted file mode 100644 index a8aa6d5..0000000 --- a/SQL-Statement-1.28.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e15f390724ff9c29a64b5cb81e6189f94f63e392014350236d1785ec56dd7892 -size 97242 diff --git a/perl-SQL-Statement.changes b/perl-SQL-Statement.changes index f3d1efb..b6d728f 100644 --- a/perl-SQL-Statement.changes +++ b/perl-SQL-Statement.changes @@ -1,37 +1,3 @@ -------------------------------------------------------------------- -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 diff --git a/perl-SQL-Statement.spec b/perl-SQL-Statement.spec index a426f90..7b96c84 100644 --- a/perl-SQL-Statement.spec +++ b/perl-SQL-Statement.spec @@ -1,5 +1,5 @@ # -# spec file for package perl-SQL-Statement (Version 1.28) +# spec file for package perl-SQL-Statement (Version 1.27) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -22,12 +22,12 @@ Name: perl-SQL-Statement %define cpan_name SQL-Statement Summary: SQL parsing and processing engine -Version: 1.28 +Version: 1.27 Release: 1 -License: GPL+ or Artistic +License: GPLv1+, Artistic License Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/SQL-Statement/ -#Source: http://www.cpan.org/modules/by-module/SQL/SQL-Statement-%{version}.tar.gz +#Source: http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/SQL-Statement-1.25.tar.gz Source: %{cpan_name}-%{version}.tar.bz2 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -39,9 +39,8 @@ BuildRequires: perl-macros BuildRequires: perl(Carp) BuildRequires: perl(Clone) >= 0.30 BuildRequires: perl(Data::Dumper) -# means perl-DBI >= 1.612 -BuildRequires: perl(DBD::File) >= 0.39 -BuildRequires: perl(DBI::DBD::SqlEngine) >= 0.01 +# means perl-DBI >= 1.609 +BuildRequires: perl(DBD::File) >= 0.37 BuildRequires: perl(Params::Util) >= 1.00 BuildRequires: perl(Scalar::Util) >= 1.0 # for testsuite @@ -55,39 +54,32 @@ Requires: perl = %{perl_version} Requires: perl(Carp) Requires: perl(Clone) >= 0.30 Requires: perl(Data::Dumper) -# means perl-DBI >= 1.612 -Requires: perl(DBD::File) >= 0.39 -Requires: perl(DBI::DBD::SqlEngine) >= 0.01 +# means perl-DBI >= 1.609 +Requires: perl(DBD::File) >= 0.37 Requires: perl(Params::Util) >= 1.00 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 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 -functions, implicit and explicit joins, complex nested search conditions, +functions, implicit and explicit joins, complexly nested search conditions, and other features. -Authors: --------- - Jochen Wiedmann (original module as an XS (C) extension in 1998) - Jeff Zucker (since 2001) - Jens Rehsack (since 2008) - %prep %setup -q -n %{cpan_name}-%{version} # rpmlint wrong-file-end-of-line-encoding dos2unix README -# rpmlint: spurious-executable-perm -%{__chmod} a-x Changes README -# rpmlint: script-without-shebang -find -name "*.pm" -exec %{__chmod} 0644 {} \; %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" %{__make} %{?_smp_mflags} +chmod a-x Changes Todo %check %{__make} test @@ -101,11 +93,14 @@ find -name "*.pm" -exec %{__chmod} 0644 {} \; %{__rm} -rf $RPM_BUILD_ROOT%perl_archlib %perl_gen_filelist +# fix file perm +find $RPM_BUILD_ROOT -name "*.pm" -exec chmod 644 {} \; + %clean %{__rm} -rf $RPM_BUILD_ROOT -%files -f %{name}.files +%files -f %name.files %defattr(-,root,root,-) -%doc Changes README +%doc Changes README Todo %changelog