diff options
author | Remi Collet <remi@remirepo.net> | 2018-05-14 10:24:13 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-05-14 10:24:13 +0200 |
commit | 1da5985f4714b4479652adc1d9f6e95f1d52c201 (patch) | |
tree | 5570b94513959ea10da96db0c71790801acee2c4 | |
parent | a638a000147eb1986af032b0b04bc43ce3a836dd (diff) |
update to 1.6.1
raise dependency on PHP 5.4
add dependency on json extension
-rw-r--r-- | composer.json | 2 | ||||
-rw-r--r-- | php-myclabs-php-enum.spec | 19 |
2 files changed, 14 insertions, 7 deletions
diff --git a/composer.json b/composer.json index e9769a3..1395658 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ } }, "require": { - "php": ">=5.3" + "php": ">=5.4" }, "require-dev": { "phpunit/phpunit": "^4.8.35|^5.7|^6.0", diff --git a/php-myclabs-php-enum.spec b/php-myclabs-php-enum.spec index 0b22b05..dbe02ac 100644 --- a/php-myclabs-php-enum.spec +++ b/php-myclabs-php-enum.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global gh_commit 3ed7088cfd0a0e06534b7f8b0eee82acea574fac +%global gh_commit 8c5649e4ed99acd53a40eada270154dcac089f7e %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner myclabs %global gh_project php-enum @@ -20,7 +20,7 @@ %global with_tests 0%{!?_without_tests:1} Name: php-%{pk_vendor}-%{pk_project} -Version: 1.5.2 +Version: 1.6.1 Release: 1%{?dist} Summary: PHP Enum implementation @@ -34,8 +34,9 @@ Source1: makesrc.sh BuildArch: noarch %if %{with_tests} # For tests -BuildRequires: php(language) >= 5.3 +BuildRequires: php(language) >= 5.4 BuildRequires: php-reflection +BuildRequires: php-json BuildRequires: php-spl # From composer.json, "require-dev": { # "phpunit/phpunit": "^4.8.35|^5.7|^6.0", @@ -51,10 +52,11 @@ BuildRequires: php-composer(fedora/autoloader) %endif # From composer.json, "require": { -# "php": ">=5.3" -Requires: php(language) >= 5.3 -# From phpcompatinfo report for version 1.5.1 +# "php": ">=5.4" +Requires: php(language) >= 5.4 +# From phpcompatinfo report for version 1.6.1 Requires: php-reflection +Requires: php-json Requires: php-spl # Required by autoloader Requires: php-composer(fedora/autoloader) @@ -121,6 +123,11 @@ exit $ret %changelog +* Mon May 14 2018 Remi Collet <remi@remirepo.net> - 1.6.1-1 +- update to 1.6.1 +- raise dependency on PHP 5.4 +- add dependency on json extension + * Thu Jun 29 2017 Remi Collet <remi@remirepo.net> - 1.5.2-1 - Update to 1.5.2 (no change) - use phpunit6 on F26+ |