diff options
-rw-r--r-- | REFLECTION | 2 | ||||
-rw-r--r-- | php-pecl-hdr-histogram.spec | 22 |
2 files changed, 10 insertions, 14 deletions
@@ -1,4 +1,4 @@ -Extension [ <persistent> extension #74 hdrhistogram version 0.3.0 ] { +Extension [ <persistent> extension #73 hdrhistogram version 0.3.0 ] { - Functions { Function [ <internal:hdrhistogram> 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 <remi@remirepo.net> - 0.3.0-14 +- build using HdrHistogram_c6php + * Wed Aug 19 2020 Remi Collet <remi@remirepo.net> - 0.3.0-13 - F33 build |