diff --git a/rust-scratch.spec b/rust-scratch.spec index 7acde49..02a1281 100644 --- a/rust-scratch.spec +++ b/rust-scratch.spec @@ -1,5 +1,6 @@ -# Generated by rust2rpm 24 -%bcond_without check +# Generated by rust2rpm 26 +# * obsolete dev-dependencies: fs2 +%bcond_with check %global debug_package %{nil} %global crate scratch @@ -13,7 +14,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/scratch Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Compile-time temporary directory shared by multiple crates and erased by @@ -49,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 c32e3f2..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,2 +0,0 @@ -[DEFAULT] -summary = Shared compile-time directory diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..64431b9 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,7 @@ +[package] +summary = "Shared compile-time directory" + +[tests] +run = ["none"] +comments = ["obsolete dev-dependencies: fs2"] +