package: set ExclusiveArch as ix86 and x86_64 54/90454/1
authorJinhyung Choi <jinh0.choi@samsung.com>
Fri, 30 Sep 2016 06:34:52 +0000 (15:34 +0900)
committerJinhyung Choi <jinh0.choi@samsung.com>
Fri, 30 Sep 2016 06:34:52 +0000 (15:34 +0900)
Change-Id: Ia9da5582ac12a67d224257fe2fc7c7e6fb350c12
Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
packaging/emuld.spec

index f67c1182b958d8db1e7e24d4810c810ad0892933..52da23d733e68855a218d94d9f0925902c5902ac 100644 (file)
@@ -2,6 +2,8 @@
 # emuld package spec file
 #
 
+%bcond_with emulator
+
 %define emuld_major_version 0
 %define emuld_minor_version 10
 %define emuld_release_number 15
@@ -24,6 +26,12 @@ BuildRequires: pkgconfig(ecore)
 BuildRequires: pkgconfig(capi-network-connection)
 BuildRequires: pkgconfig(eventsystem)
 
+%if %{with emulator}
+ExclusiveArch: %{ix86} x86_64
+%else
+ExclusiveArch:
+%endif
+
 %description
 A emulator daemon is used for communication between guest and host