Accepting request 346382 from home:Andreas_Schwab:Factory

- coroutine2 depends on context, disable it if context is not built

OBS-URL: https://build.opensuse.org/request/show/346382
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=152
This commit is contained in:
Ismail Dönmez 2015-11-26 14:00:15 +00:00 committed by Git OBS Bridge
parent 36cea59666
commit 347c049e99
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 26 10:57:32 UTC 2015 - schwab@suse.de
- coroutine2 depends on context, disable it if context is not built
-------------------------------------------------------------------
Fri Oct 23 11:29:11 UTC 2015 - idonmez@suse.com

View File

@ -475,8 +475,8 @@ export EXPAT_INCLUDE=/usr/include EXPAT_LIBPATH=%{_libdir}
export PYTHON_FLAGS
LIBRARIES_FLAGS=--with-libraries=all
%if !%build_context
# coroutine depends on context
LIBRARIES_FLAGS+=" --without-libraries=context,coroutine"
# coroutine/coroutine2 depend on context
LIBRARIES_FLAGS+=" --without-libraries=context,coroutine,coroutine2"
%endif
EOF