]> git.pld-linux.org Git - packages/python3-berkeleydb.git/commitdiff
- added BERKELEYDB_*DIR hints (fixes build on x32) auto/th/python3-berkeleydb-18.1.5-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 3 Apr 2022 19:22:33 +0000 (21:22 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 3 Apr 2022 19:22:33 +0000 (21:22 +0200)
python3-berkeleydb.spec

index 7e7108c02714869e7261a5dca4afaf343bf93498..2fdad20b9329ba37f80b2eda7e276d309cc579fd 100644 (file)
@@ -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
This page took 0.162982 seconds and 4 git commands to generate.