diff --git a/.gitignore b/.gitignore index 8ed8267..7743a9d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /futures-timer-0.1.1.crate /futures-timer-3.0.2.crate +/futures-timer-3.0.3.crate diff --git a/rust-futures-timer.spec b/rust-futures-timer.spec index fb3816e..e31de78 100644 --- a/rust-futures-timer.spec +++ b/rust-futures-timer.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate futures-timer Name: rust-futures-timer -Version: 3.0.2 +Version: 3.0.3 Release: %autorelease Summary: Timeouts for futures @@ -14,7 +14,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/futures-timer Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Timeouts for futures.} @@ -49,7 +49,7 @@ use the "default" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index 3decd72..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,5 +0,0 @@ -[DEFAULT] -unwanted-features = - gloo-timers - send_wrapper - wasm-bindgen diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..aed580e --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[features] +hide = ["gloo-timers", "send_wrapper", "wasm-bindgen"] + diff --git a/sources b/sources index 3acce6f..bb57943 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (futures-timer-3.0.2.crate) = 47cc68f9f134e557d66a003d942d8a4201b1db56f1ed2ae276a2fe6f56b24c06ccd108d9852f9fd9db7d254bf8aefafa56cc0410bea41c3805d7e4bc3dc4d73c +SHA512 (futures-timer-3.0.3.crate) = c50388e38b45dce2a65a8d7ce56bcd9c3544ae677158c4c10c532136e861c16f0f52df5222a14c0f40ad8e4faf93fde8223affa7fd84d24e95aa6994177e7e76