From 97d6a3e00973187e4c44a4c19c17464c3dbe3be7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 23 Jun 2012 06:45:58 +0200 Subject: php-zmq: fix EL-5 build --- php-zmq.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/php-zmq.spec b/php-zmq.spec index 9463cf6..59b4621 100644 --- a/php-zmq.spec +++ b/php-zmq.spec @@ -6,7 +6,7 @@ Name: php-zmq Version: %{version} -Release: %{release}%{?dist} +Release: %{release}%{?dist}.1 Summary: PHP 0MQ/zmq/zeromq extension # run-tests.php is PHP. Everything else is BSD License: BSD and PHP @@ -18,11 +18,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: php-devel BuildRequires: php-cli BuildRequires: zeromq-devel >= 2.0.7 +# needed on EL-5 +BuildRequires: pkgconfig Requires: zeromq >= 2.0.7 -%filter_from_provides /^zmq.so/d -%filter_setup +%{?filter_from_provides: %filter_from_provides /^zmq.so/d} +%{?filter_setup} %description PHP extension for the 0MQ/zmq/zeromq messaging system -- cgit