Update to version 0.15.2; Fixes RHBZ#1833660

epel9
Fabio Valentini 2 years ago
parent bce15c35df
commit 33cd8da524
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -4,3 +4,4 @@
/cargo_metadata-0.9.1.crate /cargo_metadata-0.9.1.crate
/cargo_metadata-0.10.0.crate /cargo_metadata-0.10.0.crate
/cargo_metadata-0.12.3.crate /cargo_metadata-0.12.3.crate
/cargo_metadata-0.15.2.crate

@ -1,26 +1,19 @@
# Generated by rust2rpm 16 # Generated by rust2rpm 23
# * Tests require internet access %bcond_without check
%bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate cargo_metadata %global crate cargo_metadata
Name: rust-%{crate} Name: rust-cargo_metadata
Version: 0.12.3 Version: 0.15.2
Release: %autorelease Release: %autorelease
Summary: Structured access to the output of `cargo metadata` Summary: Structured access to the output of `cargo metadata`
# Upstream license specification: MIT
License: MIT License: MIT
URL: https://crates.io/crates/cargo_metadata URL: https://crates.io/crates/cargo_metadata
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Structured access to the output of `cargo metadata`.} Structured access to the output of `cargo metadata`.}
@ -33,13 +26,14 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE-MIT %license %{crate_instdir}/LICENSE-MIT
%doc README.md %doc %{crate_instdir}/CHANGELOG.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -47,28 +41,53 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+builder-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+builder-devel %{_description}
This package contains library source intended for building other packages which
use the "builder" feature of the "%{crate}" crate.
%files -n %{name}+builder-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+derive_builder-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+derive_builder-devel %{_description}
This package contains library source intended for building other packages which
use the "derive_builder" feature of the "%{crate}" crate.
%files -n %{name}+derive_builder-devel
%ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires
%cargo_generate_buildrequires %cargo_generate_buildrequires -a
%build %build
%cargo_build %cargo_build -a
%install %install
%cargo_install %cargo_install -a
%if %{with check} %if %{with check}
%check %check
%cargo_test # * skip tests that depend on fixtures which are 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
%endif %endif
%changelog %changelog

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

@ -1 +1 @@
SHA512 (cargo_metadata-0.12.3.crate) = fc67003f014d6b13b12d8a897168665dbafed7516662bce53bff3dec75892a930f602a4ddf9e2be44fdbdb77b4f2641c0adb116be31929142c3d4a2e6cee4e1f SHA512 (cargo_metadata-0.15.2.crate) = f663676ac3e2182d67d1047164eddd24d1006f61f378003abb1d5f53f9dfee672202d33a530cac1bb749955edd142ca78169dc3412d78c8fe98d6121c4303fd3

Loading…
Cancel
Save