summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-09-01 09:05:51 +0200
committerRemi Collet <fedora@famillecollet.com>2016-09-01 09:05:51 +0200
commite8ea8643750ee637faababae107f1b5fc3f1454f (patch)
treed2bc6c5e9ad12ffc0adf6df12fbb0cba965358e5
parent43d7341bfc33e45b98b40e8eeb4f6af77901bbfe (diff)
php-pecl-hdr-histogram: 0.3.0
-rw-r--r--REFLECTION2
-rw-r--r--php-pecl-hdr-histogram.spec9
2 files changed, 8 insertions, 3 deletions
diff --git a/REFLECTION b/REFLECTION
index 7212236..35ac694 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #86 hdrhistogram version 0.2.0 ] {
+Extension [ <persistent> extension #87 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 d127e2f..1005fd9 100644
--- a/php-pecl-hdr-histogram.spec
+++ b/php-pecl-hdr-histogram.spec
@@ -15,7 +15,7 @@
%scl_package php-pecl-hdr-histogram
%endif
-%global with_zts 0%{?__ztsphp:1}
+%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global pecl_name hdr_histogram
%global ext_name hdrhistogram
%if "%{php_version}" < "5.6"
@@ -26,7 +26,7 @@
Summary: PHP extension wrapper for the C hdrhistogram API
Name: %{?sub_prefix}php-pecl-hdr-histogram
-Version: 0.2.0
+Version: 0.3.0
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: MIT
Group: Development/Languages
@@ -103,6 +103,8 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
+sed -e '/HDR_VERSION/s/0.2.0/0.3.0/' -i php_hdrhistogram.h
+
# Check upstream version (often broken)
extver=$(sed -n '/#define HDR_VERSION/{s/.* "//;s/".*$//;p}' php_hdrhistogram.h)
if test "x${extver}" != "x%{version}"; then
@@ -225,6 +227,9 @@ fi
%changelog
+* Thu Sep 01 2016 Remi Collet <remi@fedoraproject.org> - 0.3.0-1
+- Update to 0.3.0
+
* Mon Jul 18 2016 Remi Collet <remi@fedoraproject.org> - 0.2.0-1
- Update to 0.2.0