summaryrefslogtreecommitdiffstats
path: root/php-pecl-event.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-03-23 09:08:59 +0100
committerRemi Collet <fedora@famillecollet.com>2014-03-23 09:08:59 +0100
commitf742bc2b2903cb11cd3e67cbf556e48a98b55f87 (patch)
treea2a7589148e4646def0ab25802457ae702132933 /php-pecl-event.spec
parent9c33408333b813c15b47a517fc1ee88d2b049243 (diff)
php-pecl-event: 1.9.1 (stable)
Diffstat (limited to 'php-pecl-event.spec')
-rw-r--r--php-pecl-event.spec18
1 files changed, 17 insertions, 1 deletions
diff --git a/php-pecl-event.spec b/php-pecl-event.spec
index 2285d15..0958173 100644
--- a/php-pecl-event.spec
+++ b/php-pecl-event.spec
@@ -16,7 +16,7 @@
Summary: Provides interface to libevent library
Name: php-pecl-%{pecl_name}
-Version: 1.9.0
+Version: 1.9.1
Release: 1%{?dist}
License: PHP
Group: Development/Languages
@@ -62,6 +62,15 @@ Version 1.0.0 introduces:
mv %{pecl_name}-%{version} NTS
+cd NTS
+# Sanity check, really often broken
+extver=$(sed -n '/#define PHP_EVENT_VERSION/{s/.* "//;s/".*$//;p}' php_event.h)
+if test "x${extver}" != "x%{version}"; then
+ : Error: Upstream extension version is ${extver}, expecting %{version}.
+ exit 1
+fi
+cd ..
+
# duplicate for ZTS build
%if %{with_zts}
cp -pr NTS ZTS
@@ -190,6 +199,13 @@ fi
%changelog
+* Sun Mar 23 2014 Remi Collet <remi@fedoraproject.org> - 1.9.1-1
+- Update to 1.9.1 (stable)
+
+* Sun Mar 23 2014 Remi Collet <remi@fedoraproject.org> - 1.9.0-2
+- add patch for php 5.6
+ https://bitbucket.org/osmanov/pecl-event/pull-request/7
+
* Fri Jan 17 2014 Remi Collet <remi@fedoraproject.org> - 1.9.0-1
- Update to 1.9.0 (stable)
- add option to disable tests during build