[php-zmq] build against zeromq-4
Thomas Spura
tomspur at fedoraproject.org
Mon Nov 17 09:25:39 UTC 2014
commit e3021a79975de6b62bba8b427433fe442bfba846
Author: Thomas Spura <thomas.spura at gmail.com>
Date: Mon Nov 17 10:25:27 2014 +0100
build against zeromq-4
php-zmq.spec | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/php-zmq.spec b/php-zmq.spec
index 9e92ebc..000fcb4 100644
--- a/php-zmq.spec
+++ b/php-zmq.spec
@@ -21,7 +21,7 @@
Summary: ZeroMQ messaging
Name: php-%{pecl_name}
Version: 1.0.8
-Release: 5%{?dist}
+Release: 6%{?dist}
License: BSD
Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
@@ -29,7 +29,7 @@ Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
BuildRequires: php-devel > 5.2
BuildRequires: php-pear
-BuildRequires: zeromq3-devel
+BuildRequires: zeromq-devel
Requires(post): %{__pecl}
Requires(postun): %{__pecl}
@@ -55,6 +55,11 @@ a fast message-based applications.
%prep
%setup -q -c
+# fix new default of MAX_SOCKETS
+# Using current version, so this can be checked in next version and removed
+# if appropriate. (still not fixed in 1.1.2, maybe later)
+sed -i "s/int(1024)/int(1023)/g" %{pecl_name}-1.0.8/tests/032-contextopt.phpt
+
mv %{pecl_name}-%{version} NTS
%if %{with_zts}
@@ -171,6 +176,9 @@ export TEST_PHP_EXECUTABLE=%{_bindir}/zts-php
%changelog
+* Mon Nov 17 2014 Thomas Spura <tomspur at fedoraproject.org> - 1.0.8-6
+- build against zeromq-4
+
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
More information about the scm-commits
mailing list