summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-12-06 10:58:52 +0100
committerRemi Collet <remi@remirepo.net>2018-12-06 10:58:52 +0100
commit8cb88a5e91abb02f251aae852b68901917ea24f4 (patch)
tree229db6cf843c6ceb418c6f7c28aa32ff56792063
parent470645662c1c1d1c47237ca2ae567b0a6e8a2156 (diff)
cleanup for EL-8HEADmaster
-rw-r--r--php-sebastian-comparator2.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/php-sebastian-comparator2.spec b/php-sebastian-comparator2.spec
index ceb7d83..6c1f739 100644
--- a/php-sebastian-comparator2.spec
+++ b/php-sebastian-comparator2.spec
@@ -25,7 +25,7 @@
Name: php-%{pk_vendor}-%{pk_project}%{major}
Version: 2.1.3
-Release: 1%{?dist}
+Release: 4%{?dist}
Summary: Compare PHP values for equality
Group: Development/Libraries
@@ -35,7 +35,7 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit
BuildArch: noarch
BuildRequires: php(language) >= 7.0
-%if 0%{?fedora} >= 27
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
BuildRequires: (php-composer(%{pk_vendor}/diff) >= 2.0 with php-composer(%{pk_vendor}/diff) < 4)
BuildRequires: (php-composer(%{pk_vendor}/exporter) >= 3.1 with php-composer(%{pk_vendor}/exporter) < 4)
%else
@@ -54,7 +54,7 @@ BuildRequires: phpunit6 >= 6.4
# "sebastian/diff": "^2.0 || ^3.0",
# "sebastian/exporter": "^3.1"
Requires: php(language) >= 7.0
-%if 0%{?fedora} >= 27
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Requires: (php-composer(%{pk_vendor}/diff) >= 2.0 with php-composer(%{pk_vendor}/diff) < 4)
Requires: (php-composer(%{pk_vendor}/exporter) >= 3.1 with php-composer(%{pk_vendor}/exporter) < 4)
%else
@@ -131,6 +131,9 @@ exit $ret
%changelog
+* Thu Dec 6 2018 Remi Collet <remi@remirepo.net> - 2.1.3-4
+- cleanup for EL-8
+
* Fri Feb 2 2018 Remi Collet <remi@remirepo.net> - 2.1.3-1
- Update to 2.1.3 (no change)
- allow sebastian/diff v3