From c7d65a8f6798ee645f6b86b43893bbf7892113de Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 6 Dec 2018 11:14:08 +0100 Subject: cleanup for EL-8 --- php-sebastian-object-enumerator3.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/php-sebastian-object-enumerator3.spec b/php-sebastian-object-enumerator3.spec index b5d029e..6b138c7 100644 --- a/php-sebastian-object-enumerator3.spec +++ b/php-sebastian-object-enumerator3.spec @@ -26,7 +26,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 3.0.3 -%global specrel 2 +%global specrel 3 Release: %{?gh_date:1%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist} Summary: Traverses array and object to enumerate all referenced objects @@ -38,7 +38,7 @@ BuildArch: noarch BuildRequires: php(language) >= 7.0 BuildRequires: php-fedora-autoloader-devel %if %{with_tests} -%if 0%{?fedora} >= 27 +%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-composer(%{pk_vendor}/object-reflector) >= 1.1.1 with php-composer(%{pk_vendor}/object-reflector) < 2) BuildRequires: (php-composer(sebastian/recursion-context) >= 3.0 with php-composer(sebastian/recursion-context) < 4) %else @@ -55,7 +55,7 @@ BuildRequires: phpunit6 # "sebastian/object-reflector": "^1.1.1", # "sebastian/recursion-context": "^3.0" Requires: php(language) >= 7.0 -%if 0%{?fedora} >= 27 +%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Requires: (php-composer(%{pk_vendor}/object-reflector) >= 1.1.1 with php-composer(%{pk_vendor}/object-reflector) < 2) Requires: (php-composer(sebastian/recursion-context) >= 3.0 with php-composer(sebastian/recursion-context) < 4) %else @@ -126,6 +126,9 @@ exit $ret %changelog +* Thu Dec 6 2018 Remi Collet - 3.0.3-3 +- cleanup for EL-8 + * Tue Feb 6 2018 Remi Collet - 3.0.3-2 - use range dependencies on F27+ -- cgit