Revert "Do not use tizen-target-name"
authorSooChan Lim <sc1.lim@samsung.com>
Tue, 21 Feb 2017 10:04:20 +0000 (19:04 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 21 Feb 2017 10:04:27 +0000 (19:04 +0900)
This reverts commit 47b7175b6d7bab7aefaceda5c6e0f7ebbaeaf0f2.

Change-Id: Ib517bc120f54d94df322aeff238ab6333cd9daee

packaging/libtbm-sprd.spec

index 9edd165..b87ccec 100644 (file)
@@ -4,14 +4,17 @@ Release:        0
 License:        MIT
 Summary:        Tizen Buffer Manager - sprd backend
 Group:          System/Libraries
-ExcludeArch:    i586 x86_64 aarch64
+ExcludeArch:    i586 x86_64
+%if ("%{?tizen_target_name}" != "TM1")
+ExclusiveArch:
+%endif
 Source0:        %{name}-%{version}.tar.gz
 
 BuildRequires:  pkgconfig(libdrm)
 BuildRequires:  pkgconfig(libtbm)
 BuildRequires:  pkgconfig(dlog)
 BuildRequires:  pkgconfig(libudev)
-BuildRequires:  kernel-headers-3.10-sc7730
+BuildRequires:  kernel-headers-tizen-dev
 BuildConflicts:  linux-glibc-devel
 
 %description