[packages/hawkey] Fix python installation directory
jajcus
jajcus at pld-linux.org
Mon Nov 30 17:34:23 CET 2015
commit ae6c60785e95e1648c78a9a1395d7834f220838f
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Mon Nov 30 17:34:04 2015 +0100
Fix python installation directory
Release: 6
hawkey.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/hawkey.spec b/hawkey.spec
index 3f00e85..2207f02 100644
--- a/hawkey.spec
+++ b/hawkey.spec
@@ -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}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/hawkey.git/commitdiff/ae6c60785e95e1648c78a9a1395d7834f220838f
More information about the pld-cvs-commit
mailing list