In environments that have no multi-user, sessiond does nothing. However,
libsessiond can work alone. For example, subsession_get_user_list()
provides a way that fetches user list without sessiond. However,
libsessiond is bound to sessiond by the below specification.
%package -n libsessiond
Requires: sessiond = %{version}-%{release}
Therefore, one who needs "only" libsessiond has no choice but pulls
sessiond in together. This is matter on a system with insufficient
memory, with no use of multi-user environment as sessiond consumes
memory while does nothing. Currently security-manager is one example
that pulls libsessiond in.
Change-Id: I22fb3b0917a2ee2ad6e36f56426c23767ce648ef
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
%package -n libsessiond
Summary: Subsession support library
Group: System/Libraries
+%if ("%{sec_buildconf_product_lite_tizen}" != "y")
Requires: sessiond = %{version}-%{release}
+%endif
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
%description -n libsessiond