From d4d0b8a04642fc21167342b6bee998846159e605 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Thu, 7 Feb 2019 11:29:36 +0100 Subject: [PATCH] Update build requirements on twine On Fedora >= 29 the command 'twine' is provied by the twine package. On F28 it's in python3-twine. F30 no longer has python3-twine. Signed-off-by: Christian Heimes Reviewed-By: Alexander Bokovoy --- freeipa.spec.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/freeipa.spec.in b/freeipa.spec.in index ed1d6c167..14892965f 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -195,7 +195,11 @@ BuildRequires: python3-six BuildRequires: dbus-glib-devel BuildRequires: libffi-devel BuildRequires: python3-tox +%if 0%{?fedora} <= 28 BuildRequires: python3-twine +%else +BuildRequires: twine +%endif BuildRequires: python3-wheel %endif # with_wheels