summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json10
-rw-r--r--php-bartlett-PHP-Reflect.spec16
2 files changed, 18 insertions, 8 deletions
diff --git a/composer.json b/composer.json
index 73916d8..ad5cdef 100644
--- a/composer.json
+++ b/composer.json
@@ -16,7 +16,7 @@
}
],
"require": {
- "php": ">=5.4.0",
+ "php": ">=5.5",
"ext-tokenizer": "*",
"ext-pcre": "*",
"ext-phar": "*",
@@ -26,7 +26,7 @@
"ext-reflection": "*",
"sebastian/version": "^1.0|^2.0",
"nikic/php-parser": "^2.1",
- "doctrine/collections": ">=1.2 <1.5",
+ "doctrine/collections": "^1.2",
"symfony/event-dispatcher": "^2.5|^3.0",
"symfony/finder": "^2.5|^3.0",
"symfony/console": "^2.5|^3.0",
@@ -74,5 +74,11 @@
"psr-4": {
"Bartlett\\Tests\\Reflect\\": "tests/"
}
+ },
+ "config": {
+ "platform": {
+ "php": "5.5.0"
+ },
+ "optimize-autoloader": true
}
}
diff --git a/php-bartlett-PHP-Reflect.spec b/php-bartlett-PHP-Reflect.spec
index 70242ba..2010f84 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 c6804456bf956a75470b9714936f99a316d9f32d
+%global gh_commit 48b8e0f7770509a1e426abd412c0ad51011ff6e4
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
#global gh_date 20150331
%global gh_owner llaville
@@ -26,7 +26,7 @@
%endif
Name: php-bartlett-PHP-Reflect
-Version: 4.2.0
+Version: 4.2.1
%global specrel 1
Release: %{?gh_date:1%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist}
Summary: Adds the ability to reverse-engineer PHP
@@ -43,7 +43,7 @@ Source1: %{name}-autoload.php
Patch0: %{name}-4.0.0-rpm.patch
BuildArch: noarch
-BuildRequires: php(language) >= 5.4.0
+BuildRequires: php(language) >= 5.5
%if %{with_tests}
# to run test suite
BuildRequires: %{_bindir}/phpunit
@@ -72,7 +72,7 @@ BuildRequires: php-composer(fedora/autoloader)
%endif
# From composer.json, "require": {
-# "php": ">=5.4.0",
+# "php": ">=5.5",
# "ext-tokenizer": "*",
# "ext-pcre": "*",
# "ext-spl": "*",
@@ -81,7 +81,7 @@ BuildRequires: php-composer(fedora/autoloader)
# "ext-reflection": "*",
# "sebastian/version": "^1.0|^2.0",
# "nikic/php-parser": "^2.1",
-# "doctrine/collections": ">=1.2 <1.5",
+# "doctrine/collections": "^1.2",
# "symfony/event-dispatcher": "^2.5|^3.0",
# "symfony/finder": "^2.5|^3.0",
# "symfony/console": "^2.5|^3.0",
@@ -90,7 +90,7 @@ BuildRequires: php-composer(fedora/autoloader)
# "phpdocumentor/reflection-docblock": "^3.0",
# "justinrainbow/json-schema": "^1.3",
# "seld/jsonlint": "^1.1"
-Requires: php(language) >= 5.4.0
+Requires: php(language) >= 5.5
Requires: php-cli
Requires: php-date
Requires: php-json
@@ -214,6 +214,10 @@ fi
%changelog
+* Tue Dec 12 2017 Remi Collet <remi@remirepo.net> - 4.2.1-1
+- Update to 4.2.1 (no change)
+- raise dependency on PHP 5.5
+
* Tue Dec 12 2017 Remi Collet <remi@remirepo.net> - 4.2.0-1
- Update to 4.2.0
- only require a single Symfony version