Update to version 0.18.1; Fixes RHBZ#2238338

epel9 imports/e9/rust-cargo_metadata-0.18.1-1.el9
Fabio Valentini 1 year ago
parent bbd7958269
commit 348f12ddbb
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -8,3 +8,4 @@
/cargo_metadata-0.15.3.crate /cargo_metadata-0.15.3.crate
/cargo_metadata-0.15.4.crate /cargo_metadata-0.15.4.crate
/cargo_metadata-0.17.0.crate /cargo_metadata-0.17.0.crate
/cargo_metadata-0.18.1.crate

@ -1,11 +1,11 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 25
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate cargo_metadata %global crate cargo_metadata
Name: rust-cargo_metadata Name: rust-cargo_metadata
Version: 0.17.0 Version: 0.18.1
Release: %autorelease Release: %autorelease
Summary: Structured access to the output of cargo metadata Summary: Structured access to the output of cargo metadata
@ -13,7 +13,7 @@ License: MIT
URL: https://crates.io/crates/cargo_metadata URL: https://crates.io/crates/cargo_metadata
Source: %{crates_source} Source: %{crates_source}
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
Structured access to the output of `cargo metadata`.} Structured access to the output of `cargo metadata`.}
@ -71,8 +71,20 @@ use the "derive_builder" feature of the "%{crate}" crate.
%files -n %{name}+derive_builder-devel %files -n %{name}+derive_builder-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+unstable-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unstable-devel %{_description}
This package contains library source intended for building other packages which
use the "unstable" feature of the "%{crate}" crate.
%files -n %{name}+unstable-devel
%ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires
@ -86,7 +98,7 @@ use the "derive_builder" feature of the "%{crate}" crate.
%if %{with check} %if %{with check}
%check %check
# * skip tests that depend on fixtures which are not included in published crates # * 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 -- -- --skip advanced_feature_configuration --skip all_the_fields --skip basic_workspace_root_package_exists --skip current_dir
%endif %endif

@ -1,2 +0,0 @@
[DEFAULT]
all-features = true

@ -0,0 +1,12 @@
[features]
enable-all = true
[tests]
skip = [
"advanced_feature_configuration",
"all_the_fields",
"basic_workspace_root_package_exists",
"current_dir",
]
comments = ["skip tests that depend on data which is not included in published crates"]

@ -1 +1 @@
SHA512 (cargo_metadata-0.17.0.crate) = 2228ae25231fe752b1f61787464cb6a7219dc517f54097a800166b4778cbc5d514260dda5f79af51d303064c49a74ba799e20f4bf46c66210ead60253e62c4c7 SHA512 (cargo_metadata-0.18.1.crate) = 43f87d2b84597ec9a27e9fccf06ec5f2630a0147a9c85779622c25493bd61268c266643f8206a17d76a16329af85f0cc563a9af7e17ca77024c0eaf788555f7d

Loading…
Cancel
Save