diff options
-rw-r--r-- | php-bartlett-PHP-CompatInfo.spec | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 8962fc7..3cb22d1 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} -%global gh_commit 23db55a1c8f8a078e691bc66524fcb73eabbcb2c +%global gh_commit c2ba1eca8ec7927e01f0178095a63b7982326893 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) #global gh_date 20151005 %global gh_owner llaville @@ -15,8 +15,14 @@ #global prever RC2 %global with_tests %{?_without_tests:0}%{!?_without_tests:1} +%if 0%{?fedora} >= 27 +%global sym_prefix php-symfony3 +%else +%global sym_prefix php-symfony +%endif + Name: php-bartlett-PHP-CompatInfo -Version: 5.0.9 +Version: 5.0.10 %global specrel 1 Release: %{?gh_date:1%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist} Summary: Find out version and the extensions required for a piece of code to run @@ -41,7 +47,7 @@ BuildRequires: php(language) >= 5.4.0 # to run test suite BuildRequires: %{_bindir}/phpunit BuildRequires: php-pdo_sqlite -BuildRequires: php-composer(bartlett/php-reflect) >= 4.0 +BuildRequires: php-composer(bartlett/php-reflect) >= 4.2 BuildRequires: php-composer(bartlett/php-compatinfo-db) >= 1.15 # For our patch / autoloader BuildRequires: php-composer(fedora/autoloader) @@ -64,12 +70,11 @@ Requires: php-libxml Requires: php-pcre Requires: php-pdo_sqlite Requires: php-spl -Requires: php-composer(bartlett/php-reflect) >= 4.0 +Requires: php-composer(bartlett/php-reflect) >= 4.2 Requires: php-composer(bartlett/php-reflect) < 5 Requires: php-composer(bartlett/php-compatinfo-db) >= 1.23 Requires: php-composer(bartlett/php-compatinfo-db) < 2 -Requires: php-composer(symfony/console) >= 2.5 -Requires: php-composer(symfony/console) < 3 +Requires: %{sym_prefix}-console # From composer.json, "require-dev": { # "doctrine/cache": "^1.3", # "psr/log": "^1.0", @@ -169,6 +174,11 @@ fi %changelog +* Tue Dec 12 2017 Remi Collet <remi@remirepo.net> - 5.0.10-1 +- Update to 5.0.10 (no change) +- raise dependency on bartlett/php-reflect 4.2 +- only require a single Symfony version + * Wed Dec 6 2017 Remi Collet <remi@remirepo.net> - 5.0.9-1 - Update to 5.0.9 |