From 54d6cd0823b43b24d60d7e6975233bdc5e8df5d2 Mon Sep 17 00:00:00 2001
From: Carlos Goncalves <cgoncalves@redhat.com>
Date: Tue, 22 Jan 2019 13:00:06 +0100
Subject: [PATCH] Add python3-setuptools to bindep.txt for Fedora

setuptools is required by python3-setools (a dependency of
policycoreutils-python) but is not in setools RPM dependency list in
Fedora 28. See [1] for DIB output.

This is a temporary workaround. It was fixed in Fedora rawhide and
Fedora 29 [2], but Fedora 28 is still unresolved.

[1] http://logs.openstack.org/81/600381/10/check/octavia-v2-dsvm-scenario-\
    fedora-latest/4ac1e5c/controller/logs/dib-build/amphora-x64-haproxy.\
    qcow2_log.txt.gz#_2019-01-21_10_15_49_816
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1623371

Change-Id: Ie8c827d8217d885c3031c4f45aa2556951b01e83
---
 bindep.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bindep.txt b/bindep.txt
index 42d7d8b0f..d9608f66d 100644
--- a/bindep.txt
+++ b/bindep.txt
@@ -28,6 +28,9 @@ debootstrap [platform:dpkg]
 qemu-img [platform:redhat]
 policycoreutils-python [platform:redhat]
 policycoreutils-python-utils [platform:fedora]
+# NOTE(cgoncalves): setuptools is required by python3-setools (a dependency of
+# policycoreutils-python) but is not in its RPM dependency list in Fedora 28.
+python3-setuptools [platform:fedora]
 
 # suse
 python-pyliblzma [platform:suse]