diff options
-rw-r--r-- | php-pecl-lzf.spec | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/php-pecl-lzf.spec b/php-pecl-lzf.spec index 9c8af3b..d5fe174 100644 --- a/php-pecl-lzf.spec +++ b/php-pecl-lzf.spec @@ -24,7 +24,7 @@ Name: %{?sub_prefix}php-pecl-lzf Version: 1.6.8 -Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Summary: Extension to handle LZF de/compression Group: Development/Languages License: PHP @@ -57,31 +57,27 @@ Obsoletes: php54-pecl-%{ext_name} <= %{version} Obsoletes: php54w-pecl-%{ext_name} <= %{version} %if "%{php_version}" > "5.5" Obsoletes: php55u-pecl-%{ext_name} <= %{version} -Obsoletes: php55w-pecl-%{ext_name} <= %{version} %endif %if "%{php_version}" > "5.6" Obsoletes: php56u-pecl-%{ext_name} <= %{version} -Obsoletes: php56w-pecl-%{ext_name} <= %{version} %endif %if "%{php_version}" > "7.0" Obsoletes: php70u-pecl-%{ext_name} <= %{version} -Obsoletes: php70w-pecl-%{ext_name} <= %{version} %endif %if "%{php_version}" > "7.1" Obsoletes: php71u-pecl-%{ext_name} <= %{version} -Obsoletes: php71w-pecl-%{ext_name} <= %{version} %endif %if "%{php_version}" > "7.2" Obsoletes: php72u-pecl-%{ext_name} <= %{version} -Obsoletes: php72w-pecl-%{ext_name} <= %{version} %endif %if "%{php_version}" > "7.3" Obsoletes: php73-pecl-%{ext_name} <= %{version} -Obsoletes: php73w-pecl-%{ext_name} <= %{version} %endif %if "%{php_version}" > "7.4" Obsoletes: php74-pecl-%{ext_name} <= %{version} -Obsoletes: php74w-pecl-%{ext_name} <= %{version} +%endif +%if "%{php_version}" > "8.0" +Obsoletes: php80-pecl-%{ext_name} <= %{version} %endif %endif @@ -184,7 +180,7 @@ cd NTS : Minimal load test for NTS extension %{__php} --no-php-ini \ --define extension=%{buildroot}/%{php_extdir}/%{ext_name}.so \ - --modules | grep -i %{ext_name} + --modules | grep -i '^%{ext_name}$' TEST_PHP_EXECUTABLE=%{__php} \ REPORT_EXIT_STATUS=1 \ @@ -198,7 +194,7 @@ cd ../ZTS : Minimal load test for ZTS extension %{__ztsphp} --no-php-ini \ --define extension=%{buildroot}/%{php_ztsextdir}/%{ext_name}.so \ - --modules | grep %{ext_name} + --modules | grep '^%{ext_name}$' TEST_PHP_EXECUTABLE=%{__ztsphp} \ REPORT_EXIT_STATUS=1 \ @@ -244,6 +240,9 @@ fi %changelog +* Wed Sep 30 2020 Remi Collet <remi@remirepo.net> - 1.6.8-4 +- rebuild for PHP 8.0.0RC1 + * Wed Sep 2 2020 Remi Collet <remi@remirepo.net> - 1.6.8-3 - rebuild for PHP 8.0.0beta3 |