diff --git a/kde-connect.spec b/kde-connect.spec index de987c9..7fa1f23 100644 --- a/kde-connect.spec +++ b/kde-connect.spec @@ -48,7 +48,7 @@ BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtdeclarative-devel BUildRequires: qt5-qtx11extras-devel -%if %{_with_kde4} +%if 0%{?_with_kde4} BuildRequires: kdelibs4-devel BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(libfakekey) @@ -140,7 +140,7 @@ install -m644 -p -D %{SOURCE2} %{buildroot}%{_prefix}/lib/firewalld/services/kde %find_lang %{name} --all-name -%if %{_with_kde4} +%if 0%{?_with_kde4} make install/fast DESTDIR=%{buildroot} -C %{_builddir}/kde4/kdeconnect-kde-0.8/%{_target_platform}/interfaces make install/fast DESTDIR=%{buildroot} -C %{_builddir}/kde4/kdeconnect-kde-0.8/%{_target_platform}/kio