diff --git a/rust-relative-path.spec b/rust-relative-path.spec index e60138a..c57c592 100644 --- a/rust-relative-path.spec +++ b/rust-relative-path.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} @@ -14,7 +14,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/relative-path Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Portable, relative paths for Rust.} @@ -62,7 +62,7 @@ use the "serde" 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 f626714..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,2 +0,0 @@ -[DEFAULT] -all-features = true diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..fe6a1b8 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,2 @@ +[features] +enable-all = true