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 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 @@ @@ -30,7 +30,7 @@
version = "0.1" version = "0.1"

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

Loading…
Cancel
Save