[packages/rust-bindgen] add %rust_req
    atler 
    atler at pld-linux.org
       
    Sun Oct 12 13:25:19 CEST 2025
    
    
  
commit ce6259c33d45982e874ddb7457be2ddeab18847e
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Oct 12 13:25:05 2025 +0200
    add %rust_req
 rust-bindgen.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/rust-bindgen.spec b/rust-bindgen.spec
index 40e2566..8b5bf6e 100644
--- a/rust-bindgen.spec
+++ b/rust-bindgen.spec
@@ -15,10 +15,11 @@ Source1:	%{name}-crates-%{version}.tar.xz
 # Source1-md5:	5c8791e98ff44157787908a3f9060c76
 URL:		https://rust-lang.github.io/rust-bindgen/
 BuildRequires:	cargo
-BuildRequires:	rpmbuild(macros) >= 2.004
+BuildRequires:	rpmbuild(macros) >= 2.050
 BuildRequires:	rust >= 1.57.0
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
+%{?rust_req}
 # dynamically loaded
 Requires:	clang-libs
 ExclusiveArch:	%{rust_arches}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rust-bindgen.git/commitdiff/ce6259c33d45982e874ddb7457be2ddeab18847e
    
    
More information about the pld-cvs-commit
mailing list