From 0010daa4096a5b5e966084161165277454e24bbb Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Jan 27 2020 20:42:37 +0000 Subject: Fix some %if and %else --- diff --git a/phonon.spec b/phonon.spec index 3ee6a12..5e93d24 100644 --- a/phonon.spec +++ b/phonon.spec @@ -98,8 +98,6 @@ Summary: phonon for Qt5 %if 0%{?fedora} || 0%{?rhel} > 7 Recommends: phonon-qt5-backend-gstreamer%{?_isa} %else -Provides: phonon-qt5-backend%{?_isa} = 4.7 -%else Requires: phonon-qt5-backend%{?_isa} => 4.7 %endif %endif @@ -155,10 +153,12 @@ popd make install/fast DESTDIR=%{buildroot} -C %{_target_platform}-Qt5 %if 0%{?qt4} make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%endif %find_lang libphonon --with-qt # own these dirs +%if 0%{?qt4} mkdir -p %{buildroot}%{_kde4_libdir}/kde4/plugins/phonon_backend/ mkdir -p %{buildroot}%{_kde4_datadir}/kde4/services/phononbackends/ %endif