Fix installing tmpfilesdir configuration file
authorSangyoon Jang <jeremy.jang@samsung.com>
Mon, 9 Jul 2018 05:29:16 +0000 (14:29 +0900)
committer장상윤/Tizen Platform Lab(SR)/Engineer/삼성전자 <jeremy.jang@samsung.com>
Mon, 9 Jul 2018 05:57:50 +0000 (14:57 +0900)
Change-Id: I5d8a4051ad69356331a6df66fbe00edf5a27d86d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
packaging/capmgr.spec

index 73ebeb68f4c82f3a70d4366629e17479c2c3b969..e480636891e764c9ec3940ecab1fe45242891747 100644 (file)
@@ -1,3 +1,7 @@
+# this macro is not included in tizen_macros but in systemd package,
+# but capmgr doesn't have dependency with systemd, so we define this value here.
+%define _tmpfilesdir %{_libdir}/tmpfiles.d
+
 Name:       capmgr
 Summary:    Capability Manager
 Version:    0.0.1
@@ -75,6 +79,7 @@ systemctl daemon-reload
 %{_sysconfdir}/dbus-1/system.d/%{name}.conf
 %{_unitdir}/%{name}.service
 %{_unitdir}/multi-user.target.wants/%{name}.service
+%{_tmpfilesdir}/%{name}.conf
 
 %files tests
 %{_bindir}/capmgr-ut/*