From 31279528065e9150c717c2fa87cefefbab558538 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 19 Jun 2019 14:22:36 +0200 Subject: add backport stuff --- php-google-apiclient1.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'php-google-apiclient1.spec') diff --git a/php-google-apiclient1.spec b/php-google-apiclient1.spec index 9cdfadf..7c4ddd7 100644 --- a/php-google-apiclient1.spec +++ b/php-google-apiclient1.spec @@ -1,3 +1,4 @@ +# remirepo spec file for php-google-apiclient1, from: # # Fedora spec file for php-google-apiclient1 # @@ -65,7 +66,7 @@ Requires: php-reflection Requires: php-spl # Weak dependencies -%if 0%{?fedora} >= 21 +%if 0%{?fedora} >= 21 || 0%{?rhel} >= 8 Suggests: php-pecl(apcu) Suggests: php-pecl(memcache) Suggests: php-pecl(memcached) @@ -136,7 +137,7 @@ rm -f tests/general/ApiBatchRequestTest.php : Upstream tests RETURN_CODE=0 -for PHP_EXEC in %{_bindir}/php %{?rhel:php54 php55} php56 php70 php71; do +for PHP_EXEC in %{_bindir}/php %{?rhel:php54 php55 php56 php70} php71 php72 php73 php74; do if [ "%{_bindir}/php" == "$PHP_EXEC" ] || which $PHP_EXEC; then $PHP_EXEC %{_bindir}/phpunit || RETURN_CODE=1 fi -- cgit