https://bugzilla.redhat.com/show_bug.cgi?id=1941896
--- Comment #4 from Robert-André Mauchin 🐧 zebob.m@gmail.com --- - You can do:
%generate_buildrequires %cargo_generate_buildrequires echo "pam-devel"
- You need to open review requests for you dependencies too. Also you may need to patch some Cargo.toml to build the packages. For example, in your pam-sys build you have: No matching package to install: 'crate(bindgen/default) = 0.53.2' But Fedora is at rust-bindgen 0.56.0. So you need to use 'rust2rpm -p' to patch the Cargo.toml.