diff --git a/.gitignore b/.gitignore index 7c6682b..875939f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /escargot-0.5.7.crate /escargot-0.5.8.crate /escargot-0.5.9.crate +/escargot-0.5.10.crate diff --git a/escargot-fix-metadata.diff b/escargot-fix-metadata.diff deleted file mode 100644 index 6604e07..0000000 --- a/escargot-fix-metadata.diff +++ /dev/null @@ -1,10 +0,0 @@ ---- escargot-0.5.9/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ escargot-0.5.9/Cargo.toml 2024-02-14T16:13:22.399455+00:00 -@@ -36,6 +36,7 @@ - categories = ["development-tools::build-utils"] - license = "MIT OR Apache-2.0" - repository = "https://github.com/crate-ci/escargot.git" -+autobins = false - - [package.metadata.docs.rs] - all-features = true diff --git a/rust-escargot.spec b/rust-escargot.spec index 986eb70..7ddc5f9 100644 --- a/rust-escargot.spec +++ b/rust-escargot.spec @@ -1,23 +1,23 @@ -# Generated by rust2rpm 25 +# Generated by rust2rpm 26 # * files required by tests are not included in published crates %bcond_with check %global debug_package %{nil} +# prevent executables from being installed +%global cargo_install_bin 0 + %global crate escargot Name: rust-escargot -Version: 0.5.9 +Version: 0.5.10 Release: %autorelease Summary: Cargo API written in Paris License: MIT OR Apache-2.0 URL: https://crates.io/crates/escargot Source: %{crates_source} -# Manually created patch for downstream crate metadata changes -# * drop unwanted executables -Patch: escargot-fix-metadata.diff -BuildRequires: cargo-rpm-macros >= 24 +BuildRequires: cargo-rpm-macros >= 26 %global _description %{expand: Cargo API written in Paris.} diff --git a/rust2rpm.toml b/rust2rpm.toml index 7d62662..dfb43ad 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -1,3 +1,6 @@ +[package] +cargo-install-bin = false + [tests] run = ["none"] comments = ["files required by tests are not included in published crates"] diff --git a/sources b/sources index 8e80ddb..505b88d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (escargot-0.5.9.crate) = ab73204f139d2630925d5d7b84c00dbca8e90a0d914c46275241c846d1400822f975f8d2d6064597a18d22c56dd261288bae730ac52f2f9191b8e059ab2156df +SHA512 (escargot-0.5.10.crate) = a957b54296ef1e8710a670afe0a30a1edb1413df841ece7023558d2c585e17c81d0dcc983607d592d0e09b469060f823edb3f853b1a51efbc9fb33d246345305