diff options
Diffstat (limited to 'php-bartlett-PHP-Reflect.spec')
-rw-r--r-- | php-bartlett-PHP-Reflect.spec | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/php-bartlett-PHP-Reflect.spec b/php-bartlett-PHP-Reflect.spec index 7339a54..993d76b 100644 --- a/php-bartlett-PHP-Reflect.spec +++ b/php-bartlett-PHP-Reflect.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # %global bootstrap 0 -%global gh_commit e2ec9e8bd324e18030059d8cba4bfbdfe763678c +%global gh_commit e8da05ee5d7469f8a48d6d28ed0bcd8eaf8ef79e %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) #global gh_date 20150331 %global gh_owner llaville @@ -20,7 +20,7 @@ %endif Name: php-bartlett-PHP-Reflect -Version: 3.1.2 +Version: 4.0.0 %global specrel 1 Release: %{?gh_date:0.%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist} Summary: Adds the ability to reverse-engineer PHP @@ -34,15 +34,15 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit Source1: %{name}-autoload.php # Enable cache plugin -Patch0: %{name}-3.1.1-rpm.patch +Patch0: %{name}-4.0.0-rpm.patch BuildArch: noarch -BuildRequires: php(language) >= 5.3 +BuildRequires: php(language) >= 5.4.0 %if %{with_tests} # to run test suite BuildRequires: %{_bindir}/phpunit BuildRequires: php-composer(sebastian/version) >= 1.0 -BuildRequires: php-composer(nikic/php-parser) >= 1.2.2 +BuildRequires: php-composer(nikic/php-parser) >= 1.4 BuildRequires: php-composer(doctrine/collections) >= 1.2 BuildRequires: php-composer(symfony/event-dispatcher) >= 2.5 BuildRequires: php-composer(symfony/finder) >= 2.5 @@ -60,7 +60,7 @@ BuildRequires: php-composer(symfony/class-loader) >= 2.5 %endif # From composer.json, "require": { -# "php": ">=5.3.2", +# "php": ">=5.4.0", # "ext-tokenizer": "*", # "ext-pcre": "*", # "ext-spl": "*", @@ -68,7 +68,7 @@ BuildRequires: php-composer(symfony/class-loader) >= 2.5 # "ext-date": "*", # "ext-reflection": "*", # "sebastian/version": "~1.0", -# "nikic/php-parser": "^1.2.2", +# "nikic/php-parser": "~1.4", # "doctrine/collections": "~1.2", # "symfony/event-dispatcher": "~2.5", # "symfony/finder": "~2.5", @@ -78,7 +78,7 @@ BuildRequires: php-composer(symfony/class-loader) >= 2.5 # "phpdocumentor/reflection-docblock": "~2.0", # "justinrainbow/json-schema": "~1.3", # "seld/jsonlint": "~1.1" -Requires: php(language) >= 5.3.2 +Requires: php(language) >= 5.4.0 Requires: php-cli Requires: php-date Requires: php-json @@ -89,7 +89,7 @@ Requires: php-spl Requires: php-tokenizer Requires: php-composer(sebastian/version) >= 1.0 Requires: php-composer(sebastian/version) < 2 -Requires: php-composer(nikic/php-parser) >= 1.2.2 +Requires: php-composer(nikic/php-parser) >= 1.4 Requires: php-composer(nikic/php-parser) < 2 Requires: php-composer(doctrine/collections) >= 1.2 Requires: php-composer(doctrine/collections) < 2 @@ -170,8 +170,8 @@ install -D -p -m 644 bin/phpreflect.1 %{buildroot}%{_mandir}/man1/phpref %check %if %{with_tests} -# Version 3.1.2: OK, but incomplete, skipped, or risky tests! -# Tests: 122, Assertions: 123, Incomplete: 3. +# Version 4.0.0: OK, but incomplete, skipped, or risky tests! +Tests: 122, Assertions: 123, Incomplete: 3. %{_bindir}/phpunit \ --include-path=%{buildroot}%{_datadir}/php \ --verbose @@ -198,6 +198,11 @@ fi %changelog +* Sat Dec 5 2015 Remi Collet <remi@fedoraproject.org> - 4.0.0-1 +- update to 4.0.0 +- raise dependency on nikic/php-parser >= 1.4 +- raise dependency on PHP >= 5.4 + * Tue Sep 29 2015 Remi Collet <remi@fedoraproject.org> - 3.1.2-1 - update to 3.1.2 |