[packages/python3-berkeleydb] - added BERKELEYDB_*DIR hints (fixes build on x32)
qboosh
qboosh at pld-linux.org
Sun Apr 3 21:22:39 CEST 2022
commit 4fb45bad218ec449cded629fa6db7a6978664a92
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Apr 3 21:22:33 2022 +0200
- added BERKELEYDB_*DIR hints (fixes build on x32)
python3-berkeleydb.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/python3-berkeleydb.spec b/python3-berkeleydb.spec
index 7e7108c..2fdad20 100644
--- a/python3-berkeleydb.spec
+++ b/python3-berkeleydb.spec
@@ -60,6 +60,8 @@ Dokumentacja API modułu Pythona berkeleydb.
%{__sed} -i -e "s,'build','build-3'," test.py
%build
+export BERKELEYDB_DIR=%{_prefix}
+export BERKELEYDB_LIBDIR=%{_libdir}
%if %{with agpl}
export YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION=1
%endif
@@ -78,6 +80,8 @@ export YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION=1
%install
rm -rf $RPM_BUILD_ROOT
+export BERKELEYDB_DIR=%{_prefix}
+export BERKELEYDB_LIBDIR=%{_libdir}
%if %{with agpl}
export YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION=1
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-berkeleydb.git/commitdiff/4fb45bad218ec449cded629fa6db7a6978664a92
More information about the pld-cvs-commit
mailing list