From 305d57d45dad9bea876340f9f5239584ca43ab48 Mon Sep 17 00:00:00 2001 From: Alexander Aksenov Date: Tue, 27 Oct 2015 12:49:14 +0300 Subject: [PATCH] [FIX] Change .spec file Change-Id: I220c9385891562161932304c8eec28a2eb3be4aa Signed-off-by: Alexander Aksenov --- packaging/swap-modules.spec | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/packaging/swap-modules.spec b/packaging/swap-modules.spec index d4271d0..46257b7 100755 --- a/packaging/swap-modules.spec +++ b/packaging/swap-modules.spec @@ -10,13 +10,20 @@ Source: swap-modules-3.0.tar.gz BuildRequires: perl BuildRequires: python %ifarch %{arm} + %if "%{?tizen_profile_name}" == "tv" +BuildConflicts: vd_kernel-headers +BuildRequires: tztv-hawk-kmodules-devel + %define build_arch arm + %define kernel_path /usr/include/kernel_header/debug + %else BuildRequires: kernel-devel -%define build_arch arm -%define kernel_path /usr/src/linux-kernel-build-3.0.101-trats2_defconfig -%else -%define build_arch i386 + %define build_arch arm + %define kernel_path /usr/src/linux-kernel-build-3.0.101-trats2_defconfig + %endif +%else #i386 + %define build_arch i386 BuildRequires: emulator-kernel-devel -%define kernel_path /usr/src/linux-kernel-build-3.14.25 + %define kernel_path /usr/src/linux-kernel-build-3.14.25 %endif Provides: swap-modules %description -- 2.7.4