[packages/cxx-rust-cssparser] - try to pass cargo_target to cmake

witekfl witekfl at pld-linux.org
Sat Jul 25 09:50:22 CEST 2026


commit 593ca3f8d2ee84dba4d32378b25c91c9c281536c
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Sat Jul 25 09:49:44 2026 +0200

    - try to pass cargo_target to cmake

 cxx-rust-cssparser.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/cxx-rust-cssparser.spec b/cxx-rust-cssparser.spec
index 9e9a172..7f035a8 100644
--- a/cxx-rust-cssparser.spec
+++ b/cxx-rust-cssparser.spec
@@ -9,7 +9,7 @@ Summary:	Library for parsing CSS
 Summary(pl.UTF-8):	Biblioteka do parsowania CSS
 Name:		cxx-rust-cssparser
 Version:	1.0.0
-Release:	1
+Release:	2
 License:	LGPL
 Group:		Libraries
 Source0:	https://download.kde.org/stable/cxx-rust-cssparser/%{name}-%{version}.tar.xz
@@ -70,7 +70,8 @@ export CARGO_HOME="$(pwd)/rust/.cargo"
 	-G Ninja \
 	%{!?with_tests:-DBUILD_TESTING=OFF} \
 	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-	-DUSE_CORROSION_CXXBRIDGE=OFF
+	-DUSE_CORROSION_CXXBRIDGE=OFF \
+	-DRust_CARGO_TARGET=%cargo_target
 
 %ninja_build -C build
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cxx-rust-cssparser.git/commitdiff/593ca3f8d2ee84dba4d32378b25c91c9c281536c



More information about the pld-cvs-commit mailing list