From 0b5107af8837b2dcc4c995a84f74f20b8ce1fd18 Mon Sep 17 00:00:00 2001
From: EGDFree <>
Date: Jun 10 2021 22:35:15 +0000
Subject: Update perl-SQL-SplitStatement to version 1.00023 / rev 2 via SR 898867
https://build.opensuse.org/request/show/898867
by user EGDFree + dimstar_suse
---
diff --git a/.files b/.files
index 1a935e5..a7b619b 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 5c8b4af..7c975ea 100644
--- a/.rev
+++ b/.rev
@@ -7,4 +7,12 @@
needed for openQA283054
+
+ c38b8f6ad83d82a9077ec30ba6f05220
+ 1.00023
+
+ dimstar_suse
+
+ 898867
+
diff --git a/SQL-SplitStatement-1.00020.tar.gz b/SQL-SplitStatement-1.00020.tar.gz
deleted file mode 120000
index b11ee1e..0000000
--- a/SQL-SplitStatement-1.00020.tar.gz
+++ /dev/null
@@ -1 +0,0 @@
-/ipfs/bafkreihxpqypitmhcwgyf5su5h5jju42kd67pbm4lj732wate5dgmiipf4
\ No newline at end of file
diff --git a/SQL-SplitStatement-1.00023.tar.gz b/SQL-SplitStatement-1.00023.tar.gz
new file mode 120000
index 0000000..eac3213
--- /dev/null
+++ b/SQL-SplitStatement-1.00023.tar.gz
@@ -0,0 +1 @@
+/ipfs/bafkreia2osccbtjk2na4euso6emfw5xpofzjnhyxvhslvnxug5xq32ptly
\ No newline at end of file
diff --git a/cpanspec.yml b/cpanspec.yml
new file mode 100644
index 0000000..5f5b4ce
--- /dev/null
+++ b/cpanspec.yml
@@ -0,0 +1,35 @@
+---
+#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:
+# baz.patch: PATCH-FIX-OPENSUSE
+#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
+#skip_doc: regexp_to_skip_for_doc.*
+#add_doc: files to add to docs
+#misc: |-
+#anything else to be added to spec file
+#follows directly after %files section, so it can contain new blocks or also
+#changes to %files section
diff --git a/perl-SQL-SplitStatement.changes b/perl-SQL-SplitStatement.changes
index e18dd84..2484e6a 100644
--- a/perl-SQL-SplitStatement.changes
+++ b/perl-SQL-SplitStatement.changes
@@ -1,4 +1,18 @@
-------------------------------------------------------------------
+Sun Jun 6 03:08:46 UTC 2021 - Tina Müller
+
+- updated to 1.00023
+ see /usr/share/doc/packages/perl-SQL-SplitStatement/Changes
+
+ 1.00023 2021-06-05 22:10:21 IDT
+ 1.00022 2021-06-05 21:53:11 IDT (TRIAL RELEASE)
+ * support REPLACE as an INSERT alternative (gh #5)
+ * allow { and } to pass through in PL/Perl functions (gh #2)
+ 1.00021 2021-06-04 15:21:30 IDT (TRIAL RELEASE)
+ * fix POD issues
+ * fix issues with options in bin/sql-split (breaking, but wasn't working anyways)
+
+-------------------------------------------------------------------
Tue Jan 27 19:57:01 UTC 2015 - coolo@suse.com
- regenerate spec to install LICENSE
diff --git a/perl-SQL-SplitStatement.spec b/perl-SQL-SplitStatement.spec
index 94365b6..4246acf 100644
--- a/perl-SQL-SplitStatement.spec
+++ b/perl-SQL-SplitStatement.spec
@@ -1,7 +1,7 @@
#
# spec file for package perl-SQL-SplitStatement
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,39 +12,37 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+%define cpan_name SQL-SplitStatement
Name: perl-SQL-SplitStatement
-Version: 1.00020
+Version: 1.00023
Release: 0
-%define cpan_name SQL-SplitStatement
Summary: Split any SQL code into atomic statements
-License: Artistic-1.0 or GPL-1.0+
-Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/SQL-SplitStatement/
-Source: http://www.cpan.org/authors/id/E/EM/EMAZEP/%{cpan_name}-%{version}.tar.gz
+License: Artistic-1.0 OR GPL-1.0-or-later
+URL: https://metacpan.org/release/%{cpan_name}
+Source0: https://cpan.metacpan.org/authors/id/V/VE/VEESH/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Class::Accessor::Fast)
BuildRequires: perl(List::MoreUtils)
BuildRequires: perl(Regexp::Common)
-BuildRequires: perl(SQL::Tokenizer) >= 0.22
-BuildRequires: perl(Test::Exception) >= 0.27
+BuildRequires: perl(Test::Differences) >= 0.68
+BuildRequires: perl(Test::Exception) >= 0.270000
BuildRequires: perl(Test::More) >= 0.7
Requires: perl(Class::Accessor::Fast)
Requires: perl(List::MoreUtils)
Requires: perl(Regexp::Common)
-Requires: perl(SQL::Tokenizer) >= 0.22
%{perl_requires}
%description
This is a simple module which tries to split any SQL code, even including
-non-standard extensions (for the details see the the /SUPPORTED DBMSs
-manpage section below), into the atomic statements it is composed of.
+non-standard extensions (for the details see the SUPPORTED DBMSs section
+below), into the atomic statements it is composed of.
The logic used to split the SQL code is more sophisticated than a raw
'split' on the ';' (semicolon) character: first, various different
@@ -52,34 +50,34 @@ statement terminator _tokens_ are recognized (see below for the list), then
this module is able to correctly handle the presence of said tokens inside
identifiers, values, comments, 'BEGIN ... END' blocks (even nested),
_dollar-quoted_ strings, MySQL custom 'DELIMITER's, procedural code etc.,
-as (partially) exemplified in the the /SYNOPSIS manpage above.
+as (partially) exemplified in the SYNOPSIS above.
Consider however that this is by no means a validating parser (technically
speaking, it's just a _context-sensitive tokenizer_). It should rather be
seen as an in-progress _heuristic_ approach, which will gradually improve
-as test cases will be reported. This also means that, except for the the
-/LIMITATIONS manpage detailed below, there is no known (to the author) SQL
-code the most current release of this module can't correctly split.
+as test cases will be reported. This also means that, except for the
+LIMITATIONS detailed below, there is no known (to the author) SQL code the
+most current release of this module can't correctly split.
The test suite bundled with the distribution (which now includes the
-popular _Sakila_ and _Pagila_ sample db schemata, as detailed in the the
-/SHOWCASE manpage section below) should give you an idea of the
-capabilities of this module
+popular _Sakila_ and _Pagila_ sample db schemata, as detailed in the
+SHOWCASE section below) should give you an idea of the capabilities of this
+module
If your atomic statements are to be fed to a DBMS, you are encouraged to
-use the DBIx::MultiStatementDo manpage instead, which uses this module and
-also (optionally) offers automatic transactions support, so that you'll
-have the _all-or-nothing_ behavior you would probably want.
+use DBIx::MultiStatementDo instead, which uses this module and also
+(optionally) offers automatic transactions support, so that you'll have the
+_all-or-nothing_ behavior you would probably want.
%prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup -n %{cpan_name}-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+%make_build
%check
-%{__make} test
+make test
%install
%perl_make_install
@@ -87,7 +85,7 @@ have the _all-or-nothing_ behavior you would probably want.
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,755)
-%doc Changes LICENSE README
+%doc Changes README
+%license LICENSE
%changelog