[packages/rust-cbindgen] add %rust_req

atler atler at pld-linux.org
Sun Oct 12 13:26:21 CEST 2025


commit 6c3e7017dc0da18b9680861cf81cfd2e901f2cff
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Oct 12 13:25:47 2025 +0200

    add %rust_req

 rust-cbindgen.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/rust-cbindgen.spec b/rust-cbindgen.spec
index 3d21cd5..96771ca 100644
--- a/rust-cbindgen.spec
+++ b/rust-cbindgen.spec
@@ -19,10 +19,11 @@ Source1:	cbindgen-crates-%{crates_ver}.tar.xz
 # Source1-md5:	7ce3565fd5c81244149bb44bf997eb8b
 URL:		https://github.com/eqrion/cbindgen
 BuildRequires:	cargo
-BuildRequires:	rpmbuild(macros) >= 2.004
+BuildRequires:	rpmbuild(macros) >= 2.050
 BuildRequires:	rust >= 1.74
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
+%{?rust_req}
 ExclusiveArch:	%{rust_arches}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rust-cbindgen.git/commitdiff/6c3e7017dc0da18b9680861cf81cfd2e901f2cff



More information about the pld-cvs-commit mailing list