spec: Replace with sec_buildconf_optimized_memory to remove dependency from sessiond 62/306062/1 accepted/tizen/unified/20240216.161330 accepted/tizen/unified/toolchain/20240311.065619 accepted/tizen/unified/x/20240220.145933
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 15 Feb 2024 11:41:22 +0000 (20:41 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 16 Feb 2024 02:43:06 +0000 (11:43 +0900)
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>
packaging/sessiond.spec

index db66e07f28c39e82e56b9ee4a5669cc42a05fb99..6c25b19a240fb532b9db7b872baf9e1c83753ac3 100644 (file)
@@ -17,7 +17,7 @@ BuildRequires: pkgconfig(dlog)
 %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