with %bcond_with macro, neard_nfc is disabled by default
Due to we have two nfc stack, and both package nfc-manager and
nfc-manager-neard provide the same lib for nfc-plugin-emul,
to avoid the conflict, we require the corresponding package directly
Change-Id: I23ef63ac6786ea2a8f6ed551aca115676fe97078
+%bcond_with neard_nfc
+
Name: nfc-plugin-emul
Summary: NFC emul plugin
Version: 0.0.12
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(vconf)
BuildRequires: pkgconfig(dlog)
-BuildRequires: pkgconfig(nfc-common)
+%if %{with neard_nfc}
+BuildRequires: nfc-common-neard-devel
+%else
+BuildRequires: nfc-common-devel
+%endif
BuildRequires: cmake
%description