summaryrefslogtreecommitdiffstats
path: root/php-pecl-amqp.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-02-19 10:00:24 +0100
committerRemi Collet <fedora@famillecollet.com>2017-02-19 10:00:24 +0100
commitf0191bffa2c5d377196ded609372baffd2d80ffc (patch)
tree453e26192c2c639a261af5953b2709d2602113e5 /php-pecl-amqp.spec
parent1835697991ead6d1fd8cd1b59bf5322db3ff7c0e (diff)
php-pecl-amqp: improve fix
Diffstat (limited to 'php-pecl-amqp.spec')
-rw-r--r--php-pecl-amqp.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/php-pecl-amqp.spec b/php-pecl-amqp.spec
index dd39ae3..30d4a03 100644
--- a/php-pecl-amqp.spec
+++ b/php-pecl-amqp.spec
@@ -40,11 +40,11 @@ BuildRequires: %{?scl_prefix}php-devel > 5.3.0
BuildRequires: %{?scl_prefix}php-pear
# Upstream requires 0.5.2, set 0.8.0 to ensure "last" is used.
%if 0%{?fedora} >= 23
-BuildRequires: librabbitmq-devel >= 0.8.0
-Requires: librabbitmq >= %{buildver}
+BuildRequires: librabbitmq-devel >= 0.8.0
+Requires: librabbitmq%{?_isa} >= %{buildver}
%else
-BuildRequires: librabbitmq-last-devel >= 0.8.0
-Requires: librabbitmq-last >= %{buildver}
+BuildRequires: librabbitmq-last-devel >= 0.8.0
+Requires: librabbitmq-last%{?_isa} >= %{buildver}
%endif
%if %{with_tests}
BuildRequires: rabbitmq-server