forked from pool/perl-SQL-Translator
Compare commits
22 Commits
70ef022b7c
...
main
Author | SHA256 | Date | |
---|---|---|---|
648808afe4 | |||
2b66fb15f6 | |||
e976c923c5 | |||
b5d9287bf5 | |||
049be06e47 | |||
ad82d28da9 | |||
0fe4caf38b | |||
d4ca312a43 | |||
676e9c0d3b | |||
48bc4c804f | |||
855b68ad60 | |||
1a9295011d | |||
9c25727bd9 | |||
32a9164746 | |||
bffd63653c | |||
5946612492 | |||
2c81995251 | |||
eae1aa0beb | |||
1ca98c92c3 | |||
|
d269209fbd | ||
|
141e4a00a9 | ||
|
fae2b60227 |
12
README.md
Normal file
12
README.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
## Build Results
|
||||||
|
|
||||||
|
Current state of perl in openSUSE:Factory is
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
The current state of perl in the devel project build (devel:languages:perl)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0acd4ff9ac3a2f8d5d67199aac02cdc127e03888e479c51c7bbdc21b85c1ce24
|
|
||||||
size 411750
|
|
3
SQL-Translator-1.66.tar.gz
Normal file
3
SQL-Translator-1.66.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f7ff7e369d8293a394cb3783b54b745e7faf44422e8a83bfcc359378a6e56145
|
||||||
|
size 405263
|
@@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 12 16:36:59 UTC 2024 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 1.660.0 (1.66)
|
||||||
|
see /usr/share/doc/packages/perl-SQL-Translator/Changes
|
||||||
|
|
||||||
|
1.66 - 2024-11-18
|
||||||
|
|
||||||
|
FIXES
|
||||||
|
* fix precedence problem issue with newest perl (thanks @mauke)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 8 23:03:57 UTC 2024 - Tina Müller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- Fix disabling of __perllib_provides
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 17 03:08:23 UTC 2024 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 1.65
|
||||||
|
see /usr/share/doc/packages/perl-SQL-Translator/Changes
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 23 03:08:28 UTC 2023 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 1.64
|
||||||
|
see /usr/share/doc/packages/perl-SQL-Translator/Changes
|
||||||
|
|
||||||
|
FEATURES
|
||||||
|
1.64 - 2023-12-22
|
||||||
|
* support EXCLUDE constraints in Postgres (thansk @KES777)
|
||||||
|
* Improve enums in the PostgrSQL family (thanks @nrdvana)
|
||||||
|
* Add index length options for MySQL (thanks @abeverley)
|
||||||
|
* you can pass fields for an index now as { name => $name, prefix_length => 9001 }
|
||||||
|
|
||||||
|
FIXES
|
||||||
|
* fix spurious on_update/on_delete in diffs (thanks @nrdvana)
|
||||||
|
* CI improvements (thanks @eserte)
|
||||||
|
* AUTOINCREMENT is now correctly parsed for SQLite (thanks @nrdvana)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
@@ -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) 2024 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,33 +16,36 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-SQL-Translator
|
|
||||||
Version: 1.62
|
|
||||||
Release: 0
|
|
||||||
#Upstream: Artistic-1.0 or GPL-1.0-or-later
|
|
||||||
%define cpan_name SQL-Translator
|
%define cpan_name SQL-Translator
|
||||||
Summary: Manipulate structured data definitions (SQL and more)
|
Name: perl-SQL-Translator
|
||||||
|
Version: 1.660.0
|
||||||
|
Release: 0
|
||||||
|
# 1.66 -> normalize -> 1.660.0
|
||||||
|
%define cpan_version 1.66
|
||||||
|
#Upstream: Artistic-1.0 or GPL-1.0-or-later
|
||||||
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}-%{cpan_version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
|
Source100: README.md
|
||||||
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
|
||||||
|
BuildRequires: perl(List::Util) >= 1.33
|
||||||
BuildRequires: perl(Moo) >= 1.000003
|
BuildRequires: perl(Moo) >= 1.000003
|
||||||
BuildRequires: perl(Package::Variant) >= 1.001001
|
BuildRequires: perl(Package::Variant) >= 1.001001
|
||||||
BuildRequires: perl(Parse::RecDescent) >= 1.967009
|
BuildRequires: perl(Parse::RecDescent) >= 1.967009
|
||||||
BuildRequires: perl(Sub::Quote)
|
BuildRequires: perl(Sub::Quote)
|
||||||
BuildRequires: perl(Test::Differences)
|
BuildRequires: perl(Test::Differences)
|
||||||
BuildRequires: perl(Test::Exception) >= 0.310000
|
BuildRequires: perl(Test::Exception) >= 0.42
|
||||||
BuildRequires: perl(Test::More) >= 0.88
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
BuildRequires: perl(Try::Tiny) >= 0.04
|
BuildRequires: perl(Try::Tiny) >= 0.04
|
||||||
BuildRequires: perl(XML::Writer) >= 0.500
|
BuildRequires: perl(XML::Writer) >= 0.500
|
||||||
@@ -51,11 +54,95 @@ Requires: perl(Carp::Clan)
|
|||||||
Requires: perl(DBI) >= 1.54
|
Requires: perl(DBI) >= 1.54
|
||||||
Requires: perl(Digest::SHA)
|
Requires: perl(Digest::SHA)
|
||||||
Requires: perl(File::ShareDir) >= 1.0
|
Requires: perl(File::ShareDir) >= 1.0
|
||||||
|
Requires: perl(List::Util) >= 1.33
|
||||||
Requires: perl(Moo) >= 1.000003
|
Requires: perl(Moo) >= 1.000003
|
||||||
Requires: perl(Package::Variant) >= 1.001001
|
Requires: perl(Package::Variant) >= 1.001001
|
||||||
Requires: perl(Parse::RecDescent) >= 1.967009
|
Requires: perl(Parse::RecDescent) >= 1.967009
|
||||||
Requires: perl(Sub::Quote)
|
Requires: perl(Sub::Quote)
|
||||||
Requires: perl(Try::Tiny) >= 0.04
|
Requires: perl(Try::Tiny) >= 0.04
|
||||||
|
Provides: perl(Parse::RecDescent::SQL::Translator::Parser::DB2::Grammar)
|
||||||
|
Provides: perl(SQL::Translator) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Diff)
|
||||||
|
Provides: perl(SQL::Translator::Filter::DefaultExtra) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Filter::Globals) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Filter::Names) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Generator::DDL::MySQL)
|
||||||
|
Provides: perl(SQL::Translator::Generator::DDL::PostgreSQL)
|
||||||
|
Provides: perl(SQL::Translator::Generator::DDL::SQLServer)
|
||||||
|
Provides: perl(SQL::Translator::Generator::DDL::SQLite)
|
||||||
|
Provides: perl(SQL::Translator::Generator::Role::DDL)
|
||||||
|
Provides: perl(SQL::Translator::Generator::Role::Quote)
|
||||||
|
Provides: perl(SQL::Translator::Parser) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Parser::Access) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Parser::DB2)
|
||||||
|
Provides: perl(SQL::Translator::Parser::DB2::Grammar)
|
||||||
|
Provides: perl(SQL::Translator::Parser::DBI) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Parser::DBI::DB2)
|
||||||
|
Provides: perl(SQL::Translator::Parser::DBI::MySQL) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Parser::DBI::Oracle) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Parser::DBI::PostgreSQL) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Parser::DBI::SQLServer) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Parser::DBI::SQLite) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Parser::DBI::Sybase) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Parser::Excel) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Parser::JSON) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Parser::MySQL) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Parser::Oracle) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Parser::PostgreSQL) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Parser::SQLServer) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Parser::SQLite) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Parser::Storable) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Parser::Sybase) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Parser::XML) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Parser::XML::SQLFairy) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Parser::YAML) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Parser::xSV) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer::ClassDBI) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer::DB2) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer::DiaUml) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer::Diagram) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer::Dumper) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer::GraphViz) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer::HTML) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer::JSON) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer::Latex) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer::MySQL) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer::Oracle) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer::POD) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer::PostgreSQL) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer::SQLServer) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer::SQLite) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer::Storable) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer::Sybase) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer::TT::Base) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer::TT::Table) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer::TTSchema) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer::XML) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer::XML::SQLFairy) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Producer::YAML) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Role::BuildArgs)
|
||||||
|
Provides: perl(SQL::Translator::Role::Debug)
|
||||||
|
Provides: perl(SQL::Translator::Role::Error)
|
||||||
|
Provides: perl(SQL::Translator::Role::ListAttr)
|
||||||
|
Provides: perl(SQL::Translator::Schema) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Schema::Constants) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Schema::Constraint) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Schema::Field) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Schema::Index) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Schema::IndexField)
|
||||||
|
Provides: perl(SQL::Translator::Schema::Object) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Schema::Procedure) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Schema::Role::Compare)
|
||||||
|
Provides: perl(SQL::Translator::Schema::Role::Extra)
|
||||||
|
Provides: perl(SQL::Translator::Schema::Table) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Schema::Trigger) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Schema::View) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Types)
|
||||||
|
Provides: perl(SQL::Translator::Utils) = %{version}
|
||||||
|
Provides: perl(SQL::Translator::Utils::Error)
|
||||||
|
Provides: perl(Test::SQL::Translator) = %{version}
|
||||||
|
%undefine __perllib_provides
|
||||||
Recommends: perl(GD)
|
Recommends: perl(GD)
|
||||||
Recommends: perl(Graph::Directed)
|
Recommends: perl(Graph::Directed)
|
||||||
Recommends: perl(GraphViz)
|
Recommends: perl(GraphViz)
|
||||||
@@ -83,15 +170,16 @@ 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}-%{cpan_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/*" ! -path "*/scripts/*" ! -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
|
||||||
# MANUAL END
|
# MANUAL END
|
||||||
|
|
||||||
%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 +190,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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user