Relax toml dependency from =0.5.8 to ^0.5.8

epel9
Fabio Valentini 3 years ago
parent 68216ff52b
commit 048d20a62d
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -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 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 @@ @@ -30,7 +30,7 @@
package = "below-common" package = "below-common"
@ -9,3 +9,11 @@
features = ["event-stream"] features = ["event-stream"]
[dependencies.cursive] [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"

@ -1,4 +1,4 @@
# Generated by rust2rpm 20 # Generated by rust2rpm 21
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
@ -15,11 +15,12 @@ URL: https://crates.io/crates/below-view
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Initial patched metadata
# * bump crossterm from 0.20 to 0.22 # * 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 Patch0: below-view-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
View crate for below.} View crate for below.}
@ -36,8 +37,8 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE %license %{crate_instdir}/LICENSE
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} 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. 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

Loading…
Cancel
Save