From f0a43c8c15d0046204d9b7bec7082a6b16309ffc Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Fri, 19 Feb 2016 11:45:39 -0600 Subject: [PATCH] safer _with_kde4 macro conditionals --- kde-connect.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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