forked from pool/perl-SQL-Translator
		
	- 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)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SQL-Translator?expand=0&rev=43
			
			
This commit is contained in:
		
							
								
								
									
										23
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| ## Default LFS | ||||
| *.7z filter=lfs diff=lfs merge=lfs -text | ||||
| *.bsp filter=lfs diff=lfs merge=lfs -text | ||||
| *.bz2 filter=lfs diff=lfs merge=lfs -text | ||||
| *.gem filter=lfs diff=lfs merge=lfs -text | ||||
| *.gz filter=lfs diff=lfs merge=lfs -text | ||||
| *.jar filter=lfs diff=lfs merge=lfs -text | ||||
| *.lz filter=lfs diff=lfs merge=lfs -text | ||||
| *.lzma filter=lfs diff=lfs merge=lfs -text | ||||
| *.obscpio filter=lfs diff=lfs merge=lfs -text | ||||
| *.oxt filter=lfs diff=lfs merge=lfs -text | ||||
| *.pdf filter=lfs diff=lfs merge=lfs -text | ||||
| *.png filter=lfs diff=lfs merge=lfs -text | ||||
| *.rpm filter=lfs diff=lfs merge=lfs -text | ||||
| *.tbz filter=lfs diff=lfs merge=lfs -text | ||||
| *.tbz2 filter=lfs diff=lfs merge=lfs -text | ||||
| *.tgz filter=lfs diff=lfs merge=lfs -text | ||||
| *.ttf filter=lfs diff=lfs merge=lfs -text | ||||
| *.txz filter=lfs diff=lfs merge=lfs -text | ||||
| *.whl filter=lfs diff=lfs merge=lfs -text | ||||
| *.xz filter=lfs diff=lfs merge=lfs -text | ||||
| *.zip filter=lfs diff=lfs merge=lfs -text | ||||
| *.zst filter=lfs diff=lfs merge=lfs -text | ||||
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| .osc | ||||
							
								
								
									
										3
									
								
								SQL-Translator-1.65.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								SQL-Translator-1.65.tar.gz
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| version https://git-lfs.github.com/spec/v1 | ||||
| oid sha256:606750db6a4ebf2693aa9bc8444c998c169b76bc308f3d314ead5eac17bede4a | ||||
| size 405476 | ||||
							
								
								
									
										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 | ||||
							
								
								
									
										4
									
								
								cpanspec.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								cpanspec.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| --- | ||||
| post_prep: | ||||
|  sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL | ||||
| license: (Artistic-1.0 or GPL-1.0+) and GPL-2.0 | ||||
							
								
								
									
										304
									
								
								perl-SQL-Translator.changes
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										304
									
								
								perl-SQL-Translator.changes
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,304 @@ | ||||
| ------------------------------------------------------------------- | ||||
| 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> | ||||
|  | ||||
| - updated to 1.62 | ||||
|    see /usr/share/doc/packages/perl-SQL-Translator/Changes | ||||
|  | ||||
|   1.62 - 2020-09-14 | ||||
|    * Update Pg support to allow version 12 (still supporting back to 7.4) | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Mon Apr 20 03:12:03 UTC 2020 -  <timueller+perl@suse.de> | ||||
|  | ||||
| - updated to 1.61 | ||||
|    see /usr/share/doc/packages/perl-SQL-Translator/Changes | ||||
|  | ||||
|   1.61 - 2020-04-19 | ||||
|    * Fixes for Sybase producer | ||||
|    * Support CHECK (expr) for SQLite and MySQLoids | ||||
|    * Avoid accidentally whole objects in YAML output | ||||
|    * Prettify comment generation | ||||
|    * Tyop fixes | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Thu May 30 05:22:10 UTC 2019 - Stephan Kulow <coolo@suse.com> | ||||
|  | ||||
| - updated to 1.60 | ||||
|    see /usr/share/doc/packages/perl-SQL-Translator/Changes | ||||
|  | ||||
|   1.60 - 2019-05-29 | ||||
|    * No changes since 1.59_01 | ||||
|    | ||||
|   1.59_01 - 2019-04-28 | ||||
|    * Add support for parsing PostgreSQL dollar-quoted strings | ||||
|    * Add support for materialized views in Oracle producer | ||||
|    * switched JSON backend from JSON.pm to JSON::MaybeXS | ||||
|    * Port Makefile.PL from Module::Install to Distar | ||||
|    * Synchronise the version number across all modules | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Wed Jan 10 07:08:35 UTC 2018 - coolo@suse.com | ||||
|  | ||||
| - updated to 0.11024 | ||||
|    see /usr/share/doc/packages/perl-SQL-Translator/Changes | ||||
|  | ||||
|   0.11024 2018-01-09 | ||||
|    | ||||
|    * Remove temporary diagnostics added in 0.11023_01 | ||||
|    | ||||
|   0.11023_02 2017-12-08 | ||||
|    | ||||
|    * Make maybe_plan skip on unrecognised failures to load modules | ||||
|    | ||||
|   0.11023_01 2017-12-07 | ||||
|    | ||||
|    * Add diagnostics to t/postgresql-rename-table-and-field.t that's | ||||
|      failing mysteriously on some smokers | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Fri Dec  8 06:52:00 UTC 2017 - coolo@suse.com | ||||
|  | ||||
| - updated to 0.11023 | ||||
|    see /usr/share/doc/packages/perl-SQL-Translator/Changes | ||||
|  | ||||
|   0.11023 2017-12-05 | ||||
|    | ||||
|    * Fix error handling for Test::PostgreSQL 1.20 | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Tue Dec  5 07:00:16 UTC 2017 - coolo@suse.com | ||||
|  | ||||
| - updated to 0.11022 | ||||
|    see /usr/share/doc/packages/perl-SQL-Translator/Changes | ||||
|  | ||||
|   0.11022 2017-12-04 | ||||
|    | ||||
|    * Add support for monotonically increasing SQLite autoincs (GH#47) | ||||
|    * Add support for CHECK constraint in SQLite producer (GH#57) | ||||
|    * Add support for CHECK constraint in POD producer (GH#63) | ||||
|    * Fix forgotten quoting in the MySQL DROP TABLE diff producer (GH#50) | ||||
|    * Fix Pg grammar parsing of UUID, time, timetz columns (RT#100196, GH#52) | ||||
|    * Add support for USING and WHERE on indexes in PostgreSQL producer | ||||
|      and parser (RT#63814, GH#52) | ||||
|    * Improve add_trigger consistency between producers (GH#48) | ||||
|    * Add trigger 'scope' attribute support to JSON, YAML and XML producers, | ||||
|      and XML and SQLite parsers (RT#119997) | ||||
|    * Declare dependencies in deterministic order (RT#102859) | ||||
|    * Multiple speedups of naive internal debugging mechanism (GH#54) | ||||
|    * Remove dependency on List::MoreUtils ( http://is.gd/lmu_cac_debacle ) | ||||
|    * Fix parsing of strings with leading whitespace for MySQL, Oracle, PostgreSQL, | ||||
|      SQLServer and SQLite | ||||
|    * Fix parsing of MySQL column comments (RT#83380) | ||||
|    * Fix multi-line comments in YAML, JSON and PostgreSQL producers | ||||
|    * Fix identifier quoting in PostgreSQL diff producer | ||||
|    * Fix incorrect type conversion from various BigInt AutoIncrement to the | ||||
|      PostgreSQL-specific bigserial (GH#72) | ||||
|    * Fix missing semicolons between PostGIS statements | ||||
|    * Fix string and identifier quoting in PostGIS statements | ||||
|    * Fix intermittent test failures (RT#108460) | ||||
|    * Fix relying on exact serialisation for JSON/YAML tests (RT#121901) | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Tue Oct  3 08:20:30 UTC 2017 - coolo@suse.com | ||||
|  | ||||
| - patch the Makefile to build with perl 5.26 | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Sat Feb  7 16:23:26 UTC 2015 - coolo@suse.com | ||||
|  | ||||
| - updated to 0.11021 | ||||
|   * Fix Oracle producer generating an unnecessary / at the end in case there | ||||
|     are no triggers | ||||
|   * Skip HTML tests if CGI is not installed (RT#98027) | ||||
|   * Fix JSON and YAML tests if the defaults have been tweaked (RT#98824) | ||||
|   * Fixes for parsing and producing identifiers and values that need | ||||
|     quoting and escaping for SQLite, MySQL, PostgreSQL, SQLServer and | ||||
|     Oracle (RT#90700, RT#31034) | ||||
|   * Add support for ALTER TABLE ... ADD CONSTRAINT to Oracle parser | ||||
|   * Add trigger support to Oracle parser (RT#62927) | ||||
|   * Fix erroneous PostgreSQL floating point type translations (RT#99725) | ||||
|   * Remove executable bit from Parser/JSON.pm (RT#100532) | ||||
|   * Update the Free Software Foundation's address (RT#100531) | ||||
|   * Provide default index names for SQLite (GH#45) | ||||
|   * Fix SQLite diffing on perl 5.8.1 | ||||
|   * Fix multi-column indexes in Parser::DBI::PostgreSQL | ||||
|   * Fix array data types in Parser::PostgreSQL (GH#49) | ||||
|   * Fix multidimensional sizes in Parser::PostgreSQL | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Tue Dec  2 10:33:53 UTC 2014 - coolo@suse.com | ||||
|  | ||||
| - require YAML, actually required by Translator:YAML | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Tue Sep 16 08:08:07 UTC 2014 - coolo@suse.com | ||||
|  | ||||
| - updated to 0.11020 | ||||
|   * Fix test failure if Test::PostgreSQL is installed but not working | ||||
|   | ||||
|  0.11019 2014-09-02 | ||||
|   | ||||
|   * Add Json and hstore types to Pg Parser (cloudinstustrie) | ||||
|   * Fix DROP TABLE in SQL Server Producer | ||||
|   * Fix Pg DBI parser test (Dagfinn Ilmari Mannsåker) | ||||
|   * Remove spurious warnings (Matt Phillips, Wallace Reis) | ||||
|   * Fix MySQL producer for columns with scalar ref in 'ON UPDATE' (Wallace Reis) | ||||
|   * Fix handling of views in MySQL DBI parser | ||||
|   * Fix handling of renamed fields in SQLite diff (Peter Mottram) | ||||
|   * Check numeric equality of default values in numeric-type fields (Wallace Reis) | ||||
|   * Fix handling of renamed fields in renamed tables in Pg diff (Peter Mottram) | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Mon Nov 25 07:38:44 UTC 2013 - coolo@suse.com | ||||
|  | ||||
| - updated to 0.11018 | ||||
|   * Apply quotes to fix tables that are reserved words, DBI::SQLServer (Jonathan C. Otsuka) | ||||
|   * Add DECIMAL_DIGITS to field size for scale info, DBI::SQLServer (Jonathan C. Otsuka) | ||||
|   * De-linkify XML namespace in docs (RT#81838) | ||||
|   * Allow both single and double quotes for values in MySQL parser | ||||
|   * Fix diff for altering two things per column - add ; at the end | ||||
|   * Call all diff methods in list context (it can be merged later) | ||||
|   * Fix Pg diff issue with drop constraint on primary keys | ||||
|   * SQLite support for SET NULL, SET DEFAULT and NO ACTION in FK clauses | ||||
|   * Clean up properly after Parser::DBI::PostgreSQL tests | ||||
|   * Fix typos in error messages | ||||
|   * Add SQL_TINYINT and SQL_BIGINT to the type map in | ||||
|     SQL::Translator::Schema::Field | ||||
|   * Add JSON parser and producer (Jon Jensen) | ||||
|   * Clean up TTSchema doc some (Gavin Shelley) | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Mon Aug  5 10:13:04 UTC 2013 - cfarrell@suse.com | ||||
|  | ||||
| - license update: (Artistic-1.0 or GPL-1.0+) and GPL-2.0 | ||||
|   See e.g. script/sqlt | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Tue Jul 30 05:02:28 UTC 2013 - coolo@suse.com | ||||
|  | ||||
| - updated to 0.11016 | ||||
|   * Allow passing an arrayref to SQLT->filename (lost in Mooification) | ||||
|   * Fix stupid missing version number in SQL::Translator::Schema::Object | ||||
|   * Relicense under Perl 5 terms | ||||
|   * Remove SQL::Translator::Schema::Graph as announced in 0.11011 | ||||
|   * Remove a number of no longer needed deps | ||||
|   * Fix missing dep (List::MoreUtils) | ||||
|   * Convert SQL::Translator, ::Schema and ::Schema::* to Moo | ||||
|   * Fix leaks by weakening circular references between schema objects | ||||
|   * Make MySQL producer add NULL after every nullable field, conforming to SQL | ||||
|     standard, and avoiding MySQL bugs | ||||
| - remove sqlite.patch which was declined upstream  | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Wed Jan 11 13:12:42 UTC 2012 - cfarrell@suse.com | ||||
|  | ||||
| - license update: GPL-2.0 | ||||
|   See Translator.pm - this is GPL-2.0 | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Wed Jan 11 09:58:02 UTC 2012 - coolo@suse.com | ||||
|  | ||||
| - update to 0.11010 | ||||
|  * Add "if exists" to drop view statements in Pg. | ||||
|  * Fix MySQL producer to properly quote all table names on output (patch from geistteufel) | ||||
|  * Correctly create and parse FK constraints in SQLite | ||||
|  * Correct postgis geography type insertion and linebreak fix for multiple geometry/geography columns | ||||
|  * made PostgreSQL producer consistent with other producers in terms of | ||||
|    quoting and allowing functions in constraints and indices | ||||
|  * Add distinction of autoinc and regular primary keys to the GraphViz producer | ||||
|  * Fix odd invocation of Test::More::pass() in t/36-filters.t (RT#64728) | ||||
|  * Quote everything in SQL Server | ||||
|  * Turn off constraints before dropping tables in SQL Server | ||||
|  * Make true unique constraints if needed in SQL Server | ||||
|  * Fixed Producer::PostgresSQL to output array type after type size, | ||||
|    i.e. varchar(64)[] rather than varchar[](64) | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Wed Dec  1 13:35:18 UTC 2010 - coolo@novell.com | ||||
|  | ||||
| - switch to perl_requires macro | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Sun Oct 17 18:07:09 UTC 2010 - chris@computersalat.de | ||||
|  | ||||
| - fix build | ||||
|   o auto directory is included in the perl package | ||||
| - fix deps | ||||
|   o IO::Scalar 2.11 > 2.110 | ||||
|   o XML::Writer 0.5 > 0.500 | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Thu Oct 14 22:18:35 UTC 2010 - jw@novell.com | ||||
|  | ||||
| - added sqlite.patch | ||||
|   to implement more SQLite syntax. | ||||
|   Upstreamed as https://rt.cpan.org/Ticket/Display.html?id=62153 | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Tue Oct 12 16:16:23 UTC 2010 - jw@novell.com | ||||
|  | ||||
| - initial package 0.11006 | ||||
|   * created by cpanspec 1.78.02 | ||||
|  | ||||
							
								
								
									
										195
									
								
								perl-SQL-Translator.spec
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										195
									
								
								perl-SQL-Translator.spec
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,195 @@ | ||||
| # | ||||
| # spec file for package perl-SQL-Translator | ||||
| # | ||||
| # Copyright (c) 2024 SUSE LLC | ||||
| # | ||||
| # All modifications and additions to the file contributed by third parties | ||||
| # remain the property of their copyright owners, unless otherwise agreed | ||||
| # upon. The license for this file, and modifications and additions to the | ||||
| # file, is the same license as for the pristine package itself (unless the | ||||
| # license for the pristine package is not an Open Source License, in which | ||||
| # case the license is the MIT License). An "Open Source License" is a | ||||
| # license that conforms to the Open Source Definition (Version 1.9) | ||||
| # published by the Open Source Initiative. | ||||
|  | ||||
| # Please submit bugfixes or comments via https://bugs.opensuse.org/ | ||||
| # | ||||
|  | ||||
|  | ||||
| %define cpan_name SQL-Translator | ||||
| 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 | ||||
| Summary:        SQL DDL transformations and more | ||||
| URL:            https://metacpan.org/release/%{cpan_name} | ||||
| Source0:        https://cpan.metacpan.org/authors/id/V/VE/VEESH/%{cpan_name}-%{cpan_version}.tar.gz | ||||
| Source1:        cpanspec.yml | ||||
| BuildArch:      noarch | ||||
| 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 | ||||
| BuildRequires:  perl(List::Util) >= 1.33 | ||||
| BuildRequires:  perl(Moo) >= 1.000003 | ||||
| BuildRequires:  perl(Package::Variant) >= 1.001001 | ||||
| BuildRequires:  perl(Parse::RecDescent) >= 1.967009 | ||||
| BuildRequires:  perl(Sub::Quote) | ||||
| BuildRequires:  perl(Test::Differences) | ||||
| BuildRequires:  perl(Test::Exception) >= 0.42 | ||||
| BuildRequires:  perl(Test::More) >= 0.88 | ||||
| BuildRequires:  perl(Try::Tiny) >= 0.04 | ||||
| BuildRequires:  perl(XML::Writer) >= 0.500 | ||||
| BuildRequires:  perl(YAML) >= 0.66 | ||||
| Requires:       perl(Carp::Clan) | ||||
| Requires:       perl(DBI) >= 1.54 | ||||
| Requires:       perl(Digest::SHA) | ||||
| Requires:       perl(File::ShareDir) >= 1.0 | ||||
| Requires:       perl(List::Util) >= 1.33 | ||||
| Requires:       perl(Moo) >= 1.000003 | ||||
| Requires:       perl(Package::Variant) >= 1.001001 | ||||
| Requires:       perl(Parse::RecDescent) >= 1.967009 | ||||
| Requires:       perl(Sub::Quote) | ||||
| 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(Graph::Directed) | ||||
| Recommends:     perl(GraphViz) | ||||
| Recommends:     perl(Spreadsheet::ParseExcel) >= 0.41 | ||||
| Recommends:     perl(Template) >= 2.20 | ||||
| Recommends:     perl(Text::RecordParser) >= 0.02 | ||||
| Recommends:     perl(XML::LibXML) >= 1.69 | ||||
| %{perl_requires} | ||||
|  | ||||
| %description | ||||
| This documentation covers the API for SQL::Translator. For a more general | ||||
| discussion of how to use the modules and scripts, please see | ||||
| SQL::Translator::Manual. | ||||
|  | ||||
| SQL::Translator is a group of Perl modules that converts vendor-specific | ||||
| SQL table definitions into other formats, such as other vendor-specific | ||||
| SQL, ER diagrams, documentation (POD and HTML), XML, and Class::DBI | ||||
| classes. The main focus of SQL::Translator is SQL, but parsers exist for | ||||
| other structured data formats, including Excel spreadsheets and arbitrarily | ||||
| delimited text files. Through the separation of the code into parsers and | ||||
| producers with an object model in between, it's possible to combine any | ||||
| parser with any producer, to plug in custom parsers or producers, or to | ||||
| manipulate the parsed data via the built-in object model. Presently only | ||||
| the definition parts of SQL are handled (CREATE, ALTER), not the | ||||
| manipulation of data (INSERT, UPDATE, DELETE). | ||||
|  | ||||
| %prep | ||||
| %autosetup  -n %{cpan_name}-%{cpan_version} | ||||
|  | ||||
| find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -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 | ||||
| # MANUAL END | ||||
|  | ||||
| %build | ||||
| perl Makefile.PL INSTALLDIRS=vendor | ||||
| %make_build | ||||
|  | ||||
| %check | ||||
| make test | ||||
|  | ||||
| %install | ||||
| %perl_make_install | ||||
| %perl_process_packlist | ||||
| %perl_gen_filelist | ||||
|  | ||||
| %files -f %{name}.files | ||||
| %doc AUTHORS Changes README | ||||
| %license LICENSE | ||||
|  | ||||
| %changelog | ||||
		Reference in New Issue
	
	Block a user