From: Patrick McCarty Date: Tue, 9 Jul 2013 22:21:57 +0000 (-0700) Subject: Fix paths for systemd service files X-Git-Tag: accepted/tizen/20130710.221358^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F87%2F5587%2F1;p=platform%2Fcore%2Fmultimedia%2Flibmm-sound.git Fix paths for systemd service files Change-Id: Iddc4a37c3a72acca1a9b93894bb7599763ecb05c --- diff --git a/packaging/libmm-sound.changes b/packaging/libmm-sound.changes index 1f0f9d8..021f5c8 100644 --- a/packaging/libmm-sound.changes +++ b/packaging/libmm-sound.changes @@ -1,3 +1,6 @@ +* Tue Jul 09 2013 Patrick McCarty dc6f19c +- Fix paths for systemd service files + * Tue May 28 2013 Rusty Lynch submit/tizen/20130529.060510@9ed1664 - Remove bogus dep on pidof diff --git a/packaging/libmm-sound.spec b/packaging/libmm-sound.spec index cbad707..c96043b 100644 --- a/packaging/libmm-sound.spec +++ b/packaging/libmm-sound.spec @@ -73,10 +73,10 @@ make %{?_smp_mflags} %install %make_install -install -d %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants -install -m0644 %{SOURCE1} %{buildroot}%{_libdir}/systemd/system/ -install -m0644 %{SOURCE2} %{buildroot}%{_libdir}/systemd/system/ -ln -sf ../sound-server.path %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/sound-server.path +install -d %{buildroot}/usr/lib/systemd/system/multi-user.target.wants +install -m0644 %{SOURCE1} %{buildroot}/usr/lib/systemd/system/ +install -m0644 %{SOURCE2} %{buildroot}/usr/lib/systemd/system/ +ln -sf ../sound-server.path %{buildroot}/usr/lib/systemd/system/multi-user.target.wants/sound-server.path # FIXME: remove after systemd is in mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d @@ -122,9 +122,9 @@ ln -s %{_sysconfdir}/rc.d/init.d/soundserver %{buildroot}%{_sysconfdir}/rc.d/rc4 %{_sysconfdir}/rc.d/rc3.d/S23soundserver %{_sysconfdir}/rc.d/rc4.d/S23soundserver /usr/share/sounds/sound-server/* -%{_libdir}/systemd/system/multi-user.target.wants/sound-server.path -%{_libdir}/systemd/system/sound-server.service -%{_libdir}/systemd/system/sound-server.path +/usr/lib/systemd/system/multi-user.target.wants/sound-server.path +/usr/lib/systemd/system/sound-server.service +/usr/lib/systemd/system/sound-server.path %files devel %manifest %{name}.manifest