commit 95bfbd667d4a2e907985ce77229ed595fef3f19d Author: Jakub Bogusz <qbo...@pld-linux.org> Date: Fri May 24 20:00:33 2024 +0200
- avoid rebuilding on install bcachefs-tools.spec | 9 +++++++++ 1 file changed, 9 insertions(+) --- diff --git a/bcachefs-tools.spec b/bcachefs-tools.spec index ec41eb0..fcf42df 100644 --- a/bcachefs-tools.spec +++ b/bcachefs-tools.spec @@ -81,6 +81,15 @@ export LIBCLANG_PATH=/usr/lib64 rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8} +# keep build env settings to avoid rebuilds ("dirty") +export RUSTFLAGS="%{rpmrustflags}" +export BINDGEN_EXTRA_CLANG_ARGS="%{rpmcflags} %{rpmcppflags}" +%ifnarch x32 +export LIBCLANG_PATH="%{_libdir}" +%else +export LIBCLANG_PATH=/usr/lib64 +%endif + %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ V=1 \ ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/bcachefs-tools.git/commitdiff/95bfbd667d4a2e907985ce77229ed595fef3f19d _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit