If sec_buildconf_optimized_memory equals with 1,
indicates that optimized_memory feature is enabled.
Because sessiond is not used on target with the enabled optimized_memory,
it should be not executed.
Replace sec_buildconf_product_lite_tizen with sec_buildconf_optimized_memory
in order to achieve the above role.
Change-Id: Ie62dedfbd80de92484f4391705d51346080ac5c4
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
%package -n libsessiond
Summary: Subsession support library
Group: System/Libraries
-%if ("%{sec_buildconf_product_lite_tizen}" != "y")
+%if ("%{sec_buildconf_optimized_memory}" != "1")
Requires: sessiond = %{version}-%{release}
%endif
Requires(post): /sbin/ldconfig