packaging: Disable sessiond when it is not used on low-memory model 89/311189/1 accepted/tizen/unified/20240520.131858 accepted/tizen/unified/x/20240521.022210
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 16 May 2024 02:07:14 +0000 (11:07 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 16 May 2024 02:33:54 +0000 (11:33 +0900)
Disable sessiond when it is not used on low-memory model
according to the following build macro rules:

- %if ("%{sec_buildconf_optimized_memory}" != "1")
 : this key is used for both of Licensing 1GB/1.5GB model and Samsung 1GB model

 - %if ("%{sec_buildconf_product_lite_tizen}" != "y")
 : it is used for only Licensing 1GB/1.5GB/2.5GB)

Change-Id: I0c064a6308892792e08cbfe780fecf78cbbbdbd9
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
packaging/sessiond.spec

index 6c25b19a240fb532b9db7b872baf9e1c83753ac3..4e0f477329d4ccb13b4f52353ce64faa06261c7e 100644 (file)
@@ -17,7 +17,7 @@ BuildRequires: pkgconfig(dlog)
 %package -n libsessiond
 Summary:    Subsession support library
 Group:      System/Libraries
-%if ("%{sec_buildconf_optimized_memory}" != "1")
+%if ("%{sec_buildconf_optimized_memory}" != "1" && "%{sec_buildconf_product_lite_tizen}" != "y")
 Requires:   sessiond = %{version}-%{release}
 %endif
 Requires(post): /sbin/ldconfig