diff --git a/rust-libm.spec b/rust-libm.spec index 355c86e..2af692a 100644 --- a/rust-libm.spec +++ b/rust-libm.spec @@ -105,6 +105,7 @@ which use "stable" feature of "%{crate}" crate. %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 +sed -i -e '/#!\[deny(warnings)\]/d' src/lib.rs %cargo_prep %generate_buildrequires