update service untis to be installed in /usr/lib vs /lib
authorChris E Ferron <chris.e.ferron@linux.intel.com>
Mon, 2 Jul 2012 18:02:14 +0000 (11:02 -0700)
committerChris E Ferron <chris.e.ferron@linux.intel.com>
Mon, 2 Jul 2012 18:02:14 +0000 (11:02 -0700)
packaging/alsa-utils.spec

index f070a44..baab27f 100644 (file)
@@ -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