diff --git a/rust-env_logger0.5.spec b/rust-env_logger0.5.spec index 8a06e55..16971f7 100644 --- a/rust-env_logger0.5.spec +++ b/rust-env_logger0.5.spec @@ -67,6 +67,7 @@ which use "regex" 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