diff options
-rw-r--r-- | php-phpunit-exporter.spec | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/php-phpunit-exporter.spec b/php-phpunit-exporter.spec index 49f29de..e840cd7 100644 --- a/php-phpunit-exporter.spec +++ b/php-phpunit-exporter.spec @@ -22,10 +22,9 @@ Name: php-phpunit-exporter Version: 2.0.0 -Release: 4%{?dist} +Release: 6%{?dist} Summary: Export PHP variables for visualization -Group: Development/Libraries License: BSD URL: https://github.com/%{gh_owner}/%{gh_project} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz @@ -39,7 +38,7 @@ BuildRequires: php-fedora-autoloader-devel # "ext-mbstring": "*" BuildRequires: php-composer(phpunit/phpunit) >= 4.4 BuildRequires: php-mbstring -%if 0%{?fedora} >= 27 +%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-composer(sebastian/recursion-context) >= 2.0 with php-composer(sebastian/recursion-context) < 3) %else BuildRequires: php-sebastian-recursion-context @@ -50,7 +49,7 @@ BuildRequires: php-sebastian-recursion-context # "php": ">=5.3.3" # "sebastian/recursion-context": "~2.0" Requires: php(language) >= 5.3.3 -%if 0%{?fedora} >= 27 +%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Requires: (php-composer(sebastian/recursion-context) >= 2.0 with php-composer(sebastian/recursion-context) < 3) %else Requires: php-sebastian-recursion-context @@ -100,7 +99,7 @@ cp -pr src %{buildroot}%{php_home}/SebastianBergmann/Exporter %if %{with_tests} %check ret=0 -for cmd in php php56 php70 php71 php72; do +for cmd in php php56 php70 php71 php72 php73; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/SebastianBergmann/Exporter/autoload.php \ %{_bindir}/phpunit \ @@ -128,6 +127,9 @@ fi %changelog +* Wed Dec 5 2018 Remi Collet <remi@fedoraproject.org> - 2.0.0-6 +- cleanup for EL-8 + * Tue Feb 6 2018 Remi Collet <remi@fedoraproject.org> - 2.0.0-4 - use range dependencies on F27+ |