diff --git a/rust-env_logger0.5.spec b/rust-env_logger0.5.spec index 16971f7..7f323f0 100644 --- a/rust-env_logger0.5.spec +++ b/rust-env_logger0.5.spec @@ -67,7 +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 +sed -i -e '/#!\[.*deny(.*warnings.*).*\]/d' src/lib.rs %cargo_prep %generate_buildrequires