remove tools package 56/133656/1
authorKyeonghun Lee <kh9090.lee@samsung.com>
Tue, 13 Jun 2017 04:48:23 +0000 (13:48 +0900)
committerKyeonghun Lee <kh9090.lee@samsung.com>
Tue, 13 Jun 2017 04:48:23 +0000 (13:48 +0900)
Change-Id: I0db1b68be2a219344e732596e0d11eb27d750e07
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
packaging/msg-service.spec

index a674301007cb624c07dc1425621213c1b85dfb14..01878b12032220735f66205448dd0287b6d0b265 100755 (executable)
@@ -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