From dca074e05cca94b42663a0204e1e58490262db15 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 13 Apr 2020 08:17:34 +0200 Subject: v0.12.1 --- phinx.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'phinx.spec') diff --git a/phinx.spec b/phinx.spec index df7dcba..e011e5a 100644 --- a/phinx.spec +++ b/phinx.spec @@ -10,7 +10,7 @@ # For compatibility with SCL %undefine __brp_mangle_shebangs -%global gh_commit 415000ce988af20c2e4a8110f32171975f31743e +%global gh_commit 94d0b78f68bfb20aac4c59b0b3ff49956803fc70 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner robmorgan #global gh_date 20150820 @@ -19,7 +19,7 @@ %global with_tests 0%{!?_without_tests:1} Name: %{gh_project} -Version: 0.12.0 +Version: 0.12.1 Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: Manage the database migrations for your PHP app @@ -55,6 +55,7 @@ BuildRequires: php-pcre BuildRequires: php-spl # For tests, from composer.json "require-dev": { # "ext-json": "*", +# "ext-pdo": "*", # "phpunit/phpunit": ^8.5", # "sebastian/comparator": ">=1.2.3", # "cakephp/cakephp-codesniffer": "^3.0", @@ -73,6 +74,7 @@ BuildRequires: php-composer(fedora/autoloader) # "symfony/config": "^3.4|^4.0|^5.0" # From composer.json, "suggest": { # "ext-json": "Install if using JSON configuration format", +# "ext-pdo": "PDO extension is needed", # "symfony/yaml": "Install if using YAML configuration format" Requires: php(language) >= 7.2 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 @@ -120,7 +122,7 @@ sed -e 's/@VERSION@/%{version}/' \ cp %{SOURCE1} src/%{psr0}/autoload.php -sed -e 's:../data/Phinx:data:' -i src/Phinx/Console/Command/Init.php +sed -e 's:../../data:data:' -i src/Phinx/Console/Command/Init.php : Create the launcher cat << 'EOF' | tee phinx @@ -142,7 +144,7 @@ mkdir -p %{buildroot}%{_datadir}/php cp -pr src/%{psr0} %{buildroot}%{_datadir}/php/%{psr0} : Default config files -cp -pr src/data/%{psr0} %{buildroot}%{_datadir}/php/%{psr0}/data +cp -pr data %{buildroot}%{_datadir}/php/%{psr0}/data : The command install -Dpm 755 phinx %{buildroot}%{_bindir}/phinx @@ -193,6 +195,9 @@ exit $ret %changelog +* Mon Apr 13 2020 Remi Collet - 0.12.1-1 +- update to 0.12.1 + * Fri Apr 10 2020 Remi Collet - 0.12.0-1 - update to 0.12.0 - raise dependency on PHP 7.2 -- cgit