diff --git a/below-view-fix-metadata.diff b/below-view-fix-metadata.diff index 9691465..6da5c3b 100644 --- a/below-view-fix-metadata.diff +++ b/below-view-fix-metadata.diff @@ -1,5 +1,5 @@ --- below-view-0.5.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ below-view-0.5.0/Cargo.toml 2022-02-16T21:41:22.968674+00:00 ++++ below-view-0.5.0/Cargo.toml 2022-06-01T14:58:18.971132+00:00 @@ -30,7 +30,7 @@ package = "below-common" @@ -9,3 +9,11 @@ features = ["event-stream"] [dependencies.cursive] +@@ -74,6 +74,6 @@ + package = "below-store" + + [dependencies.toml] +-version = "=0.5.8" ++version = "0.5.8" + [dev-dependencies.tempdir] + version = "0.3" diff --git a/rust-below-view.spec b/rust-below-view.spec index e1c02ab..8cb7f32 100644 --- a/rust-below-view.spec +++ b/rust-below-view.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} @@ -15,11 +15,12 @@ URL: https://crates.io/crates/below-view Source: %{crates_source} # Initial patched metadata # * bump crossterm from 0.20 to 0.22 +# * relax toml dependency from =0.5.8 to ^0.5.8 Patch0: below-view-fix-metadata.diff ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: View crate for below.} @@ -36,8 +37,8 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -49,7 +50,7 @@ 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