From 78f0ca92d0f5e2dcabf787ed3bda754127d91e75 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 19 May 2021 09:24:28 +0200 Subject: update to 0.12.7 --- composer.json | 2 +- phinx.spec | 17 ++++++++--------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/composer.json b/composer.json index 71b39b0..f456f05 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "require": { "php": ">=7.2", "cakephp/database": "^4.0", - "psr/container": "^1.0", + "psr/container": "^1.0 || ^2.0", "symfony/console": "^3.4|^4.0|^5.0", "symfony/config": "^3.4|^4.0|^5.0" }, diff --git a/phinx.spec b/phinx.spec index f5fa03d..46aa224 100644 --- a/phinx.spec +++ b/phinx.spec @@ -10,7 +10,7 @@ # For compatibility with SCL %undefine __brp_mangle_shebangs -%global gh_commit 3519c5c8d36ec9d41915a9416d2d434adaa79690 +%global gh_commit bdd8f337fcdf24c20d0b708664a85ca9b8d5dbe2 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner robmorgan #global gh_date 20150820 @@ -19,7 +19,7 @@ %bcond_without tests Name: %{gh_project} -Version: 0.12.6 +Version: 0.12.7 Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: Manage the database migrations for your PHP app @@ -74,7 +74,7 @@ BuildRequires: php-composer(fedora/autoloader) # From composer.json, "require": { # "php": ">=7.2", # "cakephp/database": "^4.0", -# "psr/container": "^1.0", +# "psr/container": "^1.0 || ^2.0", # "symfony/console": "^3.4|^4.0|^5.0", # "symfony/config": "^3.4|^4.0|^5.0" # From composer.json, "suggest": { @@ -164,13 +164,9 @@ require '%{buildroot}%{_datadir}/php/%{psr0}/autoload.php'; \Fedora\Autoloader\Autoload::addPsr4('Test\\Phinx\\', dirname(__DIR__).'/tests/Phinx'); EOF -%if 0%{?rhel} == 6 || 0%{?rhel} == 7 +%if 0%{?rhel} == 7 : SQLite is too old -sed -e '/_ENABLED/s/true/false/' \ - phpunit.xml.dist >phpunit.xml -%else -sed -e '/_ENABLED/s/true/false/;/SQLITE_ENABLED/s/false/true/' \ - phpunit.xml.dist >phpunit.xml +rm tests/Phinx/Db/Adapter/SQLiteAdapterTest.php %endif : Run upstream test suite @@ -200,6 +196,9 @@ exit $ret %changelog +* Wed May 19 2021 Remi Collet - 0.12.7-1 +- update to 0.12.7 + * Wed Mar 17 2021 Remi Collet - 0.12.6-1 - update to 0.12.6 -- cgit