[packages/rust] set PKG_CONFIG_PATH during %install too

atler atler at pld-linux.org
Fri Sep 11 00:54:53 CEST 2026


commit fba6c134fd9dd0fbb99b5cd07b14908dc3f110cb
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Sep 11 00:54:01 2026 +0200

    set PKG_CONFIG_PATH during %install too

 rust.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/rust.spec b/rust.spec
index a6bef68..a46e7ef 100644
--- a/rust.spec
+++ b/rust.spec
@@ -494,6 +494,9 @@ export CC="%{__cc}"
 export CXX="%{__cxx}"
 export AR="%{__ar}"
 export RUSTFLAGS="%{rpmrustflags}"
+%ifarch x32
+export PKG_CONFIG_PATH=/usr/lib64/pkgconfig:/usr/share/pkgconfig
+%endif
 export DESTDIR=$RPM_BUILD_ROOT
 %x_py install
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rust.git/commitdiff/fba6c134fd9dd0fbb99b5cd07b14908dc3f110cb



More information about the pld-cvs-commit mailing list