]> git.pld-linux.org Git - packages/hawkey.git/commitdiff
Fix python installation directory auto/th/hawkey-0.5.3-6
authorJacek Konieczny <jajcus@jajcus.net>
Mon, 30 Nov 2015 16:34:04 +0000 (17:34 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Mon, 30 Nov 2015 16:34:04 +0000 (17:34 +0100)
Release: 6

hawkey.spec

index 3f00e85b15648938b657bd7e7da06b85ef1cd9ad..2207f028430195a9d7ac4f934fa8b772aeed841d 100644 (file)
@@ -7,7 +7,7 @@ Summary:        High-level API for the libsolv library
 Summary(pl.UTF-8):     Wysokopoziomowe API dla biblioteki libsolv
 Name:          hawkey
 Version:       0.5.3
-Release:       5
+Release:       6
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       https://github.com/rpm-software-management/hawkey/archive/%{gitrev}/%{name}-%{gitrev}.tar.gz
@@ -99,11 +99,13 @@ Wiązania Pythona 3.x do biblioteki hawkey.
 
 %prep
 %setup -q -n %{name}-%{gitrev}
+: > cmake/modules/FindPythonInstDir.cmake
 
 %build
 install -d build %{?with_python3:build-py3}
 cd build
-%cmake ..
+%cmake .. \
+       -DPYTHON_INSTALL_DIR=%{py_sitedir}
 
 %{__make}
 %{__make} doc
@@ -111,6 +113,7 @@ cd build
 %if %{with python3}
 cd ../build-py3
 %cmake .. \
+       -DPYTHON_INSTALL_DIR=%{py3_sitedir} \
        -DPYTHON_DESIRED=3
 
 %{__make}
This page took 0.102961 seconds and 4 git commands to generate.