From 8cb88a5e91abb02f251aae852b68901917ea24f4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 6 Dec 2018 10:58:52 +0100 Subject: cleanup for EL-8 --- php-sebastian-comparator2.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'php-sebastian-comparator2.spec') 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 - 2.1.3-4 +- cleanup for EL-8 + * Fri Feb 2 2018 Remi Collet - 2.1.3-1 - Update to 2.1.3 (no change) - allow sebastian/diff v3 -- cgit