diff --git a/pungi.spec b/pungi.spec index ad923601..d51e9784 100644 --- a/pungi.spec +++ b/pungi.spec @@ -22,6 +22,10 @@ BuildRequires: python2-dnf BuildRequires: python2-multilib BuildRequires: python2-libcomps +%if 0%{?fedora} >= 27 +BuildRequires: python2-koji +%endif + #deps for doc building BuildRequires: python-sphinx, texlive-latex-bin-bin, texlive-collection-fontsrecommended BuildRequires: texlive-times, texlive-cmap, texlive-babel-english, texlive-fancyhdr @@ -61,6 +65,10 @@ Requires: python2-dnf Requires: python2-multilib Requires: python2-libcomps +%if 0%{?fedora} >= 27 +Requires: python2-koji +%endif + BuildArch: noarch %description