diff --git a/.gitignore b/.gitignore index d5e389f..d015771 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /rustc-demangle-0.1.21.crate /rustc-demangle-0.1.22.crate /rustc-demangle-0.1.23.crate +/rustc-demangle-0.1.24.crate diff --git a/rust-rustc-demangle.spec b/rust-rustc-demangle.spec index 98f310e..9d98c5c 100644 --- a/rust-rustc-demangle.spec +++ b/rust-rustc-demangle.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate rustc-demangle Name: rust-rustc-demangle -Version: 0.1.23 +Version: 0.1.24 Release: %autorelease Summary: Rust compiler symbol demangling @@ -14,7 +14,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/rustc-demangle Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Rust compiler symbol demangling.} @@ -61,7 +61,7 @@ use the "std" 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 302578b..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,5 +0,0 @@ -[DEFAULT] -unwanted-features = - compiler_builtins - core - rustc-dep-of-std diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..8fa678b --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[features] +hide = ["compiler_builtins", "core", "rustc-dep-of-std"] + diff --git a/sources b/sources index e9c9961..d74c9d0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rustc-demangle-0.1.23.crate) = 8cd29800254b1305ad50f1fc008838c52d9659f97a51a68e9f2bd6d0a60126f3ebdd1c79760f96445b3bf998d0773526ddf663b174acca81babdc0b423247247 +SHA512 (rustc-demangle-0.1.24.crate) = eb897c35300b87766e6105917a907fca1c5b1f7691fc03c6c1aaf38075ac883a73d1eb54a245d13ba59c7b0f0333d6543e23fc1b1c542fbbd5c750a84660b9e8