Relax toml dependency from =0.5.8 to ^0.5.8

epel9
Fabio Valentini 3 years ago
parent 58674a5ab6
commit 063687075e
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -0,0 +1,10 @@
--- below-config-0.5.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ below-config-0.5.0/Cargo.toml 2022-06-01T14:55:49.593658+00:00
@@ -31,6 +31,6 @@
features = ["derive", "rc"]
[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
%global debug_package %{nil}
@ -13,10 +13,13 @@ Summary: Configerations for below
License: ASL 2.0
URL: https://crates.io/crates/below-config
Source: %{crates_source}
# Initial patched metadata
# * relax toml dependency from =0.5.8 to ^0.5.8
Patch0: below-config-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Configerations for below.}
@ -33,8 +36,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}
@ -46,7 +49,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

Loading…
Cancel
Save