diff --git a/.gitignore b/.gitignore index 881e615..198c938 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,7 @@ clog /php-compat-info-5.0.5-cbd0389.tar.gz /php-compat-info-5.0.6-3878275.tar.gz /php-compat-info-5.0.7-1a615a1.tar.gz +/php-compat-info-5.0.8-18913e8.tar.gz +/php-compat-info-5.0.9-23db55a.tar.gz +/php-compat-info-5.0.10-c2ba1ec.tar.gz +/php-bartlett-PHP-CompatInfo-5.0.11-56a9f8b.tar.gz diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 92a7b5f..867f41b 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 1a615a1da6ee539c6ce7444b85f764fe22e4194c +%global gh_commit 56a9f8bcfa63651d5752659447d6145cfa296a3e %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.7 +Version: 5.0.11 %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 @@ -24,7 +30,7 @@ Summary: Find out version and the extensions required for a piece of code Group: Development/Libraries License: BSD URL: http://php5.laurent-laville.org/compatinfo/ -Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}%{?prever}-%{gh_short}.tar.gz +Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}%{?prever}-%{gh_short}.tar.gz # Script for fedora-review Source1: fedora-review-check @@ -36,48 +42,47 @@ Source2: %{name}-5.0.0-autoload.php Patch0: %{name}-5.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 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) %endif # From composer.json, "require" -# "php": ">=5.4.0", +# "php": ">=5.5", # "ext-libxml": "*", # "ext-pcre": "*", # "ext-spl": "*", # "ext-json": "*", # "ext-pdo_sqlite": "*", # "symfony/console": "~2.5", -# "bartlett/php-reflect": "~4.0", -# "bartlett/php-compatinfo-db": "~1.0" -Requires: php(language) >= 5.4.0 +# "bartlett/php-reflect": "^4.2", +# "bartlett/php-compatinfo-db": "^1.23" +Requires: php(language) >= 5.5 Requires: php-cli Requires: php-json 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.15 +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", -# "monolog/monolog": "~1.10", -# "bartlett/monolog-callbackfilterhandler": "~1.0", -# "bartlett/monolog-growlhandler": "~1.0", -# "bartlett/phpunit-loggertestlistener": "~1.5", -# "bartlett/umlwriter": "~1.0" +# "doctrine/cache": "^1.3", +# "psr/log": "^1.0", +# "monolog/monolog": "^1.10", +# "bartlett/monolog-callbackfilterhandler": "^1.0", +# "bartlett/monolog-growlhandler": "^1.0", +# "bartlett/phpunit-loggertestlistener": "^1.5", +# "bartlett/umlwriter": "^1.0" # From composer.json, "suggest" # "doctrine/cache": "Allow caching results, since bartlett/php-reflect 2.2", # "psr/log": "Allow logging events with the LogPlugin", @@ -169,6 +174,21 @@ fi %changelog +* Tue Dec 12 2017 Remi Collet - 5.0.11-1 +- Update to 5.0.11 (no change) +- raise dependency on PHP 5.5 + +* Tue Dec 12 2017 Remi Collet - 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 - 5.0.9-1 +- Update to 5.0.9 + +* Mon Aug 7 2017 Remi Collet - 5.0.8-1 +- Update to 5.0.8 + * Sat Jun 10 2017 Remi Collet - 5.0.7-1 - Update to 5.0.7 diff --git a/sources b/sources index 54450a2..9b6d990 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-compat-info-5.0.7-1a615a1.tar.gz) = 6a9e992a51f829e6901899e3dda396bd48073b9ee93b149390329a12f44521714c5ad5486081abe10068c14b70cb9c3dc4e79ea3991f9c832ad8ea6523daf516 +SHA512 (php-bartlett-PHP-CompatInfo-5.0.11-56a9f8b.tar.gz) = bb8a7bc35f67142033aa5f6a929b64b652a1200167a1db6c643369252edaabe87b9b25d4b5d8449ea3301aacf5d8be12d8f8e5792910235ecef54d5ecad7d074