usbhost api: enable deviced feature just for mobile profile
authortaeyoung <ty317.kim@samsung.com>
Tue, 13 Sep 2016 04:02:56 +0000 (13:02 +0900)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Thu, 13 Apr 2017 11:15:19 +0000 (13:15 +0200)
usb host api is Mobile profile feature currently. Thus
deviced related codes should be applied to mobile profile only.

Change-Id: I354c784b32ed37a5834f8adbb5a561e75fa0eb99
Signed-off-by: taeyoung <ty317.kim@samsung.com>
packaging/libusb.spec

index b3430f5..e43ef05 100644 (file)
@@ -10,7 +10,7 @@ Source1:        baselibs.conf
 Source1001:    libusb.manifest
 BuildRequires:  pkg-config
 BuildRequires:  systemd-devel
-%if "%{?profile}" != "tv"
+%if "%{?profile}" == "mobile"
 BuildRequires:  pkgconfig(deviced)
 %endif
 
@@ -33,7 +33,7 @@ cp %{SOURCE1001} .
 %build
 %reconfigure\
        --with-pic\
-%if "%{?profile}" != "tv"
+%if "%{?profile}" == "mobile"
        --enable-deviced\
 %endif
        --disable-static