with %bcond_with macro, neard_nfc is disabled by default, the build
system need to add the macro at the project config
Due to we have two nfc stack, and both package nfc-manager and
nfc-manager-neard provide the same lib for capi-network-nfc,
to avoid the conflict, we require the corresponding package directly
Change-Id: I8d2b533f1232608744f2619e136138680dc015a3
%bcond_with x
+%bcond_with neard_nfc
Name: capi-network-nfc
Summary: NFC Core API
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gobject-2.0)
+%if %{with neard_nfc}
+BuildRequires: nfc-client-lib-neard-devel
+BuildRequires: nfc-common-neard-devel
+%else
BuildRequires: nfc-client-lib-devel
BuildRequires: nfc-common-devel
+%endif
BuildRequires: pkgconfig(capi-base-common)
BuildRequires: pkgconfig(vconf)
%if %{with x}