From be034c1ecc4693a775967211a10619690fc61a31 Mon Sep 17 00:00:00 2001 From: "hk57.kim" Date: Fri, 14 Apr 2017 14:54:26 +0900 Subject: [PATCH] [FIX] fix issue of overwrite sub package's files. - This is for Tizen 4.0. - If packages are connected with compat style and main/super package that contains same items with sub package, will overwrite it. - Change the installation sequence to main/super package first and sub package later. Change-Id: Ie66ee55f5d1ed4b226c0dc63a4dba42148fe2050 Signed-off-by: hk57.kim --- packaging/isf.spec | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/packaging/isf.spec b/packaging/isf.spec index 01a699d..b83b572 100644 --- a/packaging/isf.spec +++ b/packaging/isf.spec @@ -44,8 +44,6 @@ BuildRequires: pkgconfig(cynara-creds-socket) BuildRequires: pkgconfig(cynara-session) BuildRequires: pkgconfig(capi-appfw-package-manager) Requires(postun): /sbin/ldconfig -Requires: %{name}-compat = %{version}-%{release} -Recommends: %{name}-profile_common = %{version}-%{release} Requires: org.tizen.isf-kbd-mode-changer # Mobile/Common ONLY @@ -61,10 +59,7 @@ Input Service Framewok (ISF) is an input method (IM) platform, and it has been d %if "%{?profile}" != "tv" && "%{?profile}" != "mobile" && "%{?profile}" != "common" %package profile_wearable Summary: ISF bin for wearable/ivi -Provides: %{name}-compat = %{version}-%{release} -Provides: %{name}-profile_ivi = %{version}-%{release} -Conflicts: %{name}-profile_common -Conflicts: %{name}-profile_tv +Requires: %{name} = %{version}-%{release} %description profile_wearable Compile isf with --disable-include-notification and --disable-include-libwebsocket %endif @@ -74,10 +69,7 @@ Compile isf with --disable-include-notification and --disable-include-libwebsock %if "%{?profile}" != "tv" && "%{?profile}" != "wearable" && "%{?profile}" != "ivi" %package profile_common Summary: ISF bin for mobile/common -Provides: %{name}-compat = %{version}-%{release} -Provides: %{name}-profile_mobile = %{version}-%{release} -Conflicts: %{name}-profile_wearable -Conflicts: %{name}-profile_tv +Requires: %{name} = %{version}-%{release} %description profile_common Compile isf with --disable-include-libwebsocket %endif @@ -87,9 +79,7 @@ Compile isf with --disable-include-libwebsocket %if "%{?profile}" != "common" && "%{?profile}" != "wearable" && "%{?profile}" != "mobile" && "%{?profile}" != "ivi" %package profile_tv Summary: ISF bin for TV -Provides: %{name}-compat = %{version}-%{release} -Conflicts: %{name}-profile_common -Conflicts: %{name}-profile_wearable +Requires: %{name} = %{version}-%{release} %description profile_tv Compile isf with --disable-include-notification %endif -- 2.7.4