diff --git a/rmp-fix-metadata.diff b/rmp-fix-metadata.diff index 33cb2fc..a52f98b 100644 --- a/rmp-fix-metadata.diff +++ b/rmp-fix-metadata.diff @@ -1,5 +1,5 @@ ---- rmp-0.8.7/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ rmp-0.8.7/Cargo.toml 2019-03-28T07:17:27.537848+01:00 +--- rmp-0.8.7/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ rmp-0.8.7/Cargo.toml 2019-07-21T08:08:59.044773+00:00 @@ -25,6 +25,6 @@ version = "1" diff --git a/rust-rmp.spec b/rust-rmp.spec index b3b9fbd..85cb51f 100644 --- a/rust-rmp.spec +++ b/rust-rmp.spec @@ -1,14 +1,15 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate rmp Name: rust-%{crate} Version: 0.8.7 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Pure Rust MessagePack serialization implementation +# Upstream license specification: MIT # https://github.com/3Hren/msgpack-rust/issues/192 License: MIT URL: https://crates.io/crates/rmp @@ -19,17 +20,16 @@ Source: %{crates_source} Patch0: rmp-fix-metadata.diff # Patch which fix some tests Patch1: https://github.com/3Hren/msgpack-rust/commit/e96d118f7b915ff65e6c14dcccdecffb664f94ab.patch#/0001-fix-weaken-cursor-restrictions-in-tests.patch + ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(byteorder/default) >= 1.0.0 with crate(byteorder/default) < 2.0.0) -BuildRequires: (crate(num-traits/default) >= 0.2.0 with crate(num-traits/default) < 0.3.0) -%if %{with check} -BuildRequires: (crate(quickcheck/default) >= 0.8.0 with crate(quickcheck/default) < 0.9.0) -%endif -%global _description \ -Pure Rust MessagePack serialization implementation. +%global _description %{expand: +Pure Rust MessagePack serialization implementation.} %description %{_description} @@ -64,6 +64,9 @@ which use "default" feature of "%{crate}" crate. %patch1 -p2 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -76,6 +79,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Jul 21 10:08:59 CEST 2019 Igor Gnatenko - 0.8.7-3 +- Regenerate + * Thu Apr 11 14:36:33 CEST 2019 Igor Gnatenko - 0.8.7-2 - Run tests in infrastructure