summaryrefslogtreecommitdiffstats
path: root/php-zmq.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-06-23 06:45:58 +0200
committerRemi Collet <fedora@famillecollet.com>2012-06-23 06:45:58 +0200
commit97d6a3e00973187e4c44a4c19c17464c3dbe3be7 (patch)
tree049794ae2f0b671ee856c1a5a968508b0d60d46c /php-zmq.spec
parentd27c9479c807f9089feaed7a87c17a7de98213be (diff)
php-zmq: fix EL-5 build
Diffstat (limited to 'php-zmq.spec')
-rw-r--r--php-zmq.spec8
1 files 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