Browse code

Work around broken rabbitmq 3.6.1 packages on Fedora 23

Downgrade this package until we have a fix for the bug in the
comments.

Change-Id: I980d625fec7b11aff74814ee2d24fe9650e9f0a6

Ian Wienand authored on 2016/04/06 15:50:45
Showing 1 changed files
... ...
@@ -159,6 +159,14 @@ if is_fedora; then
159 159
             pip_install --upgrade --force-reinstall requests
160 160
         fi
161 161
     fi
162
+
163
+    if [[ "$os_VENDOR" == "Fedora" ]] && [[ "$os_RELEASE" -ge "23" ]]; then
164
+        # work-around broken rabbitmq-server 3.6.1 packages
165
+        #  https://bugzilla.redhat.com/show_bug.cgi?id=1323610
166
+        # Will be removed when this bug is fixed.
167
+        sudo dnf -y install \
168
+             https://kojipkgs.fedoraproject.org/packages/rabbitmq-server/3.5.7/4.fc23/noarch/rabbitmq-server-3.5.7-4.fc23.noarch.rpm
169
+    fi
162 170
 fi
163 171
 
164 172
 # The version of pip(1.5.4) supported by python-virtualenv(1.11.4) has