install -m 644 %{SOURCE1} %{buildroot}/usr/share/alsa/init/
install -m 755 %{SOURCE5} %{buildroot}/usr/sbin
-mkdir -p %{buildroot}/%{_lib}/systemd/system
-install -m 644 %{SOURCE2} %{buildroot}/%{_lib}/systemd/system/alsa-init.service
-mkdir -p %{buildroot}/%{_lib}/systemd/system/multi-user.target.wants
-ln -s ../alsa-init.service %{buildroot}/%{_lib}/systemd/system/multi-user.target.wants/alsa-init.service
+mkdir -p %{buildroot}/usr/lib/systemd/system
+install -m 644 %{SOURCE2} %{buildroot}/usr/lib/systemd/system/alsa-init.service
+mkdir -p %{buildroot}/usr/lib/systemd/system/multi-user.target.wants
+ln -s ../alsa-init.service %{buildroot}/usr/lib/systemd/system/multi-user.target.wants/alsa-init.service
-install -m 644 %{SOURCE3} %{buildroot}/%{_lib}/systemd/system/alsa-restore.service
-mkdir -p %{buildroot}/%{_lib}/systemd/system/basic.target.wants
-ln -s ../alsa-restore.service %{buildroot}/%{_lib}/systemd/system/basic.target.wants/alsa-restore.service
+install -m 644 %{SOURCE3} %{buildroot}/usr/lib/systemd/system/alsa-restore.service
+mkdir -p %{buildroot}/usr/lib/systemd/system/basic.target.wants
+ln -s ../alsa-restore.service %{buildroot}/usr/lib/systemd/system/basic.target.wants/alsa-restore.service
-install -m 644 %{SOURCE4} %{buildroot}/%{_lib}/systemd/system/alsa-store.service
-mkdir -p %{buildroot}/%{_lib}/systemd/system/shutdown.target.wants
-ln -s ../alsa-store.service %{buildroot}/%{_lib}/systemd/system/shutdown.target.wants/alsa-store.service
+install -m 644 %{SOURCE4} %{buildroot}/usr/lib/systemd/system/alsa-store.service
+mkdir -p %{buildroot}/usr/lib/systemd/system/shutdown.target.wants
+ln -s ../alsa-store.service %{buildroot}/usr/lib/systemd/system/shutdown.target.wants/alsa-store.service
%remove_docs
%files -n soundcard-ivi
/usr/share/alsa/init/ivi-soundcard
/usr/sbin/soundcard-init
-/lib/systemd/system/alsa-init.service
-/lib/systemd/system/alsa-restore.service
-/lib/systemd/system/alsa-store.service
-/lib/systemd/system/multi-user.target.wants/alsa-init.service
-/lib/systemd/system/basic.target.wants/alsa-restore.service
-/lib/systemd/system/shutdown.target.wants/alsa-store.service
+/usr/lib/systemd/system/alsa-init.service
+/usr/lib/systemd/system/alsa-restore.service
+/usr/lib/systemd/system/alsa-store.service
+/usr/lib/systemd/system/multi-user.target.wants/alsa-init.service
+/usr/lib/systemd/system/basic.target.wants/alsa-restore.service
+/usr/lib/systemd/system/shutdown.target.wants/alsa-store.service