diff --git a/lab-fix-metadata.diff b/lab-fix-metadata.diff new file mode 100644 index 0000000..3f50c25 --- /dev/null +++ b/lab-fix-metadata.diff @@ -0,0 +1,11 @@ +--- lab-0.8.1/Cargo.toml 2020-08-14T06:54:54+00:00 ++++ lab-0.8.1/Cargo.toml 2021-06-28T13:40:03.499389+00:00 +@@ -35,7 +35,7 @@ + name = "lab_to_rgb" + harness = false + [dev-dependencies.approx] +-version = "0.3" ++version = "0.5" + + [dev-dependencies.criterion] + version = "0.3" diff --git a/rust-lab.spec b/rust-lab.spec index 99eddc6..0a8943d 100644 --- a/rust-lab.spec +++ b/rust-lab.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 17 %bcond_without check %global debug_package %{nil} @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.8.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Tools for converting RGB colors to the CIE-L*a*b* color space # Upstream license specification: MIT @@ -14,6 +14,9 @@ Summary: Tools for converting RGB colors to the CIE-L*a*b* color space License: MIT URL: https://crates.io/crates/lab Source: %{crates_source} +# Initial patched metadata +# * bump approx from 0.3 to 0.5 +Patch0: lab-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -38,7 +41,7 @@ This package contains library source intended for building other packages which use "%{crate}" crate. %files devel -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -71,6 +74,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Mon Jun 28 2021 Fabio Valentini - 0.8.1-3 +- Bump approx from 0.3 to 0.5. + * Wed Jan 27 2021 Fedora Release Engineering - 0.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild