diff options
-rw-r--r-- | php-pecl-http.spec | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/php-pecl-http.spec b/php-pecl-http.spec index 3f7f022..c01818f 100644 --- a/php-pecl-http.spec +++ b/php-pecl-http.spec @@ -43,10 +43,10 @@ Name: %{?sub_prefix}php-pecl-http Version: %{upstream_version}%{?upstream_prever:~%{upstream_lower}} %if 0%{?gh_date:1} -Release: 0.8.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 0.9.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz %else -Release: 5%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 6%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://pecl.php.net/get/%{proj_name}-%{upstream_version}%{?upstream_prever}.tgz %endif Summary: Extended HTTP support @@ -100,6 +100,9 @@ Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} Obsoletes: php73-pecl-http <= %{version} Obsoletes: php74-pecl-http <= %{version} Obsoletes: php80-pecl-http <= %{version} +%if "%{php_version}" > "8.1" +Obsoletes: php81-pecl-http <= %{version} +%endif %endif @@ -331,6 +334,9 @@ fi %changelog +* Wed Sep 01 2021 Remi Collet <remi@remirepo.net> - 4.2.0-6 +- rebuild for 8.1.0RC1 + * Tue Aug 31 2021 Remi Collet <remi@remirepo.net> - 4.2.0-1 - update to 4.2.0 |