Fix build error if build conf is not defined 61/305961/1 accepted/tizen/unified/20240215.130030 accepted/tizen/unified/x/20240219.013843
authorJiyong <jiyong.min@samsung.com>
Wed, 14 Feb 2024 07:24:39 +0000 (16:24 +0900)
committerJiyong <jiyong.min@samsung.com>
Wed, 14 Feb 2024 07:30:10 +0000 (16:30 +0900)
Change-Id: Ifd2d0d3c096cb355965845917881c6cab8b5f090

packaging/capi-media-controller.spec

index bd023b2..bc8c19d 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-controller
 Summary:    A media controller library in Tizen Native API
-Version:    0.2.40
+Version:    0.2.41
 Release:    1
 Group:      Multimedia/API
 License:    Apache-2.0
@@ -26,7 +26,7 @@ BuildRequires:  pkgconfig(vconf)
 
 # socket activation enable(1), disable(0)
 %if ("%{tizen_profile_name}" == "tv")
-%if %{sec_buildconf_optimized_memory}
+%if ("%{sec_buildconf_optimized_memory}" == "1")
 %define on_demand 1
 %else
 %define on_demand 0