8
0

Accepting request 1070470 from devel:languages:perl:autoupdate

- 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)

OBS-URL: https://build.opensuse.org/request/show/1070470
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SQL-Translator?expand=0&rev=35
This commit is contained in:
2023-03-10 10:41:48 +00:00
committed by Git OBS Bridge
parent 70ef022b7c
commit 855b68ad60
4 changed files with 34 additions and 13 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0acd4ff9ac3a2f8d5d67199aac02cdc127e03888e479c51c7bbdc21b85c1ce24
size 411750

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5885b04c93498be32a197dc972394751d5de609341893a96656de88a42603133
size 419418

View File

@@ -1,3 +1,25 @@
-------------------------------------------------------------------
Fri Feb 24 03:07:52 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- 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 <timueller+perl@suse.de> Tue Sep 15 03:14:53 UTC 2020 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-SQL-Translator # 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 # 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
@@ -16,24 +16,23 @@
# #
%define cpan_name SQL-Translator
Name: perl-SQL-Translator Name: perl-SQL-Translator
Version: 1.62 Version: 1.63
Release: 0 Release: 0
#Upstream: Artistic-1.0 or GPL-1.0-or-later #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 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} 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 Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Carp::Clan) BuildRequires: perl(Carp::Clan)
BuildRequires: perl(DBI) >= 1.54 BuildRequires: perl(DBI) >= 1.54
BuildRequires: perl(Digest::SHA) BuildRequires: perl(Digest::SHA)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.54
BuildRequires: perl(File::ShareDir) >= 1.0 BuildRequires: perl(File::ShareDir) >= 1.0
BuildRequires: perl(File::ShareDir::Install) BuildRequires: perl(File::ShareDir::Install)
BuildRequires: perl(JSON::MaybeXS) >= 1.003003 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). manipulation of data (INSERT, UPDATE, DELETE).
%prep %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 find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
# MANUAL BEGIN # MANUAL BEGIN
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL 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 %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} %make_build
%check %check
make test make test
@@ -102,7 +102,6 @@ make test
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc AUTHORS Changes README %doc AUTHORS Changes README
%license LICENSE %license LICENSE