From: Chris E Ferron Date: Mon, 2 Jul 2012 18:02:14 +0000 (-0700) Subject: update service untis to be installed in /usr/lib vs /lib X-Git-Tag: 1.0_branch~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f34b0669b1c65932e36789b6b6615afde98b9978;p=profile%2Fivi%2Falsa-utils.git update service untis to be installed in /usr/lib vs /lib --- diff --git a/packaging/alsa-utils.spec b/packaging/alsa-utils.spec index f070a44..baab27f 100644 --- a/packaging/alsa-utils.spec +++ b/packaging/alsa-utils.spec @@ -60,18 +60,18 @@ rm -rf %{buildroot} 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 @@ -86,9 +86,9 @@ ln -s ../alsa-store.service %{buildroot}/%{_lib}/systemd/system/shutdown.targe %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