summaryrefslogtreecommitdiffstats
path: root/php-pecl-hdr-histogram.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-hdr-histogram.spec')
-rw-r--r--php-pecl-hdr-histogram.spec22
1 files changed, 9 insertions, 13 deletions
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