Bump cast from 0.2 to 0.3

epel9
Fabio Valentini 2 years ago
parent 43a646fad6
commit 003b3b7a0f
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,5 +1,14 @@
--- criterion-plot-0.4.4/Cargo.toml 1970-01-01T00:00:00+00:00
+++ criterion-plot-0.4.4/Cargo.toml 2021-07-28T09:36:33.729487+00:00
+++ criterion-plot-0.4.4/Cargo.toml 2022-09-29T11:20:20.059987+00:00
@@ -22,7 +22,7 @@
license = "MIT/Apache-2.0"
repository = "https://github.com/bheisler/criterion.rs"
[dependencies.cast]
-version = "0.2"
+version = "0.3"
[dependencies.itertools]
version = "0.10"
@@ -30,7 +30,7 @@
version = "0.1"

@ -1,28 +1,26 @@
# Generated by rust2rpm 18
# Generated by rust2rpm 22
%bcond_without check
%global debug_package %{nil}
%global crate criterion-plot
Name: rust-%{crate}
Name: rust-criterion-plot
Version: 0.4.4
Release: %autorelease
Summary: Criterion's plotting library
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/criterion-plot
Source: %{crates_source}
# Initial patched metadata
# * Update num-complex to 0.3
Patch0: criterion-plot-fix-metadata.diff
# Manually created patch for downstream crate metadata changes
# * bump cast from 0.2 to 0.3
# * bump num-complex from 0.2 to 0.3
Patch: criterion-plot-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Criterion's plotting library.}
@ -35,13 +33,15 @@ BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license LICENSE-APACHE LICENSE-MIT
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CONTRIBUTING.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -49,19 +49,18 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
# remove executable bit from all files ...
find . -type f -executable -exec chmod -x {} +
%cargo_prep
# Remove extraneous executable bits
find . -type f -executable -exec chmod 0644 "{}" +;
%generate_buildrequires
%cargo_generate_buildrequires

Loading…
Cancel
Save