summaryrefslogtreecommitdiff
path: root/libzypp-bindings.spec.cmake
diff options
context:
space:
mode:
authorMichael Andres <ma@suse.de>2009-12-03 15:42:36 +0100
committerMichael Andres <ma@suse.de>2009-12-03 15:42:36 +0100
commitfc6b5c9d4a93db816338386b56570b5da22f840e (patch)
treee40dfcca7c8c8f8a9ccd201cfbae239c9e6271ac /libzypp-bindings.spec.cmake
parent123855d8274989f45c3a96949643f50ca67f4add (diff)
downloadlibzypp-bindings-fc6b5c9d4a93db816338386b56570b5da22f840e.tar.gz
libzypp-bindings-fc6b5c9d4a93db816338386b56570b5da22f840e.tar.bz2
libzypp-bindings-fc6b5c9d4a93db816338386b56570b5da22f840e.zip
Pass py_sitedir from .spec file to cmake.
Diffstat (limited to 'libzypp-bindings.spec.cmake')
-rw-r--r--libzypp-bindings.spec.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/libzypp-bindings.spec.cmake b/libzypp-bindings.spec.cmake
index a5fc442..39f4df1 100644
--- a/libzypp-bindings.spec.cmake
+++ b/libzypp-bindings.spec.cmake
@@ -31,6 +31,7 @@ This package provides bindings for libzypp, the library for package management.
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=%{prefix} \
+ -DPYTHON_SITEDIR=%{py_sitedir} \
-DLIB=%{_lib} \
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
-DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags}" \