diff options
author | joon.c.baek <joon.c.baek@samsung.com> | 2015-08-12 15:30:11 +0900 |
---|---|---|
committer | joon.c.baek <joon.c.baek@samsung.com> | 2015-08-12 15:30:11 +0900 |
commit | 3b8d61248c2a6a471ce6239ab839ec5888005020 (patch) | |
tree | d89e3e28396a7bbd8ffc6376af91e3106eb374f2 | |
parent | f62e432529ea3316a5208e15095ab2c04af89480 (diff) | |
parent | 6e306519cc4168cc1a9b3f865f638aadd7da48d4 (diff) | |
download | ttrace-3b8d61248c2a6a471ce6239ab839ec5888005020.tar.gz ttrace-3b8d61248c2a6a471ce6239ab839ec5888005020.tar.bz2 ttrace-3b8d61248c2a6a471ce6239ab839ec5888005020.zip |
Merge branch 'master' into tizensubmit/tizen/20150812.063120accepted/tizen/wearable/20150812.110714accepted/tizen/tv/20150812.110707accepted/tizen/mobile/20150812.110649
-rwxr-xr-x | packaging/ttrace.spec | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/packaging/ttrace.spec b/packaging/ttrace.spec index 605acea..197b1bc 100755 --- a/packaging/ttrace.spec +++ b/packaging/ttrace.spec @@ -36,18 +36,19 @@ make %{?jobs:-j%jobs} %install rm -rf %{buildroot} + %make_install -install -d %{buildroot}%{_libdir}/systemd/system/ttrace-marker.service.wants -install -m0644 %{SOURCE102} %{buildroot}%{_libdir}/systemd/system/ +install -d %{buildroot}%{_unitdir}/ttrace-marker.service.wants +install -m0644 %{SOURCE102} %{buildroot}%{_unitdir} mkdir -p %{buildroot}%{_bindir} cp %{SOURCE101} %{buildroot}%{_bindir} mkdir -p %{buildroot}/usr/share/license cp LICENSE %{buildroot}/usr/share/license/%{name} -mkdir -p %{buildroot}/etc/systemd/system/sys-kernel-debug.mount.wants/ -ln -s %{_libdir}/systemd/system/ttrace-marker.service %{buildroot}/etc/systemd/system/sys-kernel-debug.mount.wants/ttrace-marker.service mkdir -p %{buildroot}/etc/ttrace cp %{SOURCE103} %{buildroot}/etc/ttrace +%install_service sys-kernel-debug.mount.wants ttrace-marker.service + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -56,13 +57,13 @@ cp %{SOURCE103} %{buildroot}/etc/ttrace %manifest ttrace.manifest %defattr(-,root,root,-) %{_libdir}/libttrace.so.* -%{_libdir}/systemd/system/ttrace-marker.service -%{_libdir}/systemd/system/ttrace-marker.service.wants/ +%{_unitdir}/ttrace-marker.service +%{_unitdir}/ttrace-marker.service.wants/ %attr(755,root,root) %{_bindir}/atrace %attr(755,root,root) %{_bindir}/atrace-1.1 %attr(755,root,root) %{_bindir}/exec-ttrace-marker %attr(664,root,root) /etc/ttrace/ttrace_tag -/etc/systemd/system/sys-kernel-debug.mount.wants/ttrace-marker.service +%{_unitdir}/sys-kernel-debug.mount.wants/ttrace-marker.service /usr/share/license/%{name} %files devel |