2013-08-14 06:47:02 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-App-Sqitch
|
|
|
|
#
|
Accepting request 1236712 from devel:languages:perl:autoupdate
- updated to 1.5.0 (v1.5.0)
see /usr/share/doc/packages/perl-App-Sqitch/Changes
1.5.0 2025-01-08T03:22:40
- Fix improperly nested Pod headers that were incrementing two levels
relative to their parent headers, which messed with the HTML output on
sqitch.org.
- Banned "[" and "]" in names (changes, tags, projects) because they
muck with dependency parsing of the plan file. Thanks to Žiga Leber for
the bug report (#829).
- Updated the IPC methods that interact with engine clients to raise
exception objects rather than strings, for more consistent error
handling throughout.
- Removed duplicate DBI error handling code from engines and tests.
- Fixed an order of operation issue that prevented Sqitch from detecting
Yugabyte before attempting to create an advisory lock, which resulted
in an error for more recent Yugabyte releases. Thanks to Stefano
Ricciardi for the report (#841).
- Removed a wayward mention of the long-deprecated `SQITCH_URI`
environment variable from the Oracle tutorial. Thanks to Austin Hanson
for the report (#845).
- Improved unexpected error output by including any previous exception.
- Changed the "unknown engine" error to a runtime error, rather than
development time, with a localized error message. The error loading
the engine package and the stack trace remain available by using
triple verbosity (`-vvv`). Thanks to Martin Fischer for the report
(#838).
- Changed the default error code from Oracle `sqlplus` from `SQL.SQLCODE`
to `4`, because otherwise the exit code is returned `modulo 256`,
meaning it can end up `0` for success for an SQL error code like
`ORA-01792`. Selected `4` as the replacement to match the behavior of
Exasol and because `FAILURE` maps to exit code `1`, which has in the
past been more akin to a warning. Thanks to @vectro for the report
(#831).
- Added checks for the existence of deploy and revert files when
deploying and reverting. Previously Sqitch deferred such errors to the
CLIs, but they're never called when using `--log-only`. Thanks to
@vectro and Erik Wienhold for the suggestion (#828).
- Fixed a bug where the MySQL engine failed to properly handle target
URIs with no database name. Thanks to Felix Zedén Yverås for the report
(#821).
- Updated the MySQL engine to omit the `checkit()` function when using
binary logging and Sqitch lacks super user permissions. Thanks to Scott
Edwards for the report and to Janosch Peters for the solution (#824).
- Taught the Snowflake engine to detect when the Sqitch user lacks
permission to create a schema and to skip the creation of the registry
schema. Useful for cases when the registry schema was created in
advance. Thanks to Peter Wimsey for the suggestion (#826).
- Switched the MySQL engine from DBD::mysql to DBD::MariaDB for better
compatibility with older versions of the MySQL client library and for
its Unicode improvements. Thanks to Mark Tyrrell for the report and
@tiberiusferreira and Perl Monks `1nickt` and`InfiniteSilence` for the
feedback (#825).
OBS-URL: https://build.opensuse.org/request/show/1236712
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-Sqitch?expand=0&rev=8
2025-01-13 21:47:32 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2013-08-14 06:47:02 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2020-11-09 20:28:40 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-08-14 06:47:02 +00:00
|
|
|
#
|
|
|
|
|
2016-06-12 12:45:33 +00:00
|
|
|
|
2022-10-14 08:00:21 +00:00
|
|
|
%define cpan_name App-Sqitch
|
2013-08-14 06:47:02 +00:00
|
|
|
Name: perl-App-Sqitch
|
2025-05-24 13:28:20 +00:00
|
|
|
Version: 1.5.2
|
2013-08-14 06:47:02 +00:00
|
|
|
Release: 0
|
|
|
|
License: MIT
|
2022-10-14 08:00:21 +00:00
|
|
|
Summary: Sensible database change management
|
2020-11-09 20:28:40 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2025-05-24 13:28:20 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/D/DW/DWHEELER/%{cpan_name}-v%{version}.tar.gz
|
2016-06-12 12:45:33 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:11:48 +02:00
|
|
|
Source100: README.md
|
2013-08-14 06:47:02 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
Accepting request 1236712 from devel:languages:perl:autoupdate
- updated to 1.5.0 (v1.5.0)
see /usr/share/doc/packages/perl-App-Sqitch/Changes
1.5.0 2025-01-08T03:22:40
- Fix improperly nested Pod headers that were incrementing two levels
relative to their parent headers, which messed with the HTML output on
sqitch.org.
- Banned "[" and "]" in names (changes, tags, projects) because they
muck with dependency parsing of the plan file. Thanks to Žiga Leber for
the bug report (#829).
- Updated the IPC methods that interact with engine clients to raise
exception objects rather than strings, for more consistent error
handling throughout.
- Removed duplicate DBI error handling code from engines and tests.
- Fixed an order of operation issue that prevented Sqitch from detecting
Yugabyte before attempting to create an advisory lock, which resulted
in an error for more recent Yugabyte releases. Thanks to Stefano
Ricciardi for the report (#841).
- Removed a wayward mention of the long-deprecated `SQITCH_URI`
environment variable from the Oracle tutorial. Thanks to Austin Hanson
for the report (#845).
- Improved unexpected error output by including any previous exception.
- Changed the "unknown engine" error to a runtime error, rather than
development time, with a localized error message. The error loading
the engine package and the stack trace remain available by using
triple verbosity (`-vvv`). Thanks to Martin Fischer for the report
(#838).
- Changed the default error code from Oracle `sqlplus` from `SQL.SQLCODE`
to `4`, because otherwise the exit code is returned `modulo 256`,
meaning it can end up `0` for success for an SQL error code like
`ORA-01792`. Selected `4` as the replacement to match the behavior of
Exasol and because `FAILURE` maps to exit code `1`, which has in the
past been more akin to a warning. Thanks to @vectro for the report
(#831).
- Added checks for the existence of deploy and revert files when
deploying and reverting. Previously Sqitch deferred such errors to the
CLIs, but they're never called when using `--log-only`. Thanks to
@vectro and Erik Wienhold for the suggestion (#828).
- Fixed a bug where the MySQL engine failed to properly handle target
URIs with no database name. Thanks to Felix Zedén Yverås for the report
(#821).
- Updated the MySQL engine to omit the `checkit()` function when using
binary logging and Sqitch lacks super user permissions. Thanks to Scott
Edwards for the report and to Janosch Peters for the solution (#824).
- Taught the Snowflake engine to detect when the Sqitch user lacks
permission to create a schema and to skip the creation of the registry
schema. Useful for cases when the registry schema was created in
advance. Thanks to Peter Wimsey for the suggestion (#826).
- Switched the MySQL engine from DBD::mysql to DBD::MariaDB for better
compatibility with older versions of the MySQL client library and for
its Unicode improvements. Thanks to Mark Tyrrell for the report and
@tiberiusferreira and Perl Monks `1nickt` and`InfiniteSilence` for the
feedback (#825).
OBS-URL: https://build.opensuse.org/request/show/1236712
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-Sqitch?expand=0&rev=8
2025-01-13 21:47:32 +00:00
|
|
|
BuildRequires: perl(Algorithm::Backoff::Exponential) >= 0.6.0
|
2025-04-14 20:40:56 +00:00
|
|
|
BuildRequires: perl(Capture::Tiny) >= 0.120
|
2016-06-12 12:45:33 +00:00
|
|
|
BuildRequires: perl(Clone)
|
2025-05-24 13:28:20 +00:00
|
|
|
BuildRequires: perl(Config::GitLike) >= 1.150
|
2022-10-14 08:00:21 +00:00
|
|
|
BuildRequires: perl(DBD::Mem)
|
Accepting request 1102921 from devel:languages:perl:autoupdate
- updated to 1.4.0
see /usr/share/doc/packages/perl-App-Sqitch/Changes
1.4.0 2023-08-01T23:37:30Z
- Fixed Snowflake warehouse and role setup to properly quote identifiers
unless they're valid unquoted identifiers or already quoted. Thanks to
@marc-marketparts for the report (#685).
- Fixed a bug reworking a change when a rework directory is configured
but not created. Thanks to @jfeaver for the report (#686).
- Output the list of changes to be deployed or reverted when `--verbose`
is specified at least twice. Thanks to @vectro for the PR (#702).
- Fixed the formatting of the log and plan commands to allow empty or `0`
separators in lists of things (such as `%{0}t` for a list of tags).
Thanks to @web-vertalo for the pull request (#703).
- Updated the MySQL Tutorial to use 5.7 features. Thanks to Vlad
Safronov for the PR (#705).
- Deprecated the `no_prompt` and `no_prompt` attributes of
App::Sqitch::Engine in favor of passing booleans to the `revert` and
`verify` methods. The attributes still exist for reverse compatibility,
but now emit warnings and will be removed in the future. Thanks to
Thanks to @vectro for the PR (#704).
- Added a warning for a double extension on the file names created
by the `add` command. Thanks to @blairjordan for the PR (#724)!
- Added the `revert.strict` boolean configuration variable which, when
set to true, requires the specification of a change to revert to. It
also disables the `rebase` and `checkout` commands, though the
`rebase.strict` and `checkout.strict` variables, respectively, may
override it. Use `revert.strict` to prevent accidental reverts in
sensitive environments. Thanks to @vectro for the PR (#719; revised in
#735)!
- Fixed test failures due to a bug fix in the Perl URI module
(libwww-perl/URI#13). Thanks to @bobfang for the report (#744)!
- Fixed test failures due to a change in the generation of DBI DSN by
URI::Oracle introduced by libwww-perl/URI-db#23.
- Added a format option `%F` to `sqitch plan` that prints the path for
the deploy file for each migration in the plan.
- Changed the default location for the Oracle `sqlplus` client when the
`ORACLE_HOME` environment variable is set. It now returns either
`$ORACLE_HOME/bin/sqlplus` or `$ORACLE_HOME/sqlplus` if it exists
and is executable (and ends in `.exe` on Windows). Otherwise it simply
returns `sqlplus` as before, assuming it will be found in the path.
Thanks to @vectro for the suggestion (#747).
- Increased the required version of DBI to 1.631 or higher and removed
a MySQL engine workaround for older versions.
- Added detection of a missing registry schema on connect and conditions
to avoid querying it when it does not exist. Fixes an issue where
Sqitch might find a project record in the current schema instead of the
expected registry schema. Thanks to @vectro for the report and
investigation (#668)!
- Fixed Snowflake and MySQL to properly raise errors on session query
failures immediately after connection.
- Fixed the handling of unique violations for deploy script hash
uniqueness so that it no longer returns a database error but properly
reports the issue in a more human-friendly error message. Thanks to
Stefan Badenhorst for the reminder (#630).
- Updated the registry SQL scripts for Vertica to always enable primary
key and unique constraints. Unique constraints are now enabled for
all database engines except Exasol and Snowflake.
- Dropped support for Vertica 7.1, as unique constraint enforcement was
not added until Vertica 7.2.
- Increased minimum SQLite versions to 3.8.6, when unique constraint
enforcement was added.
- Removed remaining uses of the smartmatch operator, thus eliminating
the Perl 5.38 warnings about its deprecation. (#769)
- Added Cockroach to the list of valid engines recognized in command-line
arguments (and a test to ensure new engines won't be omitted in the
future). Thanks to @NOBLES5E for the spot (#772)!
OBS-URL: https://build.opensuse.org/request/show/1102921
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-Sqitch?expand=0&rev=6
2023-08-08 15:10:22 +00:00
|
|
|
BuildRequires: perl(DBI) >= 1.631
|
2025-04-14 20:40:56 +00:00
|
|
|
BuildRequires: perl(DateTime) >= 1.40.0
|
2016-06-12 12:45:33 +00:00
|
|
|
BuildRequires: perl(DateTime::TimeZone)
|
2025-04-14 20:40:56 +00:00
|
|
|
BuildRequires: perl(Devel::StackTrace) >= 1.300
|
2016-06-12 12:45:33 +00:00
|
|
|
BuildRequires: perl(Digest::SHA)
|
|
|
|
BuildRequires: perl(Encode::Locale)
|
2013-08-14 06:47:02 +00:00
|
|
|
BuildRequires: perl(Hash::Merge)
|
2025-05-24 13:28:20 +00:00
|
|
|
BuildRequires: perl(IO::Pager) >= 0.340
|
2016-06-12 12:45:33 +00:00
|
|
|
BuildRequires: perl(IPC::Run3)
|
2025-05-24 13:28:20 +00:00
|
|
|
BuildRequires: perl(IPC::System::Simple) >= 1.170
|
2013-08-14 06:47:02 +00:00
|
|
|
BuildRequires: perl(List::MoreUtils)
|
|
|
|
BuildRequires: perl(Locale::Messages)
|
2025-04-14 20:40:56 +00:00
|
|
|
BuildRequires: perl(Locale::TextDomain) >= 1.200
|
Accepting request 1102921 from devel:languages:perl:autoupdate
- updated to 1.4.0
see /usr/share/doc/packages/perl-App-Sqitch/Changes
1.4.0 2023-08-01T23:37:30Z
- Fixed Snowflake warehouse and role setup to properly quote identifiers
unless they're valid unquoted identifiers or already quoted. Thanks to
@marc-marketparts for the report (#685).
- Fixed a bug reworking a change when a rework directory is configured
but not created. Thanks to @jfeaver for the report (#686).
- Output the list of changes to be deployed or reverted when `--verbose`
is specified at least twice. Thanks to @vectro for the PR (#702).
- Fixed the formatting of the log and plan commands to allow empty or `0`
separators in lists of things (such as `%{0}t` for a list of tags).
Thanks to @web-vertalo for the pull request (#703).
- Updated the MySQL Tutorial to use 5.7 features. Thanks to Vlad
Safronov for the PR (#705).
- Deprecated the `no_prompt` and `no_prompt` attributes of
App::Sqitch::Engine in favor of passing booleans to the `revert` and
`verify` methods. The attributes still exist for reverse compatibility,
but now emit warnings and will be removed in the future. Thanks to
Thanks to @vectro for the PR (#704).
- Added a warning for a double extension on the file names created
by the `add` command. Thanks to @blairjordan for the PR (#724)!
- Added the `revert.strict` boolean configuration variable which, when
set to true, requires the specification of a change to revert to. It
also disables the `rebase` and `checkout` commands, though the
`rebase.strict` and `checkout.strict` variables, respectively, may
override it. Use `revert.strict` to prevent accidental reverts in
sensitive environments. Thanks to @vectro for the PR (#719; revised in
#735)!
- Fixed test failures due to a bug fix in the Perl URI module
(libwww-perl/URI#13). Thanks to @bobfang for the report (#744)!
- Fixed test failures due to a change in the generation of DBI DSN by
URI::Oracle introduced by libwww-perl/URI-db#23.
- Added a format option `%F` to `sqitch plan` that prints the path for
the deploy file for each migration in the plan.
- Changed the default location for the Oracle `sqlplus` client when the
`ORACLE_HOME` environment variable is set. It now returns either
`$ORACLE_HOME/bin/sqlplus` or `$ORACLE_HOME/sqlplus` if it exists
and is executable (and ends in `.exe` on Windows). Otherwise it simply
returns `sqlplus` as before, assuming it will be found in the path.
Thanks to @vectro for the suggestion (#747).
- Increased the required version of DBI to 1.631 or higher and removed
a MySQL engine workaround for older versions.
- Added detection of a missing registry schema on connect and conditions
to avoid querying it when it does not exist. Fixes an issue where
Sqitch might find a project record in the current schema instead of the
expected registry schema. Thanks to @vectro for the report and
investigation (#668)!
- Fixed Snowflake and MySQL to properly raise errors on session query
failures immediately after connection.
- Fixed the handling of unique violations for deploy script hash
uniqueness so that it no longer returns a database error but properly
reports the issue in a more human-friendly error message. Thanks to
Stefan Badenhorst for the reminder (#630).
- Updated the registry SQL scripts for Vertica to always enable primary
key and unique constraints. Unique constraints are now enabled for
all database engines except Exasol and Snowflake.
- Dropped support for Vertica 7.1, as unique constraint enforcement was
not added until Vertica 7.2.
- Increased minimum SQLite versions to 3.8.6, when unique constraint
enforcement was added.
- Removed remaining uses of the smartmatch operator, thus eliminating
the Perl 5.38 warnings about its deprecation. (#769)
- Added Cockroach to the list of valid engines recognized in command-line
arguments (and a test to ensure new engines won't be omitted in the
future). Thanks to @NOBLES5E for the spot (#772)!
OBS-URL: https://build.opensuse.org/request/show/1102921
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-Sqitch?expand=0&rev=6
2023-08-08 15:10:22 +00:00
|
|
|
BuildRequires: perl(Module::Build) >= 0.35
|
2020-11-09 20:28:40 +00:00
|
|
|
BuildRequires: perl(Module::Runtime)
|
2016-06-12 12:45:33 +00:00
|
|
|
BuildRequires: perl(Moo) >= 1.002000
|
|
|
|
BuildRequires: perl(Moo::Role)
|
2025-05-24 13:28:20 +00:00
|
|
|
BuildRequires: perl(Path::Class) >= 0.330
|
2016-06-12 12:45:33 +00:00
|
|
|
BuildRequires: perl(PerlIO::utf8_strict)
|
2020-11-09 20:28:40 +00:00
|
|
|
BuildRequires: perl(Pod::Escapes) >= 1.04
|
|
|
|
BuildRequires: perl(Pod::Find)
|
2013-08-14 06:47:02 +00:00
|
|
|
BuildRequires: perl(StackTrace::Auto)
|
|
|
|
BuildRequires: perl(String::Formatter)
|
2016-06-12 12:45:33 +00:00
|
|
|
BuildRequires: perl(String::ShellQuote)
|
2013-08-14 06:47:02 +00:00
|
|
|
BuildRequires: perl(Sub::Exporter)
|
|
|
|
BuildRequires: perl(Sub::Exporter::Util)
|
2025-05-24 13:28:20 +00:00
|
|
|
BuildRequires: perl(Template::Tiny) >= 0.110
|
2013-08-14 06:47:02 +00:00
|
|
|
BuildRequires: perl(Term::ANSIColor) >= 2.02
|
|
|
|
BuildRequires: perl(Test::Deep)
|
2016-06-12 12:45:33 +00:00
|
|
|
BuildRequires: perl(Test::Dir)
|
2013-08-14 06:47:02 +00:00
|
|
|
BuildRequires: perl(Test::Exception)
|
2022-10-14 08:00:21 +00:00
|
|
|
BuildRequires: perl(Test::Exit)
|
2013-08-14 06:47:02 +00:00
|
|
|
BuildRequires: perl(Test::File)
|
2025-04-14 20:40:56 +00:00
|
|
|
BuildRequires: perl(Test::File::Contents) >= 0.200
|
|
|
|
BuildRequires: perl(Test::MockModule) >= 0.170
|
2020-11-09 20:28:40 +00:00
|
|
|
BuildRequires: perl(Test::MockObject::Extends)
|
2013-08-14 06:47:02 +00:00
|
|
|
BuildRequires: perl(Test::More) >= 0.94
|
2025-05-24 13:28:20 +00:00
|
|
|
BuildRequires: perl(Test::NoWarnings) >= 0.83.0
|
|
|
|
BuildRequires: perl(Test::Warn) >= 0.310
|
2025-04-14 20:40:56 +00:00
|
|
|
BuildRequires: perl(Throwable) >= 0.200.9
|
2013-08-14 06:47:02 +00:00
|
|
|
BuildRequires: perl(Try::Tiny)
|
2016-06-12 12:45:33 +00:00
|
|
|
BuildRequires: perl(Type::Library) >= 0.040
|
|
|
|
BuildRequires: perl(Type::Utils)
|
|
|
|
BuildRequires: perl(Types::Standard)
|
2013-08-14 06:47:02 +00:00
|
|
|
BuildRequires: perl(URI)
|
2020-11-09 20:28:40 +00:00
|
|
|
BuildRequires: perl(URI::QueryParam)
|
2025-04-14 20:40:56 +00:00
|
|
|
BuildRequires: perl(URI::db) >= 0.200
|
|
|
|
BuildRequires: perl(namespace::autoclean) >= 0.160
|
2013-08-14 06:47:02 +00:00
|
|
|
BuildRequires: perl(parent)
|
Accepting request 1236712 from devel:languages:perl:autoupdate
- updated to 1.5.0 (v1.5.0)
see /usr/share/doc/packages/perl-App-Sqitch/Changes
1.5.0 2025-01-08T03:22:40
- Fix improperly nested Pod headers that were incrementing two levels
relative to their parent headers, which messed with the HTML output on
sqitch.org.
- Banned "[" and "]" in names (changes, tags, projects) because they
muck with dependency parsing of the plan file. Thanks to Žiga Leber for
the bug report (#829).
- Updated the IPC methods that interact with engine clients to raise
exception objects rather than strings, for more consistent error
handling throughout.
- Removed duplicate DBI error handling code from engines and tests.
- Fixed an order of operation issue that prevented Sqitch from detecting
Yugabyte before attempting to create an advisory lock, which resulted
in an error for more recent Yugabyte releases. Thanks to Stefano
Ricciardi for the report (#841).
- Removed a wayward mention of the long-deprecated `SQITCH_URI`
environment variable from the Oracle tutorial. Thanks to Austin Hanson
for the report (#845).
- Improved unexpected error output by including any previous exception.
- Changed the "unknown engine" error to a runtime error, rather than
development time, with a localized error message. The error loading
the engine package and the stack trace remain available by using
triple verbosity (`-vvv`). Thanks to Martin Fischer for the report
(#838).
- Changed the default error code from Oracle `sqlplus` from `SQL.SQLCODE`
to `4`, because otherwise the exit code is returned `modulo 256`,
meaning it can end up `0` for success for an SQL error code like
`ORA-01792`. Selected `4` as the replacement to match the behavior of
Exasol and because `FAILURE` maps to exit code `1`, which has in the
past been more akin to a warning. Thanks to @vectro for the report
(#831).
- Added checks for the existence of deploy and revert files when
deploying and reverting. Previously Sqitch deferred such errors to the
CLIs, but they're never called when using `--log-only`. Thanks to
@vectro and Erik Wienhold for the suggestion (#828).
- Fixed a bug where the MySQL engine failed to properly handle target
URIs with no database name. Thanks to Felix Zedén Yverås for the report
(#821).
- Updated the MySQL engine to omit the `checkit()` function when using
binary logging and Sqitch lacks super user permissions. Thanks to Scott
Edwards for the report and to Janosch Peters for the solution (#824).
- Taught the Snowflake engine to detect when the Sqitch user lacks
permission to create a schema and to skip the creation of the registry
schema. Useful for cases when the registry schema was created in
advance. Thanks to Peter Wimsey for the suggestion (#826).
- Switched the MySQL engine from DBD::mysql to DBD::MariaDB for better
compatibility with older versions of the MySQL client library and for
its Unicode improvements. Thanks to Mark Tyrrell for the report and
@tiberiusferreira and Perl Monks `1nickt` and`InfiniteSilence` for the
feedback (#825).
OBS-URL: https://build.opensuse.org/request/show/1236712
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-Sqitch?expand=0&rev=8
2025-01-13 21:47:32 +00:00
|
|
|
Requires: perl(Algorithm::Backoff::Exponential) >= 0.6.0
|
2016-06-12 12:45:33 +00:00
|
|
|
Requires: perl(Clone)
|
2025-05-24 13:28:20 +00:00
|
|
|
Requires: perl(Config::GitLike) >= 1.150
|
Accepting request 1102921 from devel:languages:perl:autoupdate
- updated to 1.4.0
see /usr/share/doc/packages/perl-App-Sqitch/Changes
1.4.0 2023-08-01T23:37:30Z
- Fixed Snowflake warehouse and role setup to properly quote identifiers
unless they're valid unquoted identifiers or already quoted. Thanks to
@marc-marketparts for the report (#685).
- Fixed a bug reworking a change when a rework directory is configured
but not created. Thanks to @jfeaver for the report (#686).
- Output the list of changes to be deployed or reverted when `--verbose`
is specified at least twice. Thanks to @vectro for the PR (#702).
- Fixed the formatting of the log and plan commands to allow empty or `0`
separators in lists of things (such as `%{0}t` for a list of tags).
Thanks to @web-vertalo for the pull request (#703).
- Updated the MySQL Tutorial to use 5.7 features. Thanks to Vlad
Safronov for the PR (#705).
- Deprecated the `no_prompt` and `no_prompt` attributes of
App::Sqitch::Engine in favor of passing booleans to the `revert` and
`verify` methods. The attributes still exist for reverse compatibility,
but now emit warnings and will be removed in the future. Thanks to
Thanks to @vectro for the PR (#704).
- Added a warning for a double extension on the file names created
by the `add` command. Thanks to @blairjordan for the PR (#724)!
- Added the `revert.strict` boolean configuration variable which, when
set to true, requires the specification of a change to revert to. It
also disables the `rebase` and `checkout` commands, though the
`rebase.strict` and `checkout.strict` variables, respectively, may
override it. Use `revert.strict` to prevent accidental reverts in
sensitive environments. Thanks to @vectro for the PR (#719; revised in
#735)!
- Fixed test failures due to a bug fix in the Perl URI module
(libwww-perl/URI#13). Thanks to @bobfang for the report (#744)!
- Fixed test failures due to a change in the generation of DBI DSN by
URI::Oracle introduced by libwww-perl/URI-db#23.
- Added a format option `%F` to `sqitch plan` that prints the path for
the deploy file for each migration in the plan.
- Changed the default location for the Oracle `sqlplus` client when the
`ORACLE_HOME` environment variable is set. It now returns either
`$ORACLE_HOME/bin/sqlplus` or `$ORACLE_HOME/sqlplus` if it exists
and is executable (and ends in `.exe` on Windows). Otherwise it simply
returns `sqlplus` as before, assuming it will be found in the path.
Thanks to @vectro for the suggestion (#747).
- Increased the required version of DBI to 1.631 or higher and removed
a MySQL engine workaround for older versions.
- Added detection of a missing registry schema on connect and conditions
to avoid querying it when it does not exist. Fixes an issue where
Sqitch might find a project record in the current schema instead of the
expected registry schema. Thanks to @vectro for the report and
investigation (#668)!
- Fixed Snowflake and MySQL to properly raise errors on session query
failures immediately after connection.
- Fixed the handling of unique violations for deploy script hash
uniqueness so that it no longer returns a database error but properly
reports the issue in a more human-friendly error message. Thanks to
Stefan Badenhorst for the reminder (#630).
- Updated the registry SQL scripts for Vertica to always enable primary
key and unique constraints. Unique constraints are now enabled for
all database engines except Exasol and Snowflake.
- Dropped support for Vertica 7.1, as unique constraint enforcement was
not added until Vertica 7.2.
- Increased minimum SQLite versions to 3.8.6, when unique constraint
enforcement was added.
- Removed remaining uses of the smartmatch operator, thus eliminating
the Perl 5.38 warnings about its deprecation. (#769)
- Added Cockroach to the list of valid engines recognized in command-line
arguments (and a test to ensure new engines won't be omitted in the
future). Thanks to @NOBLES5E for the spot (#772)!
OBS-URL: https://build.opensuse.org/request/show/1102921
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-Sqitch?expand=0&rev=6
2023-08-08 15:10:22 +00:00
|
|
|
Requires: perl(DBI) >= 1.631
|
2025-04-14 20:40:56 +00:00
|
|
|
Requires: perl(DateTime) >= 1.40.0
|
2016-06-12 12:45:33 +00:00
|
|
|
Requires: perl(DateTime::TimeZone)
|
2025-04-14 20:40:56 +00:00
|
|
|
Requires: perl(Devel::StackTrace) >= 1.300
|
2016-06-12 12:45:33 +00:00
|
|
|
Requires: perl(Digest::SHA)
|
|
|
|
Requires: perl(Encode::Locale)
|
2013-08-14 06:47:02 +00:00
|
|
|
Requires: perl(Hash::Merge)
|
2025-05-24 13:28:20 +00:00
|
|
|
Requires: perl(IO::Pager) >= 0.340
|
2016-06-12 12:45:33 +00:00
|
|
|
Requires: perl(IPC::Run3)
|
2025-05-24 13:28:20 +00:00
|
|
|
Requires: perl(IPC::System::Simple) >= 1.170
|
2013-08-14 06:47:02 +00:00
|
|
|
Requires: perl(List::MoreUtils)
|
|
|
|
Requires: perl(Locale::Messages)
|
2025-04-14 20:40:56 +00:00
|
|
|
Requires: perl(Locale::TextDomain) >= 1.200
|
2016-06-12 12:45:33 +00:00
|
|
|
Requires: perl(Moo) >= 1.002000
|
|
|
|
Requires: perl(Moo::Role)
|
2025-05-24 13:28:20 +00:00
|
|
|
Requires: perl(Path::Class) >= 0.330
|
2016-06-12 12:45:33 +00:00
|
|
|
Requires: perl(PerlIO::utf8_strict)
|
2020-11-09 20:28:40 +00:00
|
|
|
Requires: perl(Pod::Escapes) >= 1.04
|
|
|
|
Requires: perl(Pod::Find)
|
2013-08-14 06:47:02 +00:00
|
|
|
Requires: perl(StackTrace::Auto)
|
|
|
|
Requires: perl(String::Formatter)
|
2016-06-12 12:45:33 +00:00
|
|
|
Requires: perl(String::ShellQuote)
|
2013-08-14 06:47:02 +00:00
|
|
|
Requires: perl(Sub::Exporter)
|
|
|
|
Requires: perl(Sub::Exporter::Util)
|
2025-05-24 13:28:20 +00:00
|
|
|
Requires: perl(Template::Tiny) >= 0.110
|
2013-08-14 06:47:02 +00:00
|
|
|
Requires: perl(Term::ANSIColor) >= 2.02
|
2025-04-14 20:40:56 +00:00
|
|
|
Requires: perl(Throwable) >= 0.200.9
|
2013-08-14 06:47:02 +00:00
|
|
|
Requires: perl(Try::Tiny)
|
2016-06-12 12:45:33 +00:00
|
|
|
Requires: perl(Type::Library) >= 0.040
|
|
|
|
Requires: perl(Type::Utils)
|
|
|
|
Requires: perl(Types::Standard)
|
2013-08-14 06:47:02 +00:00
|
|
|
Requires: perl(URI)
|
2020-11-09 20:28:40 +00:00
|
|
|
Requires: perl(URI::QueryParam)
|
2025-04-14 20:40:56 +00:00
|
|
|
Requires: perl(URI::db) >= 0.200
|
|
|
|
Requires: perl(namespace::autoclean) >= 0.160
|
2016-06-12 12:45:33 +00:00
|
|
|
Requires: perl(parent)
|
2025-05-24 13:28:20 +00:00
|
|
|
Recommends: perl(Class::XSAccessor) >= 1.180
|
2013-08-14 06:47:02 +00:00
|
|
|
Recommends: perl(Pod::Simple) >= 1.41
|
2020-11-09 20:28:40 +00:00
|
|
|
Recommends: perl(Template)
|
Accepting request 1102921 from devel:languages:perl:autoupdate
- updated to 1.4.0
see /usr/share/doc/packages/perl-App-Sqitch/Changes
1.4.0 2023-08-01T23:37:30Z
- Fixed Snowflake warehouse and role setup to properly quote identifiers
unless they're valid unquoted identifiers or already quoted. Thanks to
@marc-marketparts for the report (#685).
- Fixed a bug reworking a change when a rework directory is configured
but not created. Thanks to @jfeaver for the report (#686).
- Output the list of changes to be deployed or reverted when `--verbose`
is specified at least twice. Thanks to @vectro for the PR (#702).
- Fixed the formatting of the log and plan commands to allow empty or `0`
separators in lists of things (such as `%{0}t` for a list of tags).
Thanks to @web-vertalo for the pull request (#703).
- Updated the MySQL Tutorial to use 5.7 features. Thanks to Vlad
Safronov for the PR (#705).
- Deprecated the `no_prompt` and `no_prompt` attributes of
App::Sqitch::Engine in favor of passing booleans to the `revert` and
`verify` methods. The attributes still exist for reverse compatibility,
but now emit warnings and will be removed in the future. Thanks to
Thanks to @vectro for the PR (#704).
- Added a warning for a double extension on the file names created
by the `add` command. Thanks to @blairjordan for the PR (#724)!
- Added the `revert.strict` boolean configuration variable which, when
set to true, requires the specification of a change to revert to. It
also disables the `rebase` and `checkout` commands, though the
`rebase.strict` and `checkout.strict` variables, respectively, may
override it. Use `revert.strict` to prevent accidental reverts in
sensitive environments. Thanks to @vectro for the PR (#719; revised in
#735)!
- Fixed test failures due to a bug fix in the Perl URI module
(libwww-perl/URI#13). Thanks to @bobfang for the report (#744)!
- Fixed test failures due to a change in the generation of DBI DSN by
URI::Oracle introduced by libwww-perl/URI-db#23.
- Added a format option `%F` to `sqitch plan` that prints the path for
the deploy file for each migration in the plan.
- Changed the default location for the Oracle `sqlplus` client when the
`ORACLE_HOME` environment variable is set. It now returns either
`$ORACLE_HOME/bin/sqlplus` or `$ORACLE_HOME/sqlplus` if it exists
and is executable (and ends in `.exe` on Windows). Otherwise it simply
returns `sqlplus` as before, assuming it will be found in the path.
Thanks to @vectro for the suggestion (#747).
- Increased the required version of DBI to 1.631 or higher and removed
a MySQL engine workaround for older versions.
- Added detection of a missing registry schema on connect and conditions
to avoid querying it when it does not exist. Fixes an issue where
Sqitch might find a project record in the current schema instead of the
expected registry schema. Thanks to @vectro for the report and
investigation (#668)!
- Fixed Snowflake and MySQL to properly raise errors on session query
failures immediately after connection.
- Fixed the handling of unique violations for deploy script hash
uniqueness so that it no longer returns a database error but properly
reports the issue in a more human-friendly error message. Thanks to
Stefan Badenhorst for the reminder (#630).
- Updated the registry SQL scripts for Vertica to always enable primary
key and unique constraints. Unique constraints are now enabled for
all database engines except Exasol and Snowflake.
- Dropped support for Vertica 7.1, as unique constraint enforcement was
not added until Vertica 7.2.
- Increased minimum SQLite versions to 3.8.6, when unique constraint
enforcement was added.
- Removed remaining uses of the smartmatch operator, thus eliminating
the Perl 5.38 warnings about its deprecation. (#769)
- Added Cockroach to the list of valid engines recognized in command-line
arguments (and a test to ensure new engines won't be omitted in the
future). Thanks to @NOBLES5E for the spot (#772)!
OBS-URL: https://build.opensuse.org/request/show/1102921
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-Sqitch?expand=0&rev=6
2023-08-08 15:10:22 +00:00
|
|
|
Recommends: perl(Type::Tiny::XS) >= 0.10.0
|
2013-08-14 06:47:02 +00:00
|
|
|
%{perl_requires}
|
2020-11-09 20:28:40 +00:00
|
|
|
# MANUAL BEGIN
|
|
|
|
BuildRequires: perl(Class::XSAccessor)
|
|
|
|
BuildRequires: timezone
|
2022-10-14 08:00:21 +00:00
|
|
|
BuildRequires: perl(Template)
|
2020-11-09 20:28:40 +00:00
|
|
|
Provides: sqitch
|
|
|
|
Requires: perl(Class::XSAccessor)
|
|
|
|
Requires: perl(Template)
|
|
|
|
# MANUAL END
|
2013-08-14 06:47:02 +00:00
|
|
|
|
|
|
|
%description
|
2020-11-09 20:28:40 +00:00
|
|
|
Sensible database change management
|
|
|
|
|
|
|
|
%prep
|
2025-05-24 13:28:20 +00:00
|
|
|
%autosetup -n %{cpan_name}-v%{version} -p1
|
Accepting request 1102921 from devel:languages:perl:autoupdate
- updated to 1.4.0
see /usr/share/doc/packages/perl-App-Sqitch/Changes
1.4.0 2023-08-01T23:37:30Z
- Fixed Snowflake warehouse and role setup to properly quote identifiers
unless they're valid unquoted identifiers or already quoted. Thanks to
@marc-marketparts for the report (#685).
- Fixed a bug reworking a change when a rework directory is configured
but not created. Thanks to @jfeaver for the report (#686).
- Output the list of changes to be deployed or reverted when `--verbose`
is specified at least twice. Thanks to @vectro for the PR (#702).
- Fixed the formatting of the log and plan commands to allow empty or `0`
separators in lists of things (such as `%{0}t` for a list of tags).
Thanks to @web-vertalo for the pull request (#703).
- Updated the MySQL Tutorial to use 5.7 features. Thanks to Vlad
Safronov for the PR (#705).
- Deprecated the `no_prompt` and `no_prompt` attributes of
App::Sqitch::Engine in favor of passing booleans to the `revert` and
`verify` methods. The attributes still exist for reverse compatibility,
but now emit warnings and will be removed in the future. Thanks to
Thanks to @vectro for the PR (#704).
- Added a warning for a double extension on the file names created
by the `add` command. Thanks to @blairjordan for the PR (#724)!
- Added the `revert.strict` boolean configuration variable which, when
set to true, requires the specification of a change to revert to. It
also disables the `rebase` and `checkout` commands, though the
`rebase.strict` and `checkout.strict` variables, respectively, may
override it. Use `revert.strict` to prevent accidental reverts in
sensitive environments. Thanks to @vectro for the PR (#719; revised in
#735)!
- Fixed test failures due to a bug fix in the Perl URI module
(libwww-perl/URI#13). Thanks to @bobfang for the report (#744)!
- Fixed test failures due to a change in the generation of DBI DSN by
URI::Oracle introduced by libwww-perl/URI-db#23.
- Added a format option `%F` to `sqitch plan` that prints the path for
the deploy file for each migration in the plan.
- Changed the default location for the Oracle `sqlplus` client when the
`ORACLE_HOME` environment variable is set. It now returns either
`$ORACLE_HOME/bin/sqlplus` or `$ORACLE_HOME/sqlplus` if it exists
and is executable (and ends in `.exe` on Windows). Otherwise it simply
returns `sqlplus` as before, assuming it will be found in the path.
Thanks to @vectro for the suggestion (#747).
- Increased the required version of DBI to 1.631 or higher and removed
a MySQL engine workaround for older versions.
- Added detection of a missing registry schema on connect and conditions
to avoid querying it when it does not exist. Fixes an issue where
Sqitch might find a project record in the current schema instead of the
expected registry schema. Thanks to @vectro for the report and
investigation (#668)!
- Fixed Snowflake and MySQL to properly raise errors on session query
failures immediately after connection.
- Fixed the handling of unique violations for deploy script hash
uniqueness so that it no longer returns a database error but properly
reports the issue in a more human-friendly error message. Thanks to
Stefan Badenhorst for the reminder (#630).
- Updated the registry SQL scripts for Vertica to always enable primary
key and unique constraints. Unique constraints are now enabled for
all database engines except Exasol and Snowflake.
- Dropped support for Vertica 7.1, as unique constraint enforcement was
not added until Vertica 7.2.
- Increased minimum SQLite versions to 3.8.6, when unique constraint
enforcement was added.
- Removed remaining uses of the smartmatch operator, thus eliminating
the Perl 5.38 warnings about its deprecation. (#769)
- Added Cockroach to the list of valid engines recognized in command-line
arguments (and a test to ensure new engines won't be omitted in the
future). Thanks to @NOBLES5E for the spot (#772)!
OBS-URL: https://build.opensuse.org/request/show/1102921
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-Sqitch?expand=0&rev=6
2023-08-08 15:10:22 +00:00
|
|
|
|
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
2020-11-09 20:28:40 +00:00
|
|
|
|
|
|
|
%build
|
Accepting request 1102921 from devel:languages:perl:autoupdate
- updated to 1.4.0
see /usr/share/doc/packages/perl-App-Sqitch/Changes
1.4.0 2023-08-01T23:37:30Z
- Fixed Snowflake warehouse and role setup to properly quote identifiers
unless they're valid unquoted identifiers or already quoted. Thanks to
@marc-marketparts for the report (#685).
- Fixed a bug reworking a change when a rework directory is configured
but not created. Thanks to @jfeaver for the report (#686).
- Output the list of changes to be deployed or reverted when `--verbose`
is specified at least twice. Thanks to @vectro for the PR (#702).
- Fixed the formatting of the log and plan commands to allow empty or `0`
separators in lists of things (such as `%{0}t` for a list of tags).
Thanks to @web-vertalo for the pull request (#703).
- Updated the MySQL Tutorial to use 5.7 features. Thanks to Vlad
Safronov for the PR (#705).
- Deprecated the `no_prompt` and `no_prompt` attributes of
App::Sqitch::Engine in favor of passing booleans to the `revert` and
`verify` methods. The attributes still exist for reverse compatibility,
but now emit warnings and will be removed in the future. Thanks to
Thanks to @vectro for the PR (#704).
- Added a warning for a double extension on the file names created
by the `add` command. Thanks to @blairjordan for the PR (#724)!
- Added the `revert.strict` boolean configuration variable which, when
set to true, requires the specification of a change to revert to. It
also disables the `rebase` and `checkout` commands, though the
`rebase.strict` and `checkout.strict` variables, respectively, may
override it. Use `revert.strict` to prevent accidental reverts in
sensitive environments. Thanks to @vectro for the PR (#719; revised in
#735)!
- Fixed test failures due to a bug fix in the Perl URI module
(libwww-perl/URI#13). Thanks to @bobfang for the report (#744)!
- Fixed test failures due to a change in the generation of DBI DSN by
URI::Oracle introduced by libwww-perl/URI-db#23.
- Added a format option `%F` to `sqitch plan` that prints the path for
the deploy file for each migration in the plan.
- Changed the default location for the Oracle `sqlplus` client when the
`ORACLE_HOME` environment variable is set. It now returns either
`$ORACLE_HOME/bin/sqlplus` or `$ORACLE_HOME/sqlplus` if it exists
and is executable (and ends in `.exe` on Windows). Otherwise it simply
returns `sqlplus` as before, assuming it will be found in the path.
Thanks to @vectro for the suggestion (#747).
- Increased the required version of DBI to 1.631 or higher and removed
a MySQL engine workaround for older versions.
- Added detection of a missing registry schema on connect and conditions
to avoid querying it when it does not exist. Fixes an issue where
Sqitch might find a project record in the current schema instead of the
expected registry schema. Thanks to @vectro for the report and
investigation (#668)!
- Fixed Snowflake and MySQL to properly raise errors on session query
failures immediately after connection.
- Fixed the handling of unique violations for deploy script hash
uniqueness so that it no longer returns a database error but properly
reports the issue in a more human-friendly error message. Thanks to
Stefan Badenhorst for the reminder (#630).
- Updated the registry SQL scripts for Vertica to always enable primary
key and unique constraints. Unique constraints are now enabled for
all database engines except Exasol and Snowflake.
- Dropped support for Vertica 7.1, as unique constraint enforcement was
not added until Vertica 7.2.
- Increased minimum SQLite versions to 3.8.6, when unique constraint
enforcement was added.
- Removed remaining uses of the smartmatch operator, thus eliminating
the Perl 5.38 warnings about its deprecation. (#769)
- Added Cockroach to the list of valid engines recognized in command-line
arguments (and a test to ensure new engines won't be omitted in the
future). Thanks to @NOBLES5E for the spot (#772)!
OBS-URL: https://build.opensuse.org/request/show/1102921
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-Sqitch?expand=0&rev=6
2023-08-08 15:10:22 +00:00
|
|
|
perl Build.PL --installdirs=vendor
|
|
|
|
./Build build --flags=%{?_smp_mflags}
|
2020-11-09 20:28:40 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
./Build test
|
|
|
|
|
|
|
|
%install
|
Accepting request 1102921 from devel:languages:perl:autoupdate
- updated to 1.4.0
see /usr/share/doc/packages/perl-App-Sqitch/Changes
1.4.0 2023-08-01T23:37:30Z
- Fixed Snowflake warehouse and role setup to properly quote identifiers
unless they're valid unquoted identifiers or already quoted. Thanks to
@marc-marketparts for the report (#685).
- Fixed a bug reworking a change when a rework directory is configured
but not created. Thanks to @jfeaver for the report (#686).
- Output the list of changes to be deployed or reverted when `--verbose`
is specified at least twice. Thanks to @vectro for the PR (#702).
- Fixed the formatting of the log and plan commands to allow empty or `0`
separators in lists of things (such as `%{0}t` for a list of tags).
Thanks to @web-vertalo for the pull request (#703).
- Updated the MySQL Tutorial to use 5.7 features. Thanks to Vlad
Safronov for the PR (#705).
- Deprecated the `no_prompt` and `no_prompt` attributes of
App::Sqitch::Engine in favor of passing booleans to the `revert` and
`verify` methods. The attributes still exist for reverse compatibility,
but now emit warnings and will be removed in the future. Thanks to
Thanks to @vectro for the PR (#704).
- Added a warning for a double extension on the file names created
by the `add` command. Thanks to @blairjordan for the PR (#724)!
- Added the `revert.strict` boolean configuration variable which, when
set to true, requires the specification of a change to revert to. It
also disables the `rebase` and `checkout` commands, though the
`rebase.strict` and `checkout.strict` variables, respectively, may
override it. Use `revert.strict` to prevent accidental reverts in
sensitive environments. Thanks to @vectro for the PR (#719; revised in
#735)!
- Fixed test failures due to a bug fix in the Perl URI module
(libwww-perl/URI#13). Thanks to @bobfang for the report (#744)!
- Fixed test failures due to a change in the generation of DBI DSN by
URI::Oracle introduced by libwww-perl/URI-db#23.
- Added a format option `%F` to `sqitch plan` that prints the path for
the deploy file for each migration in the plan.
- Changed the default location for the Oracle `sqlplus` client when the
`ORACLE_HOME` environment variable is set. It now returns either
`$ORACLE_HOME/bin/sqlplus` or `$ORACLE_HOME/sqlplus` if it exists
and is executable (and ends in `.exe` on Windows). Otherwise it simply
returns `sqlplus` as before, assuming it will be found in the path.
Thanks to @vectro for the suggestion (#747).
- Increased the required version of DBI to 1.631 or higher and removed
a MySQL engine workaround for older versions.
- Added detection of a missing registry schema on connect and conditions
to avoid querying it when it does not exist. Fixes an issue where
Sqitch might find a project record in the current schema instead of the
expected registry schema. Thanks to @vectro for the report and
investigation (#668)!
- Fixed Snowflake and MySQL to properly raise errors on session query
failures immediately after connection.
- Fixed the handling of unique violations for deploy script hash
uniqueness so that it no longer returns a database error but properly
reports the issue in a more human-friendly error message. Thanks to
Stefan Badenhorst for the reminder (#630).
- Updated the registry SQL scripts for Vertica to always enable primary
key and unique constraints. Unique constraints are now enabled for
all database engines except Exasol and Snowflake.
- Dropped support for Vertica 7.1, as unique constraint enforcement was
not added until Vertica 7.2.
- Increased minimum SQLite versions to 3.8.6, when unique constraint
enforcement was added.
- Removed remaining uses of the smartmatch operator, thus eliminating
the Perl 5.38 warnings about its deprecation. (#769)
- Added Cockroach to the list of valid engines recognized in command-line
arguments (and a test to ensure new engines won't be omitted in the
future). Thanks to @NOBLES5E for the spot (#772)!
OBS-URL: https://build.opensuse.org/request/show/1102921
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-Sqitch?expand=0&rev=6
2023-08-08 15:10:22 +00:00
|
|
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
2020-11-09 20:28:40 +00:00
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
%doc Changes README README.md
|
|
|
|
%license LICENSE LICENSE.md
|
|
|
|
%{_prefix}%{_sysconfdir}/sqitch
|
2013-08-14 06:47:02 +00:00
|
|
|
|
|
|
|
%package pg
|
|
|
|
Summary: Sane database change management for PostgreSQL
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Requires: postgresql
|
2016-06-12 12:45:33 +00:00
|
|
|
Requires: sqitch >= %{version}
|
2013-08-14 06:47:02 +00:00
|
|
|
Requires: perl(DBD::Pg)
|
2016-06-12 12:45:33 +00:00
|
|
|
Requires: perl(DBI)
|
2013-08-14 06:47:02 +00:00
|
|
|
|
|
|
|
%description pg
|
|
|
|
Sqitch provides a simple yet robust interface for database change
|
|
|
|
management. The philosophy and functionality is inspired by Git. This
|
|
|
|
package bundles the Sqitch PostgreSQL support.
|
|
|
|
|
|
|
|
%package sqlite
|
|
|
|
Summary: Sane database change management for SQLite
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Requires: sqitch >= %{version}
|
2016-06-12 12:45:33 +00:00
|
|
|
Requires: sqlite3
|
2013-08-14 06:47:02 +00:00
|
|
|
Requires: perl(DBD::SQLite) >= 1.31
|
2016-06-12 12:45:33 +00:00
|
|
|
Requires: perl(DBI)
|
2013-08-14 06:47:02 +00:00
|
|
|
|
|
|
|
%description sqlite
|
|
|
|
Sqitch provides a simple yet robust interface for database change
|
|
|
|
management. The philosophy and functionality is inspired by Git. This
|
|
|
|
package bundles the Sqitch SQLite support.
|
|
|
|
|
|
|
|
%package mysql
|
2020-11-09 20:28:40 +00:00
|
|
|
Summary: Sane database change management for MySQL
|
2013-08-14 06:47:02 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Requires: mysql
|
2016-06-12 12:45:33 +00:00
|
|
|
Requires: sqitch >= %{version}
|
2013-08-14 06:47:02 +00:00
|
|
|
Requires: perl(DBD::mysql)
|
2016-06-12 12:45:33 +00:00
|
|
|
Requires: perl(DBI)
|
2013-08-14 06:47:02 +00:00
|
|
|
|
|
|
|
%description mysql
|
|
|
|
Sqitch provides a simple yet robust interface for database change
|
|
|
|
management. The philosophy and functionality is inspired by Git. This
|
|
|
|
package bundles the Sqitch MySQL support.
|
|
|
|
|
|
|
|
%files mysql
|
|
|
|
# No additional files required.
|
|
|
|
|
|
|
|
%files sqlite
|
|
|
|
# No additional files required.
|
|
|
|
|
|
|
|
%files pg
|
|
|
|
|
|
|
|
%changelog
|