diff --git a/.gitignore b/.gitignore index fbeda67..e840286 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /cargo_metadata-0.15.4.crate /cargo_metadata-0.17.0.crate /cargo_metadata-0.18.1.crate +/cargo_metadata-0.19.1.crate diff --git a/cargo_metadata-fix-metadata.diff b/cargo_metadata-fix-metadata.diff deleted file mode 100644 index f135811..0000000 --- a/cargo_metadata-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- cargo_metadata-0.18.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ cargo_metadata-0.18.1/Cargo.toml 2024-09-20T22:52:15.103429+00:00 -@@ -32,7 +32,7 @@ - version = "0.1.2" - - [dependencies.derive_builder] --version = "0.12" -+version = "0.20" - optional = true - - [dependencies.semver] diff --git a/rust-cargo_metadata.spec b/rust-cargo_metadata.spec index 33d623b..6c715b9 100644 --- a/rust-cargo_metadata.spec +++ b/rust-cargo_metadata.spec @@ -1,20 +1,17 @@ -# Generated by rust2rpm 26 -%bcond_without check +# Generated by rust2rpm 27 +%bcond check 1 %global debug_package %{nil} %global crate cargo_metadata Name: rust-cargo_metadata -Version: 0.18.1 +Version: 0.19.1 Release: %autorelease Summary: Structured access to the output of cargo metadata License: MIT URL: https://crates.io/crates/cargo_metadata Source: %{crates_source} -# Manually created patch for downstream crate metadata changes -# * bump derive_builder dependency from 0.12 to 0.20 -Patch: cargo_metadata-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 @@ -102,7 +99,12 @@ use the "unstable" feature of the "%{crate}" crate. %if %{with check} %check # * skip tests that depend on data which is not included in published crates -%cargo_test -a -- -- --skip advanced_feature_configuration --skip all_the_fields --skip basic_workspace_root_package_exists --skip current_dir +%{cargo_test -a -- -- %{shrink: + --skip advanced_feature_configuration + --skip all_the_fields + --skip basic_workspace_root_package_exists + --skip current_dir +}} %endif %changelog diff --git a/sources b/sources index 8368ea9..497fa29 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cargo_metadata-0.18.1.crate) = 43f87d2b84597ec9a27e9fccf06ec5f2630a0147a9c85779622c25493bd61268c266643f8206a17d76a16329af85f0cc563a9af7e17ca77024c0eaf788555f7d +SHA512 (cargo_metadata-0.19.1.crate) = 5b4f69690a5852127ef505bb87d29cb16e6d6dd7c7b4fa6bc10f78bbbadb4e4bcb2e92ecfc46fbae4d905f83c55418be4d43202273aae44b384295870b509190