[Tizen-submit] 15364: Changes to Tizen:Mobile/contacts-service

noreply at tizen.org noreply at tizen.org
Thu Oct 3 03:19:51 GMT 2013


Hi,
Donghee Ye have made the following changes to contacts-service in project Tizen:Mobile. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #15364

  submit:       Tizen:Mobile:build/contacts-service(cleanup) -> Tizen:Mobile


Message:
Submitter: Donghee Ye <donghee.ye at samsung.com>
Comments: submit patch
Git project: platform/core/pim/contacts-service
Tag: submit/tizen/20131003.031916
Commit: 087acfdef60ba5900626d45b42c0629129ea0df6 Add systemd socket file. When booting time, if the client tried to connect to contacts daemon which is not running yet, then connection can be failed. systemd socket file will gurantee it.

State:   new        2013-10-03T03:18:23 tizenrobot
Comment: <no comment>
changes files:
--------------
--- contacts-service.changes
+++ contacts-service.changes
@@ -0,0 +1,3 @@
+* Fri Jun 28 2013 Patrick McCarty <patrick.mccarty at linux.intel.com> 719c70f
+- packaging: remove explicit requires on sys-assert
+

new:
----
  contacts-service.socket

spec files:
-----------
--- contacts-service.spec
+++ contacts-service.spec
@@ -2,12 +2,12 @@
 Summary:    Contacts Service
 Version: 0.9.84.2
 Release:    1
-VCS:        platform/core/pim/contacts-service#submit/tizen/20130724.052111-0-g37d819d26eaff21a03054284dd13b991fcdc1ee1
+VCS:        platform/core/pim/contacts-service#submit/tizen/20131003.031916-0-g087acfdef60ba5900626d45b42c0629129ea0df6
 Group:      System/Libraries
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
 Source1:    contacts-service.service
-Source1001: 	contacts-service.manifest
+Source2:    contacts-service.socket
 BuildRequires:  cmake
 BuildRequires:  vconf-keys-devel
 BuildRequires:  pkgconfig(db-util)
@@ -23,11 +23,13 @@
 BuildRequires:  pkgconfig(accounts-svc)
 BuildRequires:  pkgconfig(badge)
 BuildRequires:  pkgconfig(libexif)
+BuildRequires:  pkgconfig(libsmack)
+BuildRequires:  pkgconfig(security-server)
 Requires(post): /usr/bin/sqlite3, /bin/chmod, /bin/chown
 Requires(post): /usr/bin/vconftool
 Requires(post): /sbin/ldconfig
+Requires(post): telephony-daemon
 Requires(postun): /sbin/ldconfig
-Requires: sys-assert
 
 %description
 Contacts Service Library
@@ -35,7 +37,8 @@
 %package -n contacts-service2
 Summary:	New Contacts service library
 Group:	Development/Libraries
-Requires: sys-assert
+Requires(post): telephony-daemon
+Requires(post): libprivilege-control-conf
 
 %description -n contacts-service2
 New Contact Serivce Library
@@ -51,7 +54,6 @@
 
 %prep
 %setup -q
-cp %{SOURCE1001} .
 
 
 %build
@@ -63,15 +65,14 @@
 rm -rf %{buildroot}
 %make_install
 
-mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d/
-mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc5.d/
-ln -s ../init.d/contacts-service-ipcd.sh %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S50contacts-svc-helper
-ln -s ../init.d/contacts-service-ipcd.sh %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S50contacts-svc-helper
-
 mkdir -p %{buildroot}/usr/lib/systemd/user/tizen-middleware.target.wants
 install -m 0644 %SOURCE1 %{buildroot}/usr/lib/systemd/user/contacts-service.service
 ln -s ../contacts-service.service %{buildroot}/usr/lib/systemd/user/tizen-middleware.target.wants/contacts-service.service
 
+mkdir -p %{buildroot}/usr/lib/systemd/user/sockets.target.wants
+install -m 0644 %SOURCE2 %{buildroot}/usr/lib/systemd/user/contacts-service.socket
+ln -s ../contacts-service.socket %{buildroot}/usr/lib/systemd/user/sockets.target.wants/contacts-service.socket
+
 
 %post -n contacts-service2
 /sbin/ldconfig
@@ -100,21 +101,20 @@

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list