diff --git a/.gitignore b/.gitignore index 6dbd0ad..2cf3338 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /LICENSE-APACHE /LICENSE-MIT /mockall_double-0.3.0.crate +/mockall_double-0.3.1.crate diff --git a/rust-mockall_double.spec b/rust-mockall_double.spec index 5023456..c8fd77b 100644 --- a/rust-mockall_double.spec +++ b/rust-mockall_double.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate mockall_double Name: rust-mockall_double -Version: 0.3.0 +Version: 0.3.1 Release: %autorelease Summary: Test double adapter for Mockall @@ -14,7 +14,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/mockall_double Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Test double adapter for Mockall.} @@ -50,7 +50,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 1715b93..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,3 +0,0 @@ -[DEFAULT] -unwanted-features = - nightly diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..6746634 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[features] +hide = ["nightly"] + diff --git a/sources b/sources index 7c812a5..38a1440 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mockall_double-0.3.0.crate) = b49fd1c23200ebe426b386cf38a4f45cfc78a0893dd1c4a17a3d04158773538ea351b8974292933404913f61ad96f30c049c09b5762f0ade84628d03f4e42ba4 +SHA512 (mockall_double-0.3.1.crate) = d11303f9daaf260b7740ce60afea32967b0c2cbd08cda98d6401f662c8c64ebfe30c828edf8e47da36267313e477e0bfa5dac6b4300e0b882a9c38e192e4e74a