Skip to content

Commit

Permalink
Add .la to files and ensure we set the PYTHON path, else python pass …
Browse files Browse the repository at this point in the history
…fails
  • Loading branch information
ofalk committed Nov 6, 2023
1 parent 912f784 commit 80a7f7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libdnet.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -76,6 +77,7 @@ popd
%files devel
%{_bindir}/*
%{_libdir}/*.so
%{_libdir}/*.la
%{_includedir}/*
%{_mandir}/man3/*.3*

Expand Down

0 comments on commit 80a7f7b

Please sign in to comment.