diff options
author | Alexander Aksenov <a.aksenov@samsung.com> | 2015-10-28 11:56:56 +0300 |
---|---|---|
committer | Alexander Aksenov <a.aksenov@samsung.com> | 2015-10-28 11:56:56 +0300 |
commit | e9276cfa34a5a0598a57b575660e42d413589862 (patch) | |
tree | 4f5d5fcabce2289b6b88f6c6d57f8478ec0d33db | |
parent | 305d57d45dad9bea876340f9f5239584ca43ab48 (diff) | |
download | swap-modules-e9276cfa34a5a0598a57b575660e42d413589862.tar.gz swap-modules-e9276cfa34a5a0598a57b575660e42d413589862.tar.bz2 swap-modules-e9276cfa34a5a0598a57b575660e42d413589862.zip |
[FIX] Replace swap-modules.specroot_dep_remove
Change-Id: I64d4fba864c3c674af7b70618016b4690b58ba5d
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
-rwxr-xr-x | packaging/swap-modules.spec | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/packaging/swap-modules.spec b/packaging/swap-modules.spec index 46257b7e..45d9f93a 100755 --- a/packaging/swap-modules.spec +++ b/packaging/swap-modules.spec @@ -16,15 +16,20 @@ 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 + %if "%{?tizen_profile_name}" == "mobile" +ExcludeArch: %{arm} + %else + %if "%{?tizen_profile_name}" == "wearable" +ExcludeArch: %{arm} + %endif + %endif %endif %else #i386 %define build_arch i386 BuildRequires: emulator-kernel-devel %define kernel_path /usr/src/linux-kernel-build-3.14.25 %endif + Provides: swap-modules %description Kernel modules for SWAP |