bump min version of serde

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent 4aafb83b84
commit 947bc49a99
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -12,15 +12,18 @@ Summary: Token De/Serializer for testing De/Serialize implementations
License: MIT or ASL 2.0
URL: https://crates.io/crates/serde_test
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
# Initial patched metadata
# * Bump min version of serde, https://github.com/serde-rs/serde/pull/1283
Patch0: serde_test-1.0.60-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
# [dependencies]
BuildRequires: (crate(serde) >= 1.0.16 with crate(serde) < 2.0.0)
BuildRequires: (crate(serde) >= 1.0.60 with crate(serde) < 2.0.0)
%if %{with check}
# [dev-dependencies]
BuildRequires: ((crate(serde) >= 1.0.16 with crate(serde) < 2.0.0) with crate(serde/rc))
BuildRequires: ((crate(serde) >= 1.0.0 with crate(serde) < 2.0.0) with crate(serde/rc))
BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
%endif

@ -0,0 +1,14 @@
--- serde_test-1.0.60/Cargo.toml 1970-01-01T01:00:00+01:00
+++ serde_test-1.0.60/Cargo.toml 2018-05-26T18:44:15.954368+02:00
@@ -23,9 +23,9 @@
license = "MIT/Apache-2.0"
repository = "https://github.com/serde-rs/serde"
[dependencies.serde]
-version = "1.0.16"
+version = "1.0.60"
[dev-dependencies.serde]
-version = "1.0.16"
+version = "1.0"
features = ["rc"]
[dev-dependencies.serde_derive]
Loading…
Cancel
Save