From 0af2866ca1b26b83f27274257c306f38d352a0c3 Mon Sep 17 00:00:00 2001 From: Kyeonghun Lee Date: Tue, 13 Jun 2017 13:48:23 +0900 Subject: [PATCH] remove tools package Change-Id: I0db1b68be2a219344e732596e0d11eb27d750e07 Signed-off-by: Kyeonghun Lee --- packaging/msg-service.spec | 40 +++++++++------------------------------- 1 file changed, 9 insertions(+), 31 deletions(-) diff --git a/packaging/msg-service.spec b/packaging/msg-service.spec index a674301..01878b1 100755 --- a/packaging/msg-service.spec +++ b/packaging/msg-service.spec @@ -77,20 +77,6 @@ Group: Development/Libraries %description devel Description: Messaging Framework Library (development) - -%package tools -License: Apache-2.0 -Summary: Messaging server application -Requires: %{name} = %{version}-%{release} -Group: System/Libraries -Requires(post): /usr/bin/sqlite3 -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig - -%description tools -Description: Messaging server application - - %package -n sms-plugin License: Apache-2.0 Summary: SMS plugin library @@ -181,7 +167,10 @@ rm %{buildroot}/usr/share/msg-service/msg-service-db.sql rm %{buildroot}%{TZ_SYS_GLOBALUSER_DB}/.msg_service.db-journal touch %{buildroot}%{TZ_SYS_GLOBALUSER_DB}/.msg_service.db-journal -%post tools +%post -n sms-plugin -p /sbin/ldconfig +%post -n mms-plugin -p /sbin/ldconfig + +%post /sbin/ldconfig chmod 640 %{TZ_SYS_GLOBALUSER_DB}/.msg_service.db @@ -219,21 +208,15 @@ chmod o= %{TZ_SYS_GLOBALUSER_DATA}/msg-service/ipcdata setfacl -m group:priv_message_write:rw %{TZ_SYS_GLOBALUSER_DATA}/msg-service/ipcdata -%post -n sms-plugin -p /sbin/ldconfig -%post -n mms-plugin -p /sbin/ldconfig - -%post -/sbin/ldconfig - %postun -p /sbin/ldconfig -%postun tools -p /sbin/ldconfig %postun -n sms-plugin -p /sbin/ldconfig %postun -n mms-plugin -p /sbin/ldconfig %files %manifest msg-service.manifest %license LICENSE.APLv2 +%config(noreplace) %{TZ_SYS_GLOBALUSER_DB}/.msg_service.db* %{_bindir}/msg-server %{_libdir}/libmsg_plugin_manager.so %{_libdir}/libmsg_mapi.so.* @@ -243,6 +226,10 @@ setfacl -m group:priv_message_write:rw %{TZ_SYS_GLOBALUSER_DATA}/msg-service/ipc %{_libdir}/libmsg_externals.so %{_libdir}/libmsg_transaction_proxy.so %{_libdir}/libmsg_vobject.so +%{_unitdir}/msg-server.service +%{_unitdir}/multi-user.target.wants/msg-server.service +%{_unitdir}/msg-server.socket +%{_unitdir}/sockets.target.wants/msg-server.socket /usr/share/upgrade/scripts/500.msg-service.sh %files devel @@ -251,15 +238,6 @@ setfacl -m group:priv_message_write:rw %{TZ_SYS_GLOBALUSER_DATA}/msg-service/ipc %{_libdir}/pkgconfig/msg-service.pc %{_includedir}/msg-service/* -%files tools -%manifest msg-service-tools.manifest -%license LICENSE.APLv2 -%config(noreplace) %{TZ_SYS_GLOBALUSER_DB}/.msg_service.db* -%{_unitdir}/msg-server.service -%{_unitdir}/multi-user.target.wants/msg-server.service -%{_unitdir}/msg-server.socket -%{_unitdir}/sockets.target.wants/msg-server.socket - %files -n sms-plugin %manifest sms-plugin.manifest %license LICENSE.APLv2 -- 2.7.4