diff options
-rw-r--r-- | php-mock-integration2.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/php-mock-integration2.spec b/php-mock-integration2.spec index b768094..c036830 100644 --- a/php-mock-integration2.spec +++ b/php-mock-integration2.spec @@ -27,9 +27,11 @@ BuildRequires: php(language) >= 5.6 %if %{with_tests} # from composer.json, "require-dev": { # "phpunit/phpunit": "^4|^5" +# remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-composer(php-mock/php-mock) >= 2 with php-composer(php-mock/php-mock) < 3) BuildRequires: (php-composer(phpunit/php-text-template) >= 1 with php-composer(phpunit/php-text-template) < 2) +# remirepo:4 %else BuildRequires: php-mock2 BuildRequires: php-phpunit-Text-Template @@ -44,9 +46,11 @@ BuildRequires: php-composer(fedora/autoloader) # "php-mock/php-mock": "^2", # "phpunit/php-text-template": "^1" Requires: php(language) >= 5.6 +# remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Requires: (php-composer(php-mock/php-mock) >= 2 with php-composer(php-mock/php-mock) < 3) Requires: (php-composer(phpunit/php-text-template) >= 1 with php-composer(phpunit/php-text-template) < 2) +# remirepo:4 %else Requires: php-mock2 Requires: php-phpunit-Text-Template |