diff options
author | Remi Collet <remi@remirepo.net> | 2018-12-05 18:26:41 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-12-05 18:26:41 +0100 |
commit | 2920ae4e0455b863f288cea497aead149e55ccc4 (patch) | |
tree | a9d4a1f0c0e1566a2b1b7b96c8c989c8da388510 /php-phpunit-exporter.spec | |
parent | 25bd8eaba133ec72781c28f0d1a23076a14d8f11 (diff) |
Diffstat (limited to 'php-phpunit-exporter.spec')
-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+ |