diff --git a/.gitignore b/.gitignore index fe32285..511840a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /bincode-0.9.2.crate /bincode-1.0.0.crate /bincode-1.0.1.crate +/bincode-1.1.1.crate diff --git a/rust-bincode.spec b/rust-bincode.spec index 22538a6..335e8c1 100644 --- a/rust-bincode.spec +++ b/rust-bincode.spec @@ -6,19 +6,19 @@ %global crate bincode Name: rust-%{crate} -Version: 1.0.1 -Release: 4%{?dist} +Version: 1.1.1 +Release: 1%{?dist} Summary: Binary serialization / deserialization strategy that uses Serde License: MIT URL: https://crates.io/crates/bincode -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging +BuildRequires: (crate(autocfg/default) >= 0.1.0 with crate(autocfg/default) < 0.2.0) BuildRequires: (crate(byteorder/default) >= 1.2.0 with crate(byteorder/default) < 2.0.0) -BuildRequires: (crate(byteorder/i128) >= 1.2.0 with crate(byteorder/i128) < 2.0.0) BuildRequires: (crate(serde/default) >= 1.0.63 with crate(serde/default) < 2.0.0) %if %{with check} BuildRequires: (crate(serde_bytes/default) >= 0.10.3 with crate(serde_bytes/default) < 0.11.0) @@ -70,7 +70,7 @@ which use "i128" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build @@ -85,6 +85,9 @@ which use "i128" feature of "%{crate}" crate. %endif %changelog +* Sun Feb 10 2019 Igor Gnatenko - 1.1.1-1 +- Update to 1.1.1 + * Sat Feb 02 2019 Fedora Release Engineering - 1.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index dfc6c5b..c6ee73d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bincode-1.0.1.crate) = 1294b89089b457ce2bc4d9471ae677d6d06e64eaa01948e9db4ab49fc23638ba79e7aa1d6ca3a0df5fb61bd90cadc811df724053a321ca99d16b8ce650abbd59 +SHA512 (bincode-1.1.1.crate) = bbe1a06f02d4c387b195515a4f5c4abf3b700e969f94e3126c6bebbfb6131a7fa4c22fdeafa7649ed7609ea45bf40998fdb8b9260bd749ee29ba59d5718a2ea1 diff --git a/tests/.fmf/version b/tests/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/tests/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/tests/provision.fmf b/tests/provision.fmf new file mode 100644 index 0000000..503a97c --- /dev/null +++ b/tests/provision.fmf @@ -0,0 +1,5 @@ +--- +standard-inventory-qcow2: + qemu: + # `cargo test` usually eats more than 1G. + m: 4G diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..8fb0a1c --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,13 @@ +--- +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + repositories: + - repo: "https://src.fedoraproject.org/tests/rust.git" + dest: rust + tests: + - rust/cargo-test + environment: + pkg: rust-bincode