Exclude AudioAec.service file from tv profile
[platform/core/multimedia/libmm-sound.git] / packaging / libmm-sound.spec
index 3b8e11c..440b606 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-sound
 Summary:    MMSound Package contains client lib and sound_server binary
-Version:    0.13.7
+Version:    0.13.8
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
@@ -119,9 +119,9 @@ ln -sf ../focus-server.path %{buildroot}%{_unitdir}/paths.target.wants/focus-ser
 
 %if "%{tizen_profile_name}" != "tv"
 install -m0644 %{SOURCE2} %{buildroot}%{_unitdir}/
-%endif
 mkdir -p %{buildroot}/usr/share/dbus-1/system-services/
 cp %{SOURCE3} %{buildroot}/usr/share/dbus-1/system-services/org.tizen.AudioAec.service
+%endif
 
 %post
 /sbin/ldconfig
@@ -143,10 +143,10 @@ cp %{SOURCE3} %{buildroot}/usr/share/dbus-1/system-services/org.tizen.AudioAec.s
 %{_unitdir}/paths.target.wants/focus-server.path
 %{_unitdir}/focus-server.service
 %{_unitdir}/focus-server.path
-%{_datadir}/dbus-1/system-services/org.tizen.AudioAec.service
 %if "%{tizen_profile_name}" != "tv"
 %{_bindir}/audio_aec
 %{_unitdir}/audio-aec.service
+%{_datadir}/dbus-1/system-services/org.tizen.AudioAec.service
 %endif
 
 %license LICENSE.APLv2