diff --git a/kf5-knotifications.spec b/kf5-knotifications.spec index 2e924a5..6b69c0a 100644 --- a/kf5-knotifications.spec +++ b/kf5-knotifications.spec @@ -40,8 +40,10 @@ BuildRequires: qt5-qttools-devel BuildRequires: qt5-qtx11extras-devel %if !0%{?bootstrap} +%if 0%{?fedora} BuildRequires: pkgconfig(Qt5TextToSpeech) %endif +%endif %if 0%{?tests} BuildRequires: dbus-x11