diff --git a/SQL-Translator-1.62.tar.gz b/SQL-Translator-1.62.tar.gz deleted file mode 100644 index 50a63ec..0000000 --- a/SQL-Translator-1.62.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0acd4ff9ac3a2f8d5d67199aac02cdc127e03888e479c51c7bbdc21b85c1ce24 -size 411750 diff --git a/SQL-Translator-1.63.tar.gz b/SQL-Translator-1.63.tar.gz new file mode 100644 index 0000000..8c483fb --- /dev/null +++ b/SQL-Translator-1.63.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5885b04c93498be32a197dc972394751d5de609341893a96656de88a42603133 +size 419418 diff --git a/perl-SQL-Translator.changes b/perl-SQL-Translator.changes index 96ea82d..0c13126 100644 --- a/perl-SQL-Translator.changes +++ b/perl-SQL-Translator.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Fri Feb 24 03:07:52 UTC 2023 - Tina Müller + +- updated to 1.63 + see /usr/share/doc/packages/perl-SQL-Translator/Changes + + 1.63 - 2023-02-23 + * sqlt-diff: Change producer_args to sqlt_args for better self-documentation + NOTE - using producer_args will now throw a deprecation warning + + FEATURES + * A lot of new functionality for the Oracle producer (thanks @hazardv) + * Support DB commments in the following producers: PG, JSON, YAML. Also in the sqlite parser (thanks @djerius) + * Support INCLUDE on indices for Pg (producer + parser) + * Postgres producer now supports materialized views via $extra->{materialized} + + FIXES + * Postgres producer genrates correct constraint names for schema-namespaced tables + * Postgres DBI parser now returns scalarref SQL instead of strings for defaults (thanks @nrdvana) + * Postgres producer drops NOT NULL constraints more correctly (thanks @uehara-delta) + * binaries now have their perl set by EUMM (thanks @toddr) + ------------------------------------------------------------------- Tue Sep 15 03:14:53 UTC 2020 - Tina Müller diff --git a/perl-SQL-Translator.spec b/perl-SQL-Translator.spec index 9b46f39..07352d2 100644 --- a/perl-SQL-Translator.spec +++ b/perl-SQL-Translator.spec @@ -1,7 +1,7 @@ # # spec file for package perl-SQL-Translator # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,24 +16,23 @@ # +%define cpan_name SQL-Translator Name: perl-SQL-Translator -Version: 1.62 +Version: 1.63 Release: 0 #Upstream: Artistic-1.0 or GPL-1.0-or-later -%define cpan_name SQL-Translator -Summary: Manipulate structured data definitions (SQL and more) License: (Artistic-1.0 OR GPL-1.0-or-later) AND GPL-2.0-only -Group: Development/Libraries/Perl +Summary: SQL DDL transformations and more URL: https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/I/IL/ILMARI/%{cpan_name}-%{version}.tar.gz +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(Carp::Clan) BuildRequires: perl(DBI) >= 1.54 BuildRequires: perl(Digest::SHA) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.54 BuildRequires: perl(File::ShareDir) >= 1.0 BuildRequires: perl(File::ShareDir::Install) BuildRequires: perl(JSON::MaybeXS) >= 1.003003 @@ -83,7 +82,8 @@ the definition parts of SQL are handled (CREATE, ALTER), not the manipulation of data (INSERT, UPDATE, DELETE). %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} + find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 # MANUAL BEGIN sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL @@ -91,7 +91,7 @@ sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' %build perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +%make_build %check make test @@ -102,7 +102,6 @@ make test %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc AUTHORS Changes README %license LICENSE