forked from pool/perl-SQL-Abstract
Accepting request 481677 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/481677 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SQL-Abstract?expand=0&rev=19
This commit is contained in:
committed by
Git OBS Bridge
parent
28d9aeb82f
commit
84cc4cab0d
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5f4d5618ce2424d62bbfdb5228b382e8be0e0ccedbb273d6d850e25d07e64f9f
|
|
||||||
size 103010
|
|
3
SQL-Abstract-1.82.tar.gz
Normal file
3
SQL-Abstract-1.82.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e617de0954df975651b7119732cc29f4eaf9d61235791146ae68ca6b3f600eab
|
||||||
|
size 103576
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#description: |-
|
||||||
|
# override description from CPAN
|
||||||
|
#summary: override summary from CPAN
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
#preamble: |-
|
||||||
|
# BuildRequires: gcc-c++
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_build: |-
|
||||||
|
# rm unused.files
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
#license: SUSE-NonFree
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: |-
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
#custom_test: |-
|
||||||
|
#startserver && make test
|
||||||
|
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,22 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 21 07:45:31 UTC 2017 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.82
|
||||||
|
see /usr/share/doc/packages/perl-SQL-Abstract/Changes
|
||||||
|
|
||||||
|
revision 1.82 2017-03-20
|
||||||
|
-------------------------
|
||||||
|
- Add explicit dependency on Sub::Quote (GH#8)
|
||||||
|
- Fix syntax errors in ORDER BY docs (GH#7)
|
||||||
|
|
||||||
|
revision 1.81_01 2017-02-28
|
||||||
|
----------------------------
|
||||||
|
- Fix order clauses with bind parameters in ->where
|
||||||
|
- Fix ->insert($table, \@values) with >26 values (RT#112684)
|
||||||
|
- Teach ::Tree that ILIKE (PostgreSQL) and REGEXP (MySQL) are binary ops
|
||||||
|
- Support for UPDATE ... RETURNING
|
||||||
|
- Documentation improvements for ORDER BY
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 12 09:41:09 UTC 2014 - coolo@suse.com
|
Wed Nov 12 09:41:09 UTC 2014 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-SQL-Abstract
|
# spec file for package perl-SQL-Abstract
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,45 +17,47 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-SQL-Abstract
|
Name: perl-SQL-Abstract
|
||||||
Version: 1.81
|
Version: 1.82
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name SQL-Abstract
|
%define cpan_name SQL-Abstract
|
||||||
Summary: Generate SQL from Perl data structures
|
Summary: Generate SQL from Perl data structures
|
||||||
License: Artistic-1.0 or GPL-1.0+
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/SQL-Abstract/
|
Url: http://search.cpan.org/dist/SQL-Abstract/
|
||||||
Source: http://www.cpan.org/authors/id/R/RI/RIBASUSHI/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/I/IL/ILMARI/%{cpan_name}-%{version}.tar.gz
|
||||||
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Hash::Merge) >= 0.12
|
BuildRequires: perl(Hash::Merge) >= 0.12
|
||||||
BuildRequires: perl(MRO::Compat) >= 0.12
|
BuildRequires: perl(MRO::Compat) >= 0.12
|
||||||
BuildRequires: perl(Moo) >= 1.004002
|
BuildRequires: perl(Moo) >= 2.000001
|
||||||
|
BuildRequires: perl(Sub::Quote) >= 2.000001
|
||||||
BuildRequires: perl(Test::Deep) >= 0.101
|
BuildRequires: perl(Test::Deep) >= 0.101
|
||||||
BuildRequires: perl(Test::Exception) >= 0.31
|
BuildRequires: perl(Test::Exception) >= 0.310000
|
||||||
BuildRequires: perl(Test::More) >= 0.88
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
BuildRequires: perl(Test::Warn)
|
BuildRequires: perl(Test::Warn)
|
||||||
BuildRequires: perl(Text::Balanced) >= 2.00
|
BuildRequires: perl(Text::Balanced) >= 2.00
|
||||||
Requires: perl(Hash::Merge) >= 0.12
|
Requires: perl(Hash::Merge) >= 0.12
|
||||||
Requires: perl(MRO::Compat) >= 0.12
|
Requires: perl(MRO::Compat) >= 0.12
|
||||||
Requires: perl(Moo) >= 1.004002
|
Requires: perl(Moo) >= 2.000001
|
||||||
|
Requires: perl(Sub::Quote) >= 2.000001
|
||||||
Requires: perl(Text::Balanced) >= 2.00
|
Requires: perl(Text::Balanced) >= 2.00
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module was inspired by the excellent the DBIx::Abstract manpage.
|
This module was inspired by the excellent DBIx::Abstract. However, in using
|
||||||
However, in using that module I found that what I really wanted to do was
|
that module I found that what I really wanted to do was generate SQL, but
|
||||||
generate SQL, but still retain complete control over my statement handles
|
still retain complete control over my statement handles and use the DBI
|
||||||
and use the DBI interface. So, I set out to create an abstract SQL
|
interface. So, I set out to create an abstract SQL generation module.
|
||||||
generation module.
|
|
||||||
|
|
||||||
While based on the concepts used by the DBIx::Abstract manpage, there are
|
While based on the concepts used by DBIx::Abstract, there are several
|
||||||
several important differences, especially when it comes to WHERE clauses. I
|
important differences, especially when it comes to WHERE clauses. I have
|
||||||
have modified the concepts used to make the SQL easier to generate from
|
modified the concepts used to make the SQL easier to generate from Perl
|
||||||
Perl data structures and, IMO, more intuitive. The underlying idea is for
|
data structures and, IMO, more intuitive. The underlying idea is for this
|
||||||
this module to do what you mean, based on the data structures you provide
|
module to do what you mean, based on the data structures you provide it.
|
||||||
it. The big advantage is that you don't have to modify your code every time
|
The big advantage is that you don't have to modify your code every time
|
||||||
your data changes, as this module figures it out.
|
your data changes, as this module figures it out.
|
||||||
|
|
||||||
To begin with, an SQL INSERT is as easy as just specifying a hash of
|
To begin with, an SQL INSERT is as easy as just specifying a hash of
|
||||||
@@ -88,7 +90,7 @@ These are then used directly in your DBI code:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
find . -type f -print0 | xargs -0 chmod 644
|
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
Reference in New Issue
Block a user