From: Michael Schroeder Date: Mon, 18 Jul 2011 14:52:09 +0000 (+0200) Subject: - build perl bindings with -Wno-nonnull for SLE 11 SP1 X-Git-Tag: BASE-SuSE-Code-12_1-Branch~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=254ae09ddc5c6933aad985433bda0992a227c51f;p=platform%2Fupstream%2Flibsolv.git - build perl bindings with -Wno-nonnull for SLE 11 SP1 --- diff --git a/bindings/perl/CMakeLists.txt b/bindings/perl/CMakeLists.txt index 8f86cf8..65d14a6 100644 --- a/bindings/perl/CMakeLists.txt +++ b/bindings/perl/CMakeLists.txt @@ -24,7 +24,7 @@ ADD_CUSTOM_COMMAND ( VERBATIM ) -ADD_DEFINITIONS(${PERL_CCFLAGS} -Wno-unused) +ADD_DEFINITIONS(${PERL_CCFLAGS} -Wno-unused -Wno-nonnull) LINK_DIRECTORIES (${PERL_CORE_DIR}) INCLUDE_DIRECTORIES (${PERL_INCLUDE_PATH} ${PERL_CORE_DIR}) diff --git a/package/libsolv.spec.in b/package/libsolv.spec.in index f76819c..9bc7685 100644 --- a/package/libsolv.spec.in +++ b/package/libsolv.spec.in @@ -136,7 +136,9 @@ Group: Development/Languages/Ruby Ruby bindings for sat solver. %package -n python-solv +%if 0{?py_requires} %py_requires +%endif Summary: Python bindings for the libsolv library Group: Development/Languages/Python