diff options
author | Remi Collet <remi@remirepo.net> | 2018-12-07 10:25:16 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-12-07 10:25:16 +0100 |
commit | 76407f06545e7c0814d4641136ad8b6127268f20 (patch) | |
tree | 966a619e3cb0c6b5adb8c24a871887f0c8f9e273 /php-phpdocumentor-reflection-docblock.spec | |
parent | caf45bbfb1ee76fc82e05f7bb0202bf0c924630b (diff) |
Diffstat (limited to 'php-phpdocumentor-reflection-docblock.spec')
-rw-r--r-- | php-phpdocumentor-reflection-docblock.spec | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/php-phpdocumentor-reflection-docblock.spec b/php-phpdocumentor-reflection-docblock.spec index 779e09d..9368ec8 100644 --- a/php-phpdocumentor-reflection-docblock.spec +++ b/php-phpdocumentor-reflection-docblock.spec @@ -1,6 +1,6 @@ # Fedora/remirepo spec file for php-phpdocumentor-reflection-docblock # -# Copyright (c) 2017 Remi Collet, Shawn Iwinski +# Copyright (c) 2017-2018 Remi Collet, Shawn Iwinski # 2014-2015 Remi Collet # # License: CC-BY-SA @@ -16,7 +16,7 @@ Name: php-phpdocumentor-reflection-docblock Version: 3.2.2 -Release: 1%{?dist} +Release: 4%{?dist} Summary: DocBlock parser Group: Development/Libraries @@ -32,17 +32,31 @@ BuildArch: noarch BuildRequires: php-fedora-autoloader-devel %if %{with_tests} BuildRequires: php(language) >= 5.5 +# remirepo:1 +%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 +BuildRequires: (php-composer(phpdocumentor/reflection-common) >= 1.0 with php-composer(phpdocumentor/reflection-common) < 2) +BuildRequires: (php-composer(phpdocumentor/type-resolver) >= 0.3.0 with php-composer(phpdocumentor/type-resolver) < 1.0) +BuildRequires: (php-composer(webmozart/assert) >= 1.0 with php-composer(webmozart/assert) < 2) +# remirepo:8 +%else BuildRequires: php-composer(phpdocumentor/reflection-common) < 2 BuildRequires: php-composer(phpdocumentor/reflection-common) >= 1.0 BuildRequires: php-composer(phpdocumentor/type-resolver) < 1.0 BuildRequires: php-composer(phpdocumentor/type-resolver) >= 0.3.0 -BuildRequires: php-composer(phpunit/phpunit) BuildRequires: php-composer(webmozart/assert) < 2 BuildRequires: php-composer(webmozart/assert) >= 1.0 +%endif +BuildRequires: php-composer(phpunit/phpunit) # From composer.json, require-dev # "mockery/mockery": "^0.9.4" +# remirepo:1 +%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 +BuildRequires: (php-composer(mockery/mockery) >= 0.9.4 with php-composer(mockery/mockery) < 1) +# remirepo:4 +%else BuildRequires: php-composer(mockery/mockery) < 1 BuildRequires: php-composer(mockery/mockery) >= 0.9.4 +%endif # From phpcompatinfo report for 3.2.1 BuildRequires: php-filter BuildRequires: php-pcre @@ -56,12 +70,20 @@ BuildRequires: php-spl # "phpdocumentor/type-resolver": "^0.3.0", # "webmozart/assert": "^1.0" Requires: php(language) >= 5.5 +# remirepo:1 +%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 +Requires: (php-composer(phpdocumentor/reflection-common) >= 1.0 with php-composer(phpdocumentor/reflection-common) < 2) +Requires: (php-composer(phpdocumentor/type-resolver) >= 0.3.0 with php-composer(phpdocumentor/type-resolver) < 1.0) +Requires: (php-composer(webmozart/assert) >= 1.0 with php-composer(webmozart/assert) < 2) +# remirepo:8 +%else Requires: php-composer(phpdocumentor/reflection-common) < 2 Requires: php-composer(phpdocumentor/reflection-common) >= 1.0 Requires: php-composer(phpdocumentor/type-resolver) < 1 Requires: php-composer(phpdocumentor/type-resolver) >= 0.3.0 Requires: php-composer(webmozart/assert) < 2 Requires: php-composer(webmozart/assert) >= 1.0 +%endif # From phpcompatinfo report for 3.2.1 Requires: php-filter Requires: php-pcre @@ -157,6 +179,9 @@ exit $RETURN_CODE %changelog +* Fri Dec 7 2018 Remi Collet <remi@remirepo.net> - 3.2.2-4 +- use range dependencies + * Tue Aug 8 2017 Remi Collet <remi@remirepo.net> - 3.2.2-1 - Update to 3.2.2 |