From 4789e338d5808543c48652b9770a4b97411df8dc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 9 Dec 2020 08:54:08 +0100 Subject: build using HdrHistogram_c6php --- REFLECTION | 2 +- php-pecl-hdr-histogram.spec | 22 +++++++++------------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/REFLECTION b/REFLECTION index f5f1f8d..7659450 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #74 hdrhistogram version 0.3.0 ] { +Extension [ extension #73 hdrhistogram version 0.3.0 ] { - Functions { Function [ function hdr_init ] { diff --git a/php-pecl-hdr-histogram.spec b/php-pecl-hdr-histogram.spec index e385254..13dc3c3 100644 --- a/php-pecl-hdr-histogram.spec +++ b/php-pecl-hdr-histogram.spec @@ -23,17 +23,19 @@ Summary: PHP extension wrapper for the C hdrhistogram API Name: %{?sub_prefix}php-pecl-hdr-histogram Version: 0.3.0 -Release: 13%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 14%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: MIT Group: Development/Languages URL: https://pecl.php.net/package/%{proj_name} Source: https://pecl.php.net/get/%{proj_name}-%{version}.tgz +BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear -BuildRequires: HdrHistogram_c-devel >= 0.10 +# use our specific package +BuildRequires: HdrHistogram_c6php-devel Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} @@ -46,24 +48,15 @@ Provides: %{?scl_prefix}php-pecl(%{proj_name})%{?_isa} = %{version} %if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} # Other third party repo stuff -%if "%{php_version}" > "7.2" -Obsoletes: php72u-pecl-hdr-histogram <= %{version} -Obsoletes: php72w-pecl-hdr-histogram <= %{version} -%endif %if "%{php_version}" > "7.3" Obsoletes: php73-pecl-hdr-histogram <= %{version} -Obsoletes: php73w-pecl-hdr-histogram <= %{version} %endif %if "%{php_version}" > "7.4" Obsoletes: php74-pecl-hdr-histogram <= %{version} -Obsoletes: php74w-pecl-hdr-histogram <= %{version} %endif +%if "%{php_version}" > "8.0" +Obsoletes: php80-pecl-hdr-histogram <= %{version} %endif - -%if 0%{?fedora} < 20 && 0%{?rhel} < 7 -# Filter private shared -%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$} -%{?filter_setup} %endif @@ -217,6 +210,9 @@ fi %changelog +* Wed Dec 9 2020 Remi Collet - 0.3.0-14 +- build using HdrHistogram_c6php + * Wed Aug 19 2020 Remi Collet - 0.3.0-13 - F33 build -- cgit