diff options
author | Remi Collet <remi@remirepo.net> | 2018-03-28 09:42:56 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-03-28 09:42:56 +0200 |
commit | 4c78a52d63591563b565478cf3beaf19f1bbdd13 (patch) | |
tree | 5ea833bf54f31e5d4aa93341f3683dff71d4f2be | |
parent | d891f6575f6c8c0d70a8d35bc01194035da036ba (diff) |
cleanup for Fedora
-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 |