From 80a7f7be4756cff287b5c0e9d3d8bc75108a50f4 Mon Sep 17 00:00:00 2001 From: Oliver Falk Date: Mon, 6 Nov 2023 15:19:46 +0100 Subject: [PATCH] Add .la to files and ensure we set the PYTHON path, else python pass fails --- libdnet.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libdnet.spec b/libdnet.spec index bae8949..c43ab43 100644 --- a/libdnet.spec +++ b/libdnet.spec @@ -60,6 +60,7 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool %make_build %install +export PYTHONPATH=$RPM_BUILD_ROOT/%{python3_sitearch} %make_install pushd python @@ -76,6 +77,7 @@ popd %files devel %{_bindir}/* %{_libdir}/*.so +%{_libdir}/*.la %{_includedir}/* %{_mandir}/man3/*.3*