diff --git a/kf5-ktextwidgets.spec b/kf5-ktextwidgets.spec index fab9af7..e600c49 100644 --- a/kf5-ktextwidgets.spec +++ b/kf5-ktextwidgets.spec @@ -31,7 +31,9 @@ BuildRequires: kf5-sonnet-devel >= %{majmin} BuildRequires: qt5-qtbase-devel %if !0%{?bootstrap} -BuildRequires: cmake(Qt5TextToSpeech) +%if 0%{?fedora} +BuildRequires: pkgconfig(Qt5TextToSpeech) +%endif %endif %description