From 5e6af623f0d5ad567a521ecba4af1f06b0d4ac4a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 30 Sep 2020 12:37:33 +0200 Subject: rebuild for PHP 8.0.0RC1 --- php-pecl-selinux.spec | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/php-pecl-selinux.spec b/php-pecl-selinux.spec index c29f951..9422d66 100644 --- a/php-pecl-selinux.spec +++ b/php-pecl-selinux.spec @@ -33,7 +33,7 @@ Summary: SELinux binding for PHP scripting language Name: %{?sub_prefix}php-pecl-selinux Version: 0.5.0 -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;')}} License: PHP URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz @@ -57,17 +57,14 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rele %if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} # Other third party repo stuff -%if "%{php_version}" > "7.2" -Obsoletes: php72u-pecl-%{pecl_name} <= %{version} -Obsoletes: php72w-pecl-%{pecl_name} <= %{version} -%endif %if "%{php_version}" > "7.3" Obsoletes: php73-pecl-%{pecl_name} <= %{version} -Obsoletes: php73w-pecl-%{pecl_name} <= %{version} %endif %if "%{php_version}" > "7.4" Obsoletes: php74-pecl-%{pecl_name} <= %{version} -Obsoletes: php74w-pecl-%{pecl_name} <= %{version} +%endif +%if "%{php_version}" > "8.0" +Obsoletes: php80-pecl-%{pecl_name} <= %{version} %endif %endif @@ -166,7 +163,7 @@ cd NTS : Minimal load test for NTS extension %{__php} --no-php-ini \ --define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \ - --modules | grep %{pecl_name} + --modules | grep '^%{pecl_name}$' %if %{with_tests} : Upstream test suite for NTS extension @@ -183,7 +180,7 @@ cd ../ZTS : Minimal load test for ZTS extension %{__ztsphp} --no-php-ini \ --define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \ - --modules | grep %{pecl_name} + --modules | grep '^%{pecl_name}$' %endif @@ -223,6 +220,9 @@ fi %changelog +* Wed Sep 30 2020 Remi Collet - 0.5.0-4 +- rebuild for PHP 8.0.0RC1 + * Wed Sep 2 2020 Remi Collet - 0.5.0-3 - rebuild for PHP 8.0.0beta3 -- cgit