safer _with_kde4 macro conditionals

epel9
Rex Dieter 9 years ago
parent e29538e96c
commit f0a43c8c15

@ -48,7 +48,7 @@ BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel BuildRequires: qt5-qtdeclarative-devel
BUildRequires: qt5-qtx11extras-devel BUildRequires: qt5-qtx11extras-devel
%if %{_with_kde4} %if 0%{?_with_kde4}
BuildRequires: kdelibs4-devel BuildRequires: kdelibs4-devel
BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(libfakekey) BuildRequires: pkgconfig(libfakekey)
@ -140,7 +140,7 @@ install -m644 -p -D %{SOURCE2} %{buildroot}%{_prefix}/lib/firewalld/services/kde
%find_lang %{name} --all-name %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}/interfaces
make install/fast DESTDIR=%{buildroot} -C %{_builddir}/kde4/kdeconnect-kde-0.8/%{_target_platform}/kio make install/fast DESTDIR=%{buildroot} -C %{_builddir}/kde4/kdeconnect-kde-0.8/%{_target_platform}/kio

Loading…
Cancel
Save