summaryrefslogtreecommitdiffstats
path: root/phinx.spec
diff options
context:
space:
mode:
Diffstat (limited to 'phinx.spec')
-rw-r--r--phinx.spec17
1 files changed, 8 insertions, 9 deletions
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 <remi@remirepo.net> - 0.12.7-1
+- update to 0.12.7
+
* Wed Mar 17 2021 Remi Collet <remi@remirepo.net> - 0.12.6-1
- update to 0.12.6