diff options
author | Remi Collet <remi@remirepo.net> | 2018-04-21 06:40:35 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-04-21 06:40:35 +0200 |
commit | 21159a32ab12364c54c4113aec3b1778175709f9 (patch) | |
tree | 535b340cb32167f2ca87190446f7277eb4e76136 | |
parent | ab5387f4d7748bf87948598d42e2df02070742d8 (diff) |
cleanup for Fedora
-rw-r--r-- | php-sebastian-comparator3.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/php-sebastian-comparator3.spec b/php-sebastian-comparator3.spec index 6b4b783..cd26086 100644 --- a/php-sebastian-comparator3.spec +++ b/php-sebastian-comparator3.spec @@ -35,9 +35,11 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit BuildArch: noarch BuildRequires: php(language) >= 7.1 +# remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-composer(%{pk_vendor}/diff) >= 3.0 with php-composer(%{pk_vendor}/diff) < 4) BuildRequires: (php-composer(%{pk_vendor}/exporter) >= 3.1 with php-composer(%{pk_vendor}/exporter) < 4) +# remirepo:4 %else BuildRequires: php-sebastian-diff3 BuildRequires: php-sebastian-exporter3 >= 3.1 @@ -54,9 +56,11 @@ BuildRequires: phpunit7 >= 7.1 # "sebastian/diff": "^3.0", # "sebastian/exporter": "^3.1" Requires: php(language) >= 7.1 +# remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Requires: (php-composer(%{pk_vendor}/diff) >= 3.0 with php-composer(%{pk_vendor}/diff) < 4) Requires: (php-composer(%{pk_vendor}/exporter) >= 3.1 with php-composer(%{pk_vendor}/exporter) < 4) +# remirepo:4 %else Requires: php-sebastian-diff3 Requires: php-sebastian-exporter3 >= 3.1 |